From: Lidza Louina Date: Mon, 26 Aug 2013 17:05:49 +0000 (-0400) Subject: staging: dgnc: cls.c: changes var in cls_vpd function for sparse X-Git-Tag: v3.12-rc1~183^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68b146e8944ae3cfc64feb7f9a12cc6190562758;p=pandora-kernel.git staging: dgnc: cls.c: changes var in cls_vpd function for sparse This patch changes cls_vpd function's re_map_vpdbase variable type and marker. It removes these warnings found in cls.c: warning: incorrect type in assignment (different address spaces) expected unsigned char [usertype] *re_map_vpdbase got void [noderef] * warning: incorrect type in argument 1 (different address spaces) expected void const volatile [noderef] *addr got unsigned char [usertype] * warning: incorrect type in argument 1 (different address spaces) expected void volatile [noderef] *addr got unsigned char [usertype] *re_map_vpdbase The variables passed to readb needs to be of type u8 with a __iomem marker. re_map_vpdbase is passed into readb in the code. Signed-off-by: Lidza Louina Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed