Clear sparse warning: different address space
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 Clear sparse warning: different address space
Quoted 2 lines · Guillermo O. Freschi
Made tagged
indexas__userto remove warning fromobd_iocontrolcall.
Your subject line is odd, please make it match other changes for this driver.
Quoted 10 lines
Signed-off-by Guillermo O. Freschi <[email protected]>--- drivers/staging/lustre/lustre/llite/dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/staging/lustre/lustre/llite/dir.c +0
-0
drivers/staging/lustre/lustre/llite/dir.c static long ll_dir_ioctl(struct file *file, unsigned int cmd, unsigned long arg) · line 1467
Quoted 5 lines
drivers/staging/lustre/lustre/llite/dir.c +1
-1@@ -1464,7 +1464,7 @@ static long ll_dir_ioctl(struct file *file, unsigned int cmd, unsigned long arg)case LL_IOC_FID2MDTIDX : {struct obd_export *exp =ll_i2mdexp (inode);struct lu_fid fid; -__u32 index; +__u32 __user index;
Are you sure? How did you test this?
thanks,
greg k-h