[PATCH 5/8] drm/imagination: annotate pvr_fw_version_packed() with __maybe_unused
Jani Nikula
jani.nikula at intel.com
Fri Sep 13 11:47:05 UTC 2024
On Tue, 10 Sep 2024, Matt Coster <Matt.Coster at imgtec.com> wrote:
> On 10/09/2024 11:03, Jani Nikula wrote:
>> Building with clang and and W=1 leads to warning about unused
>> pvr_fw_version_packed(). Fix by annotating it with __maybe_unused.
>>
>> See also commit 6863f5643dd7 ("kbuild: allow Clang to find unused static
>> inline functions for W=1 build").
>>
>> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
>
> I've been meaning to do something about this for a while, thanks!
>
> Reviewed-by: Matt Coster <matt.coster at imgtec.com>
Thanks, pushed to drm-misc-next.
BR,
Jani.
--
Jani Nikula, Intel
More information about the dri-devel
mailing list