Skip to contentSkip to conversation

printk-formats.txt: remove unimplemented %pT

PATCH In review Rasmus Villemoes 2 participants 2 messages Dec 5, 2015 – Dec 12, 2015 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 printk-formats.txt: remove unimplemented %pT

%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.

---

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(-)
Documentation/printk-formats.txt +0 -9
index b784c270105f..602fee945d1d 100644
@@ -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.
 
Signature · 1 line
2.6.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 2 lines · Rasmus Villemoes

%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.

Quoted 41 lines

Remove it from printk-formats.txt and add it
back if/when it gets implemented.

---

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(-)
Documentation/printk-formats.txt +0 -10
index b784c270105f..602fee945d1d 100644
@@ -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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 2 lines
With Best Regards,
Andy Shevchenko