aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorEric Sesterhenn <[email protected]>2006-09-25 16:59:07 -0700
committerJames Bottomley <[email protected]>2006-09-26 11:35:36 -0700
commita2a65a3ecb54ecd1a8f0409f11cb82ae083c6964 (patch)
treecb4cf44eae7dc53a2951aaf32f76c5b93b5280c4 /include/linux/debugobjects.h
parentdcbccbde00b85b4d4a1c206b419e7a3d2ab2b1cd (diff)
[SCSI] Signedness issue in drivers/scsi/ipr.c
gcc 4.1 with some extra warnings show the following: drivers/scsi/ipr.c:6361: warning: comparison of unsigned expression < 0 is always false drivers/scsi/ipr.c:6385: warning: comparison of unsigned expression < 0 is always false drivers/scsi/ipr.c:6415: warning: comparison of unsigned expression < 0 is always false The problem is that rc is of the type u32, which can never be smaller than zero, therefore all three error handling checks get useless. This patch changes it to a normal int, because all usages / all functions it get used with expect an int. Signed-off-by: Eric Sesterhenn <[email protected]> Acked-by: Brian King <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions