Re: [PATCH -mmotm] 8250_early: fix printk format warnings

From: Randy Dunlap
Date: Thu Jul 08 2010 - 14:46:53 EST


On 07/08/10 11:37, Greg KH wrote:
> On Fri, Jul 02, 2010 at 06:24:37PM -0700, Randy Dunlap wrote:
>> From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
>>
>> Fix printk format warnings in serial-mmio32-support-for-8250_earlyc.patch:
>>
>> drivers/serial/8250_early.c:207: warning: format '%p' expects type 'void *', but argument 3 has type 'long long unsigned int'
>> drivers/serial/8250_early.c:210: warning: format '%p' expects type 'void *', but argument 2 has type 'long long unsigned int'
>>
>> Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
>> Cc: Samium Gromoff <_deepfire@xxxxxxxxxxxxxxxxx>
>> Cc: Greg KH <greg@xxxxxxxxx>
>> ---
>> drivers/serial/8250_early.c | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> --- mmotm-2010-0701-1219.orig/drivers/serial/8250_early.c
>> +++ mmotm-2010-0701-1219/drivers/serial/8250_early.c
>> @@ -202,12 +202,12 @@ static int __init parse_options(struct e
>> }
>>
>> if (mmio || mmio32)
>> - printk(KERN_INFO "Early serial console at MMIO%s 0x%p (options '%s')\n",
>> + printk(KERN_INFO "Early serial console at MMIO%s 0x%llu (options '%s')\n",
>
> Odd, my tree doesn't have this change in it, where is it coming from?

A patch in mmotm from Samium Gromoff.
mmotm patch file name is "serial-mmio32-support-for-8250_earlyc.patch".

--
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
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/