Re: RFC: script to convert vsprintf uses of %pf to %ps and %pF to %pS

2018-11-30 Thread Petr Mladek
On Sun 2018-11-25 01:13:51, Joe Perches wrote: > commit 04b8eb7a4ccd ("symbol lookup: introduce > dereference_symbol_descriptor()}" > > deprecated vsprintf extension %pf and %pF. > > so a script to convert all the %pf uses to %ps and %pF uses to %pS > could be useful. > > There are a few files

Re: RFC: script to convert vsprintf uses of %pf to %ps and %pF to %pS

2018-11-26 Thread Joe Perches
On Mon, 2018-11-26 at 15:08 +0900, Sergey Senozhatsky wrote: > > There are approximately these total uses of the symbolic > > lookup vsprintf extensions %p[SsFf]: > > > > $ git grep '".*[^%]%p[SsFf]' | \ > > grep -oh '%p[SsFf]' | sort | uniq -c | sort -rn > > 231 %pS > > 65 %ps > >

Re: RFC: script to convert vsprintf uses of %pf to %ps and %pF to %pS

2018-11-25 Thread Sergey Senozhatsky
And I forgot to actually Cc Petr and Steven... Top-posting. --- Hi, Cc-ing Petr and Steven On (11/25/18 01:13), Joe Perches wrote: > commit 04b8eb7a4ccd ("symbol lookup: introduce > dereference_symbol_descriptor()}" > > deprecated vsprintf extension %pf and %pF. > > There are approximate

Re: RFC: script to convert vsprintf uses of %pf to %ps and %pF to %pS

2018-11-25 Thread Sergey Senozhatsky
Hi, Cc-ing Petr and Steven On (11/25/18 01:13), Joe Perches wrote: > commit 04b8eb7a4ccd ("symbol lookup: introduce > dereference_symbol_descriptor()}" > > deprecated vsprintf extension %pf and %pF. > > There are approximately these total uses of the symbolic > lookup vsprintf extensions %p[Ss

RFC: script to convert vsprintf uses of %pf to %ps and %pF to %pS

2018-11-25 Thread Joe Perches
commit 04b8eb7a4ccd ("symbol lookup: introduce dereference_symbol_descriptor()}" deprecated vsprintf extension %pf and %pF. There are approximately these total uses of the symbolic lookup vsprintf extensions %p[SsFf]: $ git grep '".*[^%]%p[SsFf]' | \ grep -oh '%p[SsFf]' | sort | uniq -c | sort