[PATCH v1 0/2] drm/i915/fence: A couple of build fixes

Jani Nikula jani.nikula at linux.intel.com
Thu Aug 29 16:38:08 UTC 2024


On Thu, 29 Aug 2024, Andy Shevchenko <andriy.shevchenko at linux.intel.com> wrote:
> With CONFIG_WERROR=y and `make W=1` build fails on my x86_64 machine.
> This is due to some unused functions. Hence these quick fixes.

Since when have we been getting the warnings for static inlines?

BR,
Jani.


>
> Andy Shevchenko (2):
>   drm/i915/fence: Mark debug_fence_init_onstack() with __maybe_unused
>   drm/i915/fence: Mark debug_fence_free() with __maybe_unused
>
>  drivers/gpu/drm/i915/i915_sw_fence.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

-- 
Jani Nikula, Intel


More information about the dri-devel mailing list