]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc2671042d9a54773ac92b2b87185b155f04cee7f
tree5a26d650c7e02b235872fbe434b88b797833c44f
parentcdf27b867d0ee60ac701e0cd714d601e354f902a
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