X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=lib%2Ftest-kstrtox.c;h=bea3f3fa3f02a920fb92b9293c0adf06d72a52a6;hb=929d138a3ba776145d2f421c2c4f16d922535090;hp=d55769d63cb8b3efb8182a0f58a73ed496768b21;hpb=779d530632c98967820d3bbcae15d492fc20301e;p=mirror_ubuntu-zesty-kernel.git diff --git a/lib/test-kstrtox.c b/lib/test-kstrtox.c index d55769d63cb8..bea3f3fa3f02 100644 --- a/lib/test-kstrtox.c +++ b/lib/test-kstrtox.c @@ -11,7 +11,7 @@ struct test_fail { }; #define DEFINE_TEST_FAIL(test) \ - const struct test_fail test[] __initdata + const struct test_fail test[] __initconst #define DECLARE_TEST_OK(type, test_type) \ test_type { \ @@ -21,7 +21,7 @@ struct test_fail { } #define DEFINE_TEST_OK(type, test) \ - const type test[] __initdata + const type test[] __initconst #define TEST_FAIL(fn, type, fmt, test) \ { \