summaryrefslogtreecommitdiff
path: root/include/linux/dcache.h
diff options
context:
space:
mode:
authorLidza Louina <lidza.louina@gmail.com>2013-08-26 14:53:09 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-26 23:26:55 (GMT)
commit2ea550bdfad1442749e6a1353afda93c8bb7a9ac (patch)
tree17fe575c9e859658a76d054c2ce9c4fe6429218e /include/linux/dcache.h
parentb1f56acaca2efefcdf4b3f5962a99b27700c6e0a (diff)
downloadlinux-fsl-qoriq-2ea550bdfad1442749e6a1353afda93c8bb7a9ac.tar.xz
staging: dgnc: cls_uart_struct: adds marker and changes vars' types for sparse
This patch removes these sparse warnings found in the cls.c file: 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 cls_uart_struct variable. The change made to the driver.h file adds the marker to the cls_uart_struct and the changes in cls.h changes its variables' types. Signed-off-by: Lidza Louina <lidza.louina@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/dcache.h')
0 files changed, 0 insertions, 0 deletions