aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_printf.c
diff options
context:
space:
mode:
authorPetr Mladek <[email protected]>2019-08-15 15:01:33 +0000
committerPetr Mladek <[email protected]>2019-08-15 15:03:16 +0000
commit8ebea6ea1a7ed5d67ecbb2a493c716a2a89c0be2 (patch)
treecbcd467fb8106ccdad74909da8398e6672315695 /lib/test_printf.c
parentlib/test_printf: Add test of null/invalid pointer dereference for dentry (diff)
downloadkernel-8ebea6ea1a7ed5d67ecbb2a493c716a2a89c0be2.tar.gz
kernel-8ebea6ea1a7ed5d67ecbb2a493c716a2a89c0be2.zip
lib/test_printf: Remove obvious comments from %pd and %pD tests
Signed-off-by: Petr Mladek <[email protected]>
Diffstat (limited to 'lib/test_printf.c')
-rw-r--r--lib/test_printf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/test_printf.c b/lib/test_printf.c
index befedffeb476..5d94cbff2120 100644
--- 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);