orangefs: specify user pointers when using dev_map_desc and bufmap

Sparse lead me to the dev_map_desc one and Al Viro lead me to the bufmap
one.

Signed-off-by: Mike Marshall <hubcap@omnibond.com>
This commit is contained in:
Mike Marshall
2018-06-01 12:19:45 -04:00
parent 95f5f88f89
commit 817e9b4d9e
2 changed files with 2 additions and 2 deletions

View File

@@ -342,7 +342,7 @@ enum {
* that may be 32 bit!
*/
struct ORANGEFS_dev_map_desc {
void *ptr;
void __user *ptr;
__s32 total_size;
__s32 size;
__s32 count;