lkml.org 
[lkml]   [2015]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 1/1] Remove unneeded "0x" when %pa formatting is used.
From
> First of all, please, split per subsystem / driver. Here seems one
> file — one patch.

Sure, will do.

>> if (size > max_size) {
>> dev_err(pcie->dev,
>> - "res size 0x%pap exceeds max supported size 0x%llx\n",
>> + "res size %pap exceeds max supported size 0x%llx\n",
>
> %pa also works.
>

Yes, but AFAIK %pap and %pa are identical (see address_val() in lib/vsprintf.c),
so I'm not sure I understand your comment.

Did you mean that %pa should be used instead of %pap?
I see that %pa is used much more often than %pap, but I didn't find any
evidence that %pap is deprecated.

Thanks,
Dmitry


\
 
 \ /
  Last update: 2015-11-30 21:41    [W:0.049 / U:0.748 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site