X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=init%2Fdo_mounts_initrd.c;h=135959a276bef21628556119247be2e4d0d83610;hb=f0913cd16e8a6608cf9558ccbe8fdf4d428ca3de;hp=9047330c73e9b8fed1098131513d6a8a1bdf0f8b;hpb=b6255ee3d82798eb1eee9fb1cca713317b5afae8;p=~andy%2Flinux diff --git a/init/do_mounts_initrd.c b/init/do_mounts_initrd.c index 9047330c73e..135959a276b 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