aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2012-09-19 17:06:47 -0700
committerGreg Kroah-Hartman <[email protected]>2012-09-21 09:26:20 -0700
commit5743aaac2938eb841e14879b0f73afb7fca6f0ad (patch)
treed01c088c049535280da0d466e03e24bb86652c5d /net/unix/af_unix.c
parent1f5cc359158772304a92ee9c5682ca83416d2ba8 (diff)
staging: comedi: 8253: mmio address is a void __iomem *
The inline functions for accessing a memory mapped 8254 device are using a void * for the 'base_address' of the device. Memory mapped io using the read/write functions should be using a void __iomem * for the address. Fixing these exposed a couple other void * / void __iomem * issues in the ni_labpc driver. This fixes a number of sparse warnings like: warning: incorrect type in argument 2 (different address spaces) expected void volatile [noderef] <asn:2>*addr got void * warning: incorrect type in argument 1 (different address spaces) expected void const volatile [noderef] <asn:2>*addr got void *<noident> Signed-off-by: H Hartley Sweeten <[email protected]> Cc: Ian Abbott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions