usb: dwc3: Make sparse a bit happier
authorVincent Pelletier <plr.vincent@gmail.com>
Fri, 1 Dec 2017 00:16:31 +0000 (00:16 +0000)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 11 Dec 2017 10:36:49 +0000 (12:36 +0200)
commit204ec1af6257a52fb80f43317f949b345040f9d1
treeae6131d58c769886abe266d65719f107bd186fef
parentac3865557b274aa3984982c383b8cc66bbb42053
usb: dwc3: Make sparse a bit happier

Fixes the following warnings:
drivers/usb/dwc3/io.h:43:31: warning: incorrect type in argument 1 (different address spaces)
drivers/usb/dwc3/io.h:43:31:    expected void *base
drivers/usb/dwc3/io.h:43:31:    got void [noderef] <asn:2>*
drivers/usb/dwc3/io.h:62:32: warning: incorrect type in argument 1 (different address spaces)
drivers/usb/dwc3/io.h:62:32:    expected void *base
drivers/usb/dwc3/io.h:62:32:    got void [noderef] <asn:2>*

This fixes the noisiest ones as they get emitted multiple times.
A few warnings remain, for which the proper fix is less clear.

No behaviour change is expected.

Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/trace.h