linux/drivers/scsi/device_handler
James Bottomley 7ae628d9d2 [SCSI] scsi_dh: suppress comparison warning
On Mon, 2008-09-22 at 14:56 -0700, akpm@linux-foundation.org wrote:
> From: Andrew Morton <akpm@linux-foundation.org>
>
> s390:
>
> drivers/scsi/device_handler/scsi_dh_emc.c: In function 'parse_sp_info_reply':
> drivers/scsi/device_handler/scsi_dh_emc.c:179: warning: comparison is always false due to limited range of data type
>
> because chars are unsigned, I assume.

Fix by making csdev->buffer explicitly an unsigned char and dropping
the < 0 test.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2008-10-03 12:11:51 -05:00
..
Kconfig [SCSI] scsi_dh: add generic SPC-3 alua handler 2008-07-26 15:14:52 -04:00
Makefile [SCSI] scsi_dh: add generic SPC-3 alua handler 2008-07-26 15:14:52 -04:00
scsi_dh_alua.c [SCSI] scsi_dh: make check_sense return ADD_TO_MLQUEUE 2008-08-29 09:13:51 -05:00
scsi_dh_emc.c [SCSI] scsi_dh: suppress comparison warning 2008-10-03 12:11:51 -05:00
scsi_dh_hp_sw.c [SCSI] scsi_dh: no need to initialize rq->cmd with blk_get_request 2008-10-03 11:46:14 -05:00
scsi_dh_rdac.c [SCSI] scsi_dh: add Dell product information into rdac device handler 2008-10-03 12:11:51 -05:00
scsi_dh.c [SCSI] scsi_dh: create lookup cache 2008-07-26 15:14:54 -04:00