qla2xxx: Fix sparse annotations
This patch removes 21 casts between an __iomem pointer type and another data type but also introduces five new casts (see also the casts with "__force"). Although this patch does not change any functionality, IMHO the code with __force casts needs further review. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Acked-by: Himanshu Madhani <himanshu.madhani@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Odin.com>
This commit is contained in:
committed by
James Bottomley
parent
118e2ef9df
commit
8dfa4b5a9b
@@ -3418,9 +3418,9 @@ struct qla_hw_data {
|
||||
mempool_t *ctx_mempool;
|
||||
#define FCP_CMND_DMA_POOL_SIZE 512
|
||||
|
||||
unsigned long nx_pcibase; /* Base I/O address */
|
||||
uint8_t *nxdb_rd_ptr; /* Doorbell read pointer */
|
||||
unsigned long nxdb_wr_ptr; /* Door bell write pointer */
|
||||
void __iomem *nx_pcibase; /* Base I/O address */
|
||||
void __iomem *nxdb_rd_ptr; /* Doorbell read pointer */
|
||||
void __iomem *nxdb_wr_ptr; /* Door bell write pointer */
|
||||
|
||||
uint32_t crb_win;
|
||||
uint32_t curr_window;
|
||||
|
||||
Reference in New Issue
Block a user