diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2008-02-06 01:36:54 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 10:41:03 -0800 |
commit | 582539e5a0480f1e00e3b9ffbe50bd5b2f59a16f (patch) | |
tree | 1b5f40ebbf4680fe62aec25a0a27063fda06e690 /include/linux/compat.h | |
parent | 5e2cb1018a8a583b83d56c80f46507da6f3f2b57 (diff) |
cciss: use upper_32_bits() macro to eliminate warnings
Use upper_32_bits(x) macro to handle shifts that may be >= the width of
the data type.
drivers/block/cciss.c: In function 'do_cciss_request':
drivers/block/cciss.c:2655: warning: right shift count >= width of type
drivers/block/cciss.c:2656: warning: right shift count >= width of type
drivers/block/cciss.c:2657: warning: right shift count >= width of type
drivers/block/cciss.c:2658: warning: right shift count >= width of type
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: <mike.miller@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/compat.h')
0 files changed, 0 insertions, 0 deletions