diff options
author | Eric Sesterhenn <snakebyte@gmx.de> | 2006-09-26 01:59:08 +0200 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-09-26 20:35:28 +0200 |
commit | 45223fd77c2b39d05dd7f1aaabf614abb1770bbe (patch) | |
tree | dd3f866f1d5c206a29d4aea31e687a2fe9bb1fd2 /drivers/scsi/dc395x.c | |
parent | [SCSI] scsi: included header cleanup (diff) | |
download | linux-45223fd77c2b39d05dd7f1aaabf614abb1770bbe.tar.xz linux-45223fd77c2b39d05dd7f1aaabf614abb1770bbe.zip |
[SCSI] Signdness issue in drivers/scsi/osst.c
another signdness warning from gcc 4.1
drivers/scsi/osst.c:5154: warning: comparison of unsigned expression < 0 is always false
The problem is that blk is defined as unsigned, but all usages of it are
normal int cases. osst_get_frame_position() and osst_get_sector() return ints
and can return negative values. If blk stays an unsigned int, the error check
is useless.
Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/dc395x.c')
0 files changed, 0 insertions, 0 deletions