kconfig: update compression algorithm info
[firefly-linux-kernel-4.4.55.git] / init / do_mounts_initrd.c
index 3098a38f3ae1b6a980da5e645b7c093e799721bf..135959a276bef21628556119247be2e4d0d83610 100644 (file)
@@ -1,8 +1,17 @@
+/*
+ * 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 <linux/unistd.h>
 #include <linux/kernel.h>
 #include <linux/fs.h>
 #include <linux/minix_fs.h>
-#include <linux/ext2_fs.h>
 #include <linux/romfs_fs.h>
 #include <linux/initrd.h>
 #include <linux/sched.h>