Re: [PATCH 1/5] staging: vt6655: change type of PortOffset to void __iomem *

From: Greg Kroah-Hartman
Date: Tue Jul 22 2014 - 18:01:56 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/