qla2xxx: Fix sparse annotations
authorBart Van Assche <bart.vanassche@sandisk.com>
Thu, 9 Jul 2015 14:24:50 +0000 (07:24 -0700)
committerJames Bottomley <JBottomley@Odin.com>
Wed, 26 Aug 2015 17:42:25 +0000 (10:42 -0700)
commit8dfa4b5a9b44714d7710f9f452f65763629f10df
tree5a26d650c7e02b235872fbe434b88b797833c44f
parent118e2ef9df2297147706d21d2a1dfeefea878c5a
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>
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_iocb.c
drivers/scsi/qla2xxx/qla_mbx.c
drivers/scsi/qla2xxx/qla_mr.c
drivers/scsi/qla2xxx/qla_nx.c
drivers/scsi/qla2xxx/qla_tmpl.c