diff options
| author | 2024-01-17 14:40:47 +0100 | |
|---|---|---|
| committer | 2024-02-01 11:26:50 +0100 | |
| commit | ef87557928d1ab3a1487520962f55cd7163e621b (patch) | |
| tree | 0a7f70abd5c28af35a0264673f4db0e28b382e96 /scripts/basic/git:/ssh: | |
| parent | drm/xe: Annotate mcr_[un]lock() (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 <rodrigo.vivi@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240117134048.165425-5-thomas.hellstrom@linux.intel.com
(cherry picked from commit 78366eed6853aa6a5deccb2eb182f9334d2bd208)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Diffstat (limited to 'scripts/basic/git:/ssh:')
0 files changed, 0 insertions, 0 deletions
