diff options
author | Petr Mladek <pmladek@suse.com> | 2019-09-16 12:54:25 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2019-09-16 12:54:25 +0200 |
commit | ae88de56a1893bdccc7b5af8c12556de649d675e (patch) | |
tree | e3b70d7df5d379c20ac15d9fea3a7642e1f2f3e1 /lib/test_printf.c | |
parent | printk: Do not lose last line in kmsg buffer dump (diff) | |
parent | ABI: Update dev-kmsg documentation to match current kernel behaviour (diff) | |
download | linux-dev-ae88de56a1893bdccc7b5af8c12556de649d675e.tar.xz linux-dev-ae88de56a1893bdccc7b5af8c12556de649d675e.zip |
Merge branch 'for-5.4' into for-linus
Diffstat (limited to 'lib/test_printf.c')
-rw-r--r-- | lib/test_printf.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/test_printf.c b/lib/test_printf.c index 944eb50f3862..5d94cbff2120 100644 --- a/lib/test_printf.c +++ b/lib/test_printf.c @@ -455,6 +455,11 @@ dentry(void) test("foo", "%pd", &test_dentry[0]); test("foo", "%pd2", &test_dentry[0]); + test("(null)", "%pd", NULL); + test("(efault)", "%pd", PTR_INVALID); + test("(null)", "%pD", NULL); + test("(efault)", "%pD", PTR_INVALID); + test("romeo", "%pd", &test_dentry[3]); test("alfa/romeo", "%pd2", &test_dentry[3]); test("bravo/alfa/romeo", "%pd3", &test_dentry[3]); |