scsi: mac_esp: Avoid type warning from sparse
authorFinn Thain <fthain@telegraphics.com.au>
Fri, 4 Aug 2017 05:43:19 +0000 (01:43 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 10 Aug 2017 23:55:34 +0000 (19:55 -0400)
commitb36c7db977e794230aa337651f510b62ea328afd
tree2f3cdb495a26493fe081367ba65ace99b45935fa
parent5f3342d757d10edc21b148e9e0c01035317572ff
scsi: mac_esp: Avoid type warning from sparse

Avoid the following warning from "make C=1":

  CHECK   drivers/scsi/mac_esp.c
drivers/scsi/mac_esp.c:357:30: warning: incorrect type in initializer (different address spaces)
drivers/scsi/mac_esp.c:357:30:    expected unsigned char [usertype] *fifo
drivers/scsi/mac_esp.c:357:30:    got void [noderef] <asn:2>*

Tested-by: Stan Johnson <userm57@yahoo.com>
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mac_esp.c