diff options
| author | Fengguang Wu <[email protected]> | 2018-03-26 21:41:30 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-03-28 13:39:21 +0200 |
| commit | 291b93ca2c50c8d4b712b92da30182f00193c174 (patch) | |
| tree | 5016decbdc092a0592445ac58c9813aa52c968d8 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 2415fa8f941f71dda5a9a47e5e3cf77a6584516b (diff) | |
staging: wilc1000: fix memdup.cocci warnings
drivers/staging/wilc1000/host_interface.c:946:32-39: WARNING opportunity for kmemdup
drivers/staging/wilc1000/host_interface.c:970:30-37: WARNING opportunity for kmemdup
Use kmemdup rather than duplicating its implementation
Generated by: scripts/coccinelle/api/memdup.cocci
Fixes: aaea2164bdff ("staging: wilc1000: check for kmalloc allocation failures")
CC: Colin Ian King <[email protected]>
Signed-off-by: Fengguang Wu <[email protected]>
Signed-off-by: Julia Lawall <[email protected]>
Reviewed-by: Claudiu Beznea <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions