diff options
author | Thomas Hellström <[email protected]> | 2024-01-17 14:40:47 +0100 |
---|---|---|
committer | Thomas Hellström <[email protected]> | 2024-01-31 14:34:35 +0100 |
commit | 78366eed6853aa6a5deccb2eb182f9334d2bd208 (patch) | |
tree | cfee02e26ea6484a5c0032a10bcb14b8b02ec31b /net/lapb/lapb_subr.c | |
parent | 97fd7a7e4e877676a2ab1a687ba958b70931abcc (diff) |
drm/xe: Don't use __user error pointers
The error pointer macros are not aware of __user pointers and as a
consequence sparse warns.
Have the copy_mask() function return an integer instead of a __user
pointer.
Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Cc: Rodrigo Vivi <[email protected]>
Cc: Matthew Brost <[email protected]>
Signed-off-by: Thomas Hellström <[email protected]>
Reviewed-by: Matthew Brost <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions