linux/drivers/staging/dgnc
Lidza Louina 2587771a61 staging: dgnc: neo_uart_struct: adds marker and changes vars' types for sparse
This patch fixes these warnings found in the neo.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 neo_uart_struct variable.

The change made to the driver.h file adds the marker
to the neo_uart_struct and the changes in neo.h
changes the variables' types.

Signed-off-by: Lidza Louina <lidza.louina@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-08-26 16:26:55 -07:00
..
dgnc_cls.c staging: dgnc: removes CVS code from files 2013-08-21 10:48:40 -07:00
dgnc_cls.h staging: dgnc: cls_uart_struct: adds marker and changes vars' types for sparse 2013-08-26 16:26:55 -07:00
dgnc_driver.c staging: dgnc: driver.c: removes dgnc_mbuf function 2013-08-22 12:35:26 -07:00
dgnc_driver.h staging: dgnc: neo_uart_struct: adds marker and changes vars' types for sparse 2013-08-26 16:26:55 -07:00
dgnc_kcompat.h staging: dgnc: kcompat.h: removes trailing whitespace 2013-08-21 09:43:53 -07:00
dgnc_mgmt.c staging: dgnc: removes CVS code from files 2013-08-21 10:48:40 -07:00
dgnc_mgmt.h staging: dgnc: removes ifdef HAVE_UNLOCKED_IOCTL conditionals 2013-08-20 16:28:40 -07:00
dgnc_neo.c staging: dgnc: neo.c: fixes code indent error 2013-08-21 10:49:47 -07:00
dgnc_neo.h staging: dgnc: neo_uart_struct: adds marker and changes vars' types for sparse 2013-08-26 16:26:55 -07:00
dgnc_pci.h staging: dgnc: removes CVS code from files 2013-08-21 10:48:40 -07:00
dgnc_sysfs.c staging: dgnc: sysfs.c: fixes code indent error 2013-08-21 10:49:47 -07:00
dgnc_sysfs.h staging: dgnc: sysfs.h: removes trailing whitespace 2013-08-21 09:43:54 -07:00
dgnc_trace.c staging: dgnc: removes CVS code from files 2013-08-21 10:48:40 -07:00
dgnc_trace.h staging: dgnc: removes CVS code from files 2013-08-21 10:48:40 -07:00
dgnc_tty.c staging: dgnc: tty.c: fixes code indent error 2013-08-21 10:49:47 -07:00
dgnc_tty.h staging: dgnc: add dgnc digi driver 2013-08-02 05:42:45 +08:00
dgnc_types.h staging: dgnc: add dgnc digi driver 2013-08-02 05:42:45 +08:00
digi.h staging: dgnc: fixes struct declaration 2013-08-21 10:48:40 -07:00
dpacompat.h staging: dgnc: dpacompat.h: removes trailing whitespace 2013-08-21 09:44:05 -07:00
Kconfig staging: dgnc: Kconfig: add dependency PCI for it 2013-08-26 06:29:09 -07:00
Makefile staging: dgnc: removes proc code 2013-08-15 10:14:29 -07:00