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

Scott Wood scottwood at freescale.com
Thu Jan 22 05:13:24 EST 2009


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.

ACK the other two fsl_elbc fixes.

-Scott



More information about the Linuxppc-dev mailing list