[PATCH] drm/xe: Fix END redefinition

Lucas De Marchi lucas.demarchi at intel.com
Fri Mar 22 18:28:15 UTC 2024


On Fri, Mar 22, 2024 at 05:07:31PM +0200, Jani Nikula wrote:
>On Fri, 22 Mar 2024, Lucas De Marchi <lucas.demarchi at intel.com> wrote:
>> 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.
>>
>> Closes: http://kisskb.ellerman.id.au/kisskb/buildresult/15143996/
>> Reported-by: Guenter Roeck <linux at roeck-us.net>
>> Tested-by: Guenter Roeck <linux at roeck-us.net>
>> Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>
>
>Reviewed-by: Jani Nikula <jani.nikula at intel.com>


applied to drm-xe-next, thanks.

Lucas De Marchi


More information about the Intel-xe mailing list