From 2ea550bdfad1442749e6a1353afda93c8bb7a9ac Mon Sep 17 00:00:00 2001 From: Lidza Louina Date: Mon, 26 Aug 2013 10:53:09 -0400 Subject: [PATCH] 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] *addr got unsigned char volatile * warning: incorrect type in argument 2 (different address spaces) expected void volatile [noderef] *addr got unsigned char volatile * 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed