diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2024-03-22 17:48:43 +0300 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2024-03-25 21:47:48 +0300 |
commit | 0d8cf0c924732a045273c6aca6900a340ac88529 (patch) | |
tree | 733c18b83e5f36306dd5182447c9caf63fd681c8 /.cocciconfig | |
parent | 45c30b2923e5c53e0ef057a8a525b0456adde18e (diff) | |
download | linux-0d8cf0c924732a045273c6aca6900a340ac88529.tar.xz |
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 <linux@roeck-us.net>
Closes: http://kisskb.ellerman.id.au/kisskb/buildresult/15143996/
Tested-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240322145037.196548-1-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
(cherry picked from commit 35b22649eb4155ca6bcffcb2c6e2a1d311aaaf72)
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions