Messages in this thread | | | Date | Tue, 22 Jul 2014 15:01:51 -0700 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH 1/5] staging: vt6655: change type of PortOffset to void __iomem * |
| |
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
| |