summaryrefslogtreecommitdiff
path: root/include/linux/kernel_stat.h
diff options
context:
space:
mode:
authorLidza Louina <lidza.louina@gmail.com>2013-08-26 16:49:31 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-26 23:26:55 (GMT)
commit7915dea707820724ad5d5117e9e07ccccf712dd6 (patch)
tree9e8e8b1b16ed9e3c9b1f46177989c43cc5cd4ddf /include/linux/kernel_stat.h
parent2587771a61bdf89a45cf54ddbed5458deaaddf26 (diff)
downloadlinux-fsl-qoriq-7915dea707820724ad5d5117e9e07ccccf712dd6.tar.xz
staging: dgnc: driver.h: changes a struct board_t var's type and marker for sparse
This patch changes the board_t->re_map_membase variable type and marker. It removes these warnings found in the neo.c, driver.c and cls.c files: warning: incorrect type in argument 1 (different address spaces) expected void const volatile [noderef] <asn:2>*addr got unsigned char volatile *<noident> warning: incorrect type in argument 2 (different address spaces) expected void volatile [noderef] <asn:2>*addr got unsigned char volatile *<noident> The variables passed to readb and writeb need to be of type u8 with a __iomem marker. These warnings were popping up everytime the readb and writeb functions were called with a board_t->re_map_membase variable. The change made to the driver.h file adds the marker and changes the variable type. Signed-off-by: Lidza Louina <lidza.louina@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/kernel_stat.h')
0 files changed, 0 insertions, 0 deletions