mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
staging/lustre: Mark lmv_hsm_ct_register/unregister uarg as __user
Since it is a userspace pointer, this makes things neater and sparse happier. Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0f881d7b26
commit
11be8f6cdc
1 changed files with 3 additions and 2 deletions
|
|
@ -794,7 +794,8 @@ static void lmv_hsm_req_build(struct lmv_obd *lmv,
|
|||
}
|
||||
|
||||
static int lmv_hsm_ct_unregister(struct lmv_obd *lmv, unsigned int cmd, int len,
|
||||
struct lustre_kernelcomm *lk, void *uarg)
|
||||
struct lustre_kernelcomm *lk,
|
||||
void __user *uarg)
|
||||
{
|
||||
int rc = 0;
|
||||
__u32 i;
|
||||
|
|
@ -816,7 +817,7 @@ static int lmv_hsm_ct_unregister(struct lmv_obd *lmv, unsigned int cmd, int len,
|
|||
}
|
||||
|
||||
static int lmv_hsm_ct_register(struct lmv_obd *lmv, unsigned int cmd, int len,
|
||||
struct lustre_kernelcomm *lk, void *uarg)
|
||||
struct lustre_kernelcomm *lk, void __user *uarg)
|
||||
{
|
||||
struct file *filp;
|
||||
__u32 i, j;
|
||||
|
|
|
|||
Loading…
Reference in a new issue