[PATCH 1/5] staging: vt6655: change type of PortOffset to void __iomem *
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Tue Jul 22 22:01:51 UTC 2014
On Tue, Jul 22, 2014 at 10:08:26PM +0200, Guillaume Clement wrote:
> PortOffset was an unsigned long, but used as an pointer to io
> memory. Sometimes it was not properly cast before use, which caused
> many warning by sparse.
>
> By updating its type to void __iomem *, and reflecting the changes
> where it is needed, this removes most of those warnings.
Nice job, that's the correct way to fix this.
greg k-h
More information about the devel
mailing list