Re: [PATCH] printk-formats.txt: remove unimplemented %pT
From: Andy Shevchenko
Date: Sat Dec 12 2015 - 18:52:51 EST
On Sat, Dec 5, 2015 at 9:02 PM, Rasmus Villemoes
<linux@xxxxxxxxxxxxxxxxxx> wrote:
> %pT for task->comm has been proposed (several times, I think), but is
> not actually implemented.
Has it been in linux-next for a while at some point?
In any case currently indeed it's a dead doc.
Reviewed-by: Andy Shevchenko <andy.shevchenko@xxxxxxxxx>
> Remove it from printk-formats.txt and add it
> back if/when it gets implemented.
>
> Signed-off-by: Rasmus Villemoes <linux@xxxxxxxxxxxxxxxxxx>
> ---
>
> This slipped through in 5e4ee7b ("printk: synchronize %p formatting
> documentation"), so I think the fix is appropriate for this cycle,
> even if we're soon at -rc5.
>
> Documentation/printk-formats.txt | 9 ---------
> 1 file changed, 9 deletions(-)
>
> diff --git a/Documentation/printk-formats.txt b/Documentation/printk-formats.txt
> index b784c270105f..602fee945d1d 100644
> --- a/Documentation/printk-formats.txt
> +++ b/Documentation/printk-formats.txt
> @@ -300,15 +300,6 @@ Network device features:
>
> Passed by reference.
>
> -Command from struct task_struct
> -
> - %pT ls
> -
> - For printing executable name excluding path from struct
> - task_struct.
> -
> - Passed by reference.
> -
> If you add other %p extensions, please extend lib/test_printf.c with
> one or more test cases, if at all feasible.
>
> --
> 2.6.1
>
> --
> 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/
--
With Best Regards,
Andy Shevchenko
--
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/