drm/xe: Fix END redefinition
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 22 Mar 2024 14:48:43 +0000 (07:48 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 22 Mar 2024 18:27:58 +0000 (11:27 -0700)
commit35b22649eb4155ca6bcffcb2c6e2a1d311aaaf72
tree489dcad773215174e00b43aa255ad35f4cb5676c
parentb4abeb5545bb3ddcdda3c19067680ad0b2259be4
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>
drivers/gpu/drm/xe/xe_lrc.c