Re: [PATCH] printk-formats.txt: Add examples for %pS and %pF

From: Petr Mladek
Date: Wed Aug 23 2017 - 10:48:32 EST


On Tue 2017-08-15 21:58:33, Helge Deller wrote:
> On 15.08.2017 13:36, Petr Mladek wrote:
> > Here is the updated patch with my proposed changes.
> > Feel free to update it:
>
> Much better!
> Thanks a lot.
>
> Maybe we should mention usage of __func__ with '%s' (see other thread).
>
> And _RET_IP_ is worth mentioning beside __builtin_return_address(0) too,
> because it's used quite often wrongly.

Yup, it seems that all this causes confusion. I did not find a good
way to explain this in the text. I think that we need the examples
after all.

Here is an updated version: