diff options
| author | Jiri Slaby <[email protected]> | 2016-10-14 11:23:09 +0200 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2016-11-17 08:45:32 +0200 |
| commit | 6f17581788206444cbbcdbc107498f85e9765e3d (patch) | |
| tree | 3e9f2dc5113d10748cddbbaebaf57261be998826 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | e1c122d55f9ec5608ca98a9a846fd39cdf3ed7d7 (diff) | |
p54: memset(0) whole array
gcc 7 complains:
drivers/net/wireless/intersil/p54/fwio.c: In function 'p54_scan':
drivers/net/wireless/intersil/p54/fwio.c:491:4: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
Fix that by passing the correct size to memset.
Signed-off-by: Jiri Slaby <[email protected]>
Cc: Christian Lamparter <[email protected]>
Cc: Kalle Valo <[email protected]>
Cc: [email protected]
Cc: [email protected]
Acked-by: Christian Lamparter <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions