diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-09-23 07:58:59 -0700 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-10-03 12:11:51 -0500 |
commit | 7ae628d9d21a088b4a2d26a9d39c29c0acd2d03b (patch) | |
tree | 18df26e44530e372af91a4353b754816195bc74d /drivers/s390/scsi/zfcp_qdio.c | |
parent | 650849d71ca05d55a1553fe42fb21af9dce5612b (diff) |
[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>
Diffstat (limited to 'drivers/s390/scsi/zfcp_qdio.c')
0 files changed, 0 insertions, 0 deletions