mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] printk-formats.txt: remove unimplemented %pT
@ 2015-12-05 19:02 Rasmus Villemoes
  2015-12-12 23:52 ` Andy Shevchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Rasmus Villemoes @ 2015-12-05 19:02 UTC (permalink / raw)
  To: Andrew Morton, Jonathan Corbet
  Cc: Martin Kletzander, Andy Shevchenko, Rasmus Villemoes, linux-doc,
	linux-kernel

%pT for task->comm has been proposed (several times, I think), but is
not actually implemented. Remove it from printk-formats.txt and add it
back if/when it gets implemented.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
---

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] printk-formats.txt: remove unimplemented %pT
  2015-12-05 19:02 [PATCH] printk-formats.txt: remove unimplemented %pT Rasmus Villemoes
@ 2015-12-12 23:52 ` Andy Shevchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Shevchenko @ 2015-12-12 23:52 UTC (permalink / raw)
  To: Rasmus Villemoes
  Cc: Andrew Morton, Jonathan Corbet, Martin Kletzander,
	Andy Shevchenko, Linux Documentation List, linux-kernel

On Sat, Dec 5, 2015 at 9:02 PM, Rasmus Villemoes
<linux@rasmusvillemoes.dk> 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@gmail.com>

> Remove it from printk-formats.txt and add it
> back if/when it gets implemented.
>
> Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
> ---
>
> 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@vger.kernel.org
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-12-12 23:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-05 19:02 [PATCH] printk-formats.txt: remove unimplemented %pT Rasmus Villemoes
2015-12-12 23:52 ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®