qla2xxx: Fix crash due to wrong casting of reg for ISP27XX.
authorHimanshu Madhani <himanshu.madhani@qlogic.com>
Thu, 9 Apr 2015 18:59:56 +0000 (14:59 -0400)
committerJames Bottomley <JBottomley@Odin.com>
Fri, 10 Apr 2015 15:40:25 +0000 (08:40 -0700)
commit6cbfb1ebbbcdc49eac2f49e146452507b05fcae5
tree31cf607341eb5be882476b9d04001caa6ccdedde
parentdd83cb2c168f32a8d2ad0acaacb56b2a4078df3a
qla2xxx: Fix crash due to wrong casting of reg for ISP27XX.

[Bart: additional sparse warning caused by this patch]
[jejb: fix sparse warning]
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Cc: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/qla2xxx/qla_tmpl.c