diff options
author | Lucas De Marchi <[email protected]> | 2024-03-22 07:48:43 -0700 |
---|---|---|
committer | Lucas De Marchi <[email protected]> | 2024-03-25 13:47:48 -0500 |
commit | 0d8cf0c924732a045273c6aca6900a340ac88529 (patch) | |
tree | 733c18b83e5f36306dd5182447c9caf63fd681c8 /lib/memory-notifier-error-inject.c | |
parent | 45c30b2923e5c53e0ef057a8a525b0456adde18e (diff) |
drm/xe: Fix END redefinition
mips declares an END macro in its headers so it can't be used without
namespace in a driver like xe.
Instead of coming up with a longer name, just remove the macro and
replace its use with 0 since it's still clear what that means:
set_offsets() was already using that implicitly when checking the data
variable.
Reported-by: Guenter Roeck <[email protected]>
Closes: http://kisskb.ellerman.id.au/kisskb/buildresult/15143996/
Tested-by: Guenter Roeck <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Lucas De Marchi <[email protected]>
(cherry picked from commit 35b22649eb4155ca6bcffcb2c6e2a1d311aaaf72)
Signed-off-by: Lucas De Marchi <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions