]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - lib/test_printf.c
staging/octeon: Use stubs for MIPS && !CAVIUM_OCTEON_SOC
[linux.git] / lib / test_printf.c
index 944eb50f38625313bc58bc3f00f83cc502835c8c..5d94cbff2120f9a09e0f67cd21289e22b1537df9 100644 (file)
@@ -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]);