diff options
author | 2018-03-26 21:41:30 +0200 | |
---|---|---|
committer | 2018-03-28 13:39:21 +0200 | |
commit | 291b93ca2c50c8d4b712b92da30182f00193c174 (patch) | |
tree | 5016decbdc092a0592445ac58c9813aa52c968d8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging: wilc1000: remove unused return variable (diff) | |
download | linux-dev-291b93ca2c50c8d4b712b92da30182f00193c174.tar.xz linux-dev-291b93ca2c50c8d4b712b92da30182f00193c174.zip |
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 <colin.king@canonical.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions