summaryrefslogtreecommitdiffstats
path: root/drivers/fc4
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-10-14 20:35:20 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-14 21:41:51 +0200
commit64b33619a30ff18c1535ee779572ecffcc4711d2 (patch)
tree742db1890a5671d105eba372b78c7d383607ffe6 /drivers/fc4
parentfrv: missing casts in cmpxchg() (diff)
downloadlinux-64b33619a30ff18c1535ee779572ecffcc4711d2.tar.xz
linux-64b33619a30ff18c1535ee779572ecffcc4711d2.zip
long vs. unsigned long - low-hanging fruits in drivers
deal with signedness of the stuff passed to set_bit() et.al. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/fc4')
-rw-r--r--drivers/fc4/fcp_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/fc4/fcp_impl.h b/drivers/fc4/fcp_impl.h
index 1ac61330592e..506338a461ba 100644
--- a/drivers/fc4/fcp_impl.h
+++ b/drivers/fc4/fcp_impl.h
@@ -91,7 +91,7 @@ typedef struct _fc_channel {
fcp_cmd *scsi_cmd_pool;
char *scsi_rsp_pool;
dma_addr_t dma_scsi_cmd, dma_scsi_rsp;
- long *scsi_bitmap;
+ unsigned long *scsi_bitmap;
long scsi_bitmap_end;
int scsi_free;
int (*encode_addr)(struct scsi_cmnd *, u16 *, struct _fc_channel *, fcp_cmnd *);