Whamcloud - gitweb
LU-5396 mdc: add sparse annotation __user wherever needed
[fs/lustre-release.git] / lustre / mdc / mdc_request.c
index de6ebf5..0ab1d70 100644 (file)
@@ -2283,7 +2283,7 @@ out:
 }
 
 static int mdc_iocontrol(unsigned int cmd, struct obd_export *exp, int len,
-                         void *karg, void *uarg)
+                        void *karg, void __user *uarg)
 {
         struct obd_device *obd = exp->exp_obd;
         struct obd_ioctl_data *data = karg;