[PATCH] powerpc: more printing warning fixes for the l64 to ll64 conversion

Stephen Rothwell sfr at canb.auug.org.au
Wed Jan 21 17:17:05 EST 2009


On Wed, 21 Jan 2009 12:13:24 -0600 Scott Wood <scottwood at freescale.com> wrote:
>
> On Wed, Jan 21, 2009 at 11:16:51AM +1100, Stephen Rothwell wrote:
> > -	printk(KERN_INFO "eLBC NAND device at 0x%zx, bank %d\n",
> > +	printk(KERN_INFO "eLBC NAND device at 0x%llx, bank %d\n",
> >  	       res.start, priv->bank);
> 
> This won't work if resource_size_t is 32-bit; it needs a cast.

Right.  Rats!  I'll fix and repost.

> ACK the other two fsl_elbc fixes.

Thanks.

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20090122/4a2de98c/attachment.bin 


More information about the linux-mtd mailing list