android_kernel_xiaomi_sm8350/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
Makefile
scsi_dh_alua.c
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