diff options
author | Jaswinder Singh Rajput <jaswinder@kernel.org> | 2009-06-20 09:59:21 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-06-21 18:58:11 +0200 |
commit | 24add1c4326ce5ca22e7af8b84bb113cd48efac9 (patch) | |
tree | 11869f940027d928d514865667e90f2a9e956f65 /kernel/kfifo.c | |
parent | fc_transport: Selective return value from BSG timeout function (diff) | |
download | linux-24add1c4326ce5ca22e7af8b84bb113cd48efac9.tar.xz linux-24add1c4326ce5ca22e7af8b84bb113cd48efac9.zip |
scsi_transport_iscsi: return -EOVERFLOW for Too many iscsi targets
setting err as -EOVERFLOW for Too many iscsi targets.
Also fixes a spurious compiler warning for gcc 4.3.3 and gcc 4.4 :
CC drivers/scsi/scsi_transport_iscsi.o
drivers/scsi/scsi_transport_iscsi.c: In function ‘iscsi_add_session’:
drivers/scsi/scsi_transport_iscsi.c:678: warning: ‘err’ may be used uninitialized in this function
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Acked-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'kernel/kfifo.c')
0 files changed, 0 insertions, 0 deletions