summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLuis de Bethencourt <luisbg@osg.samsung.com>2015-10-26 05:52:50 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-27 14:26:23 +0900
commit9081987d4f1acc2af9f578e6ca8b10748b438be6 (patch)
treedfcaffeb617ec3d4f241d8d5600eb8f6217b29ad /tools/perf/scripts/python
parentdf8b4830a0ac547a18cdf701ca9a04b4c4f3b05b (diff)
staging: wilc1000: return -ENOMEM when kmalloc failed
The driver is using -1 instead of the -ENOMEM defined macro to specify that a buffer allocation failed. Fixes smatch warning and similars: drivers/staging/wilc1000/host_interface.c:1757 Handle_Key() warn: returning -1 instead of -ENOMEM is sloppy Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions