diff options
| author | Petr Mladek <[email protected]> | 2019-08-15 15:01:33 +0000 |
|---|---|---|
| committer | Petr Mladek <[email protected]> | 2019-08-15 15:03:16 +0000 |
| commit | 8ebea6ea1a7ed5d67ecbb2a493c716a2a89c0be2 (patch) | |
| tree | cbcd467fb8106ccdad74909da8398e6672315695 /lib/test_printf.c | |
| parent | lib/test_printf: Add test of null/invalid pointer dereference for dentry (diff) | |
| download | kernel-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.c | 2 |
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); |
