qla2xxx: Fix crash due to wrong casting of reg for ISP27XX.
authorHimanshu Madhani <[email protected]>
Thu, 9 Apr 2015 18:59:56 +0000 (14:59 -0400)
committerJames Bottomley <[email protected]>
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 <[email protected]>
Signed-off-by: Himanshu Madhani <[email protected]>
Cc: Bart Van Assche <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
drivers/scsi/qla2xxx/qla_tmpl.c