X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=init%2Fdo_mounts_initrd.c;h=135959a276bef21628556119247be2e4d0d83610;hb=095313595648b5d46525c27cef0a368e92634401;hp=9047330c73e9b8fed1098131513d6a8a1bdf0f8b;hpb=f7b006931751f029620ad2f8310ac7a1484fbdb4;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git diff --git a/init/do_mounts_initrd.c b/init/do_mounts_initrd.c index 9047330..135959a2 100644 --- a/init/do_mounts_initrd.c +++ b/init/do_mounts_initrd.c @@ -1,3 +1,13 @@ +/* + * Many of the syscalls used in this file expect some of the arguments + * to be __user pointers not __kernel pointers. To limit the sparse + * noise, turn off sparse checking for this file. + */ +#ifdef __CHECKER__ +#undef __CHECKER__ +#warning "Sparse checking disabled for this file" +#endif + #include #include #include