aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2016-01-30 17:36:03 +0300
committerMartin K. Petersen <[email protected]>2016-02-23 21:27:02 -0500
commitaee5618dfeeb6f3a64005abe4056c1b256645f8a (patch)
tree6496a89066e5572d372b9dbd46d3f153cf1307cd /tools/perf/scripts/python/net_dropmonitor.py
parent546e559c79b1a8d27c23262907a00fc209e392a0 (diff)
bfa: use strncpy() instead of memcpy()
BFA_MFG_NAME is "QLogic" which is only 7 bytes, but we are copying 8 bytes. It's harmless because the badding byte is likely zero but it makes static checkers complain. Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Anil Gurumurthy <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions