https://github.com/torvalds/linux
Revision 82a819e8fb5f36c2a0e14b92bc820225c484a387 authored by Luis de Bethencourt on 19 October 2015, 20:18:24 UTC, committed by Nicholas Bellinger on 29 November 2015, 03:32:59 UTC
Smatch complains about returning hard coded error codes, silence this
warning.

drivers/target/iscsi/iscsi_target_parameters.c:211
   iscsi_create_default_params() warn: returning -1 instead of -ENOMEM is sloppy

Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
1 parent 6ba4bd2
History
Tip revision: 82a819e8fb5f36c2a0e14b92bc820225c484a387 authored by Luis de Bethencourt on 19 October 2015, 20:18:24 UTC
iscsi-target: return -ENOMEM instead of -1 in case of failed kmalloc()
Tip revision: 82a819e
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 5.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.9 KB
Kbuild -rw-r--r-- 2.6 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 328.3 KB
Makefile -rw-r--r-- 53.5 KB
README -rw-r--r-- 18.2 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top