diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2006-10-10 17:44:57 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-10 18:37:21 -0400 |
commit | aa7677d40072a97a861390f0ed1a8c25ce312201 (patch) | |
tree | 1fde4cf2d870d3628c032d6b0671fc6595bc7d82 | |
parent | 48343273e846d2612b7977f2503fd97503996fa0 (diff) |
[PATCH] NULL noise removal: advansys
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | drivers/scsi/advansys.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/advansys.c b/drivers/scsi/advansys.c index 587eac920790..2b344356a29e 100644 --- a/drivers/scsi/advansys.c +++ b/drivers/scsi/advansys.c | |||
@@ -3951,7 +3951,7 @@ typedef struct _PCI_CONFIG_SPACE_ | |||
3951 | 3951 | ||
3952 | /* Number of boards detected in system. */ | 3952 | /* Number of boards detected in system. */ |
3953 | STATIC int asc_board_count = 0; | 3953 | STATIC int asc_board_count = 0; |
3954 | STATIC struct Scsi_Host *asc_host[ASC_NUM_BOARD_SUPPORTED] = { 0 }; | 3954 | STATIC struct Scsi_Host *asc_host[ASC_NUM_BOARD_SUPPORTED] = { NULL }; |
3955 | 3955 | ||
3956 | /* Overrun buffer used by all narrow boards. */ | 3956 | /* Overrun buffer used by all narrow boards. */ |
3957 | STATIC uchar overrun_buf[ASC_OVERRUN_BSIZE] = { 0 }; | 3957 | STATIC uchar overrun_buf[ASC_OVERRUN_BSIZE] = { 0 }; |
@@ -6621,7 +6621,7 @@ adv_build_req(asc_board_t *boardp, struct scsi_cmnd *scp, | |||
6621 | dma_map_single(dev, scp->request_buffer, | 6621 | dma_map_single(dev, scp->request_buffer, |
6622 | scp->request_bufflen, scp->sc_data_direction); | 6622 | scp->request_bufflen, scp->sc_data_direction); |
6623 | } else { | 6623 | } else { |
6624 | scsiqp->vdata_addr = 0; | 6624 | scsiqp->vdata_addr = NULL; |
6625 | scp->SCp.dma_handle = 0; | 6625 | scp->SCp.dma_handle = 0; |
6626 | } | 6626 | } |
6627 | scsiqp->data_addr = cpu_to_le32(scp->SCp.dma_handle); | 6627 | scsiqp->data_addr = cpu_to_le32(scp->SCp.dma_handle); |