projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf6b792
)
lib/test_printf: Remove obvious comments from %pd and %pD tests
author
Petr Mladek
<pmladek@suse.com>
Thu, 15 Aug 2019 15:01:33 +0000
(17:01 +0200)
committer
Petr Mladek
<pmladek@suse.com>
Thu, 15 Aug 2019 15:03:16 +0000
(17:03 +0200)
Signed-off-by: Petr Mladek <pmladek@suse.com>
lib/test_printf.c
patch
|
blob
|
history
diff --git
a/lib/test_printf.c
b/lib/test_printf.c
index befedffeb47612e1601928cd98664cab47b53090..5d94cbff2120f9a09e0f67cd21289e22b1537df9 100644
(file)
--- a/
lib/test_printf.c
+++ b/
lib/test_printf.c
@@
-455,10
+455,8
@@
dentry(void)
test("foo", "%pd", &test_dentry[0]);
test("foo", "%pd2", &test_dentry[0]);
- /* test the null/invalid pointer case for dentry */
test("(null)", "%pd", NULL);
test("(efault)", "%pd", PTR_INVALID);
- /* test the null/invalid pointer case for file */
test("(null)", "%pD", NULL);
test("(efault)", "%pD", PTR_INVALID);