[PATCH 1/2] mtd: fix wrong usage of ioremap_nocache() in uclinux.c map driver

Artem Bityutskiy dedekind1 at gmail.com
Mon May 14 09:03:03 EDT 2012


On Mon, 2012-05-14 at 22:58 +1000, Greg Ungerer wrote:
> > drivers/mtd/maps/uclinux.c:27:17: warning: symbol 'uclinux_ram_map' was not declared. Should it be static? [sparse]
> > drivers/mtd/maps/uclinux.c:49:15: warning: incorrect type in assignment (different address spaces) [sparse]
> > drivers/mtd/maps/uclinux.c:49:15:    expected void *<noident>  [sparse]
> > drivers/mtd/maps/uclinux.c:49:15:    got void [noderef]<asn:2>* [sparse]
> > drivers/mtd/maps/uclinux.c:71:20: warning: incorrect type in assignment (different address spaces) [sparse]
> > drivers/mtd/maps/uclinux.c:71:20:    expected void [noderef]<asn:2>*virt [sparse]
> > drivers/mtd/maps/uclinux.c:71:20:    got void * [sparse]
> > drivers/mtd/maps/uclinux.c:73:27: warning: Using plain integer as NULL pointer [sparse]
> > drivers/mtd/maps/uclinux.c:106:40: warning: Using plain integer as NULL pointer [sparse]
> 
> Sure thing, I can clean all those up. Are you happy to take a single
> cleanup patch on top of the ioremap_nocache fix patch?

Yes, thanks!

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120514/1c1e0b97/attachment.sig>


More information about the linux-mtd mailing list