aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTobin C. Harding <[email protected]>2017-03-14 09:54:08 +1100
committerGreg Kroah-Hartman <[email protected]>2017-03-14 08:08:15 +0800
commitf0b7d3a67bce75bc1e5910e30c3890ae01e3be04 (patch)
tree08f851960cb3b3b8bfed27b09ec65016ab189492 /tools/perf/scripts/python
parentad1e187f41a6dc008e5057805dc713551108799a (diff)
staging: ks7010: fix checkpatch memset warning
Checkpatch emits WARNING: single byte memset is suspicious. Swapped 2nd/3rd argument? Call site in question is correct but is an unusual use of memset() to zero a single byte. The same can be achieved by assigning 0 directly to the memory location. Dereference pointer and assign 0 to that memory location. Use '\0' to make explicit that it is a char pointer. Signed-off-by: Tobin C. Harding <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions