Commit aa7677d4 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds
Browse files

[PATCH] NULL noise removal: advansys


Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 48343273
...@@ -3951,7 +3951,7 @@ typedef struct _PCI_CONFIG_SPACE_ ...@@ -3951,7 +3951,7 @@ typedef struct _PCI_CONFIG_SPACE_
   
/* Number of boards detected in system. */ /* Number of boards detected in system. */
STATIC int asc_board_count = 0; STATIC int asc_board_count = 0;
STATIC struct Scsi_Host *asc_host[ASC_NUM_BOARD_SUPPORTED] = { 0 }; STATIC struct Scsi_Host *asc_host[ASC_NUM_BOARD_SUPPORTED] = { NULL };
   
/* Overrun buffer used by all narrow boards. */ /* Overrun buffer used by all narrow boards. */
STATIC uchar overrun_buf[ASC_OVERRUN_BSIZE] = { 0 }; STATIC uchar overrun_buf[ASC_OVERRUN_BSIZE] = { 0 };
...@@ -6621,7 +6621,7 @@ adv_build_req(asc_board_t *boardp, struct scsi_cmnd *scp, ...@@ -6621,7 +6621,7 @@ adv_build_req(asc_board_t *boardp, struct scsi_cmnd *scp,
dma_map_single(dev, scp->request_buffer, dma_map_single(dev, scp->request_buffer,
scp->request_bufflen, scp->sc_data_direction); scp->request_bufflen, scp->sc_data_direction);
} else { } else {
scsiqp->vdata_addr = 0; scsiqp->vdata_addr = NULL;
scp->SCp.dma_handle = 0; scp->SCp.dma_handle = 0;
} }
scsiqp->data_addr = cpu_to_le32(scp->SCp.dma_handle); scsiqp->data_addr = cpu_to_le32(scp->SCp.dma_handle);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment