[PATCH 05/10] drm/i915: switch to __nonnull_args() macro

Andy Shevchenko andy.shevchenko at gmail.com
Wed Oct 28 02:49:43 PDT 2026


On Wed, Oct 28, 2026 at 10:20 AM Dmitry Ilvokhin <d at ilvokhin.com> wrote:
>
> Commit 22302af28d3f ("cleanup: Annotate guard constructors with
> nonnull") added the macro __nonnull_args() to wrap raw compiler
> attribute.
>
> Replace __attribute__((nonnull)) with __nonnull_args() to standardize
> nonnull attribute usage across the tree and keep the attribute's quirks
> in one place rather than open-coded at every call site.

Reviewed-by: Andy Shevchenko <andy at kernel.org>

-- 
With Best Regards,
Andy Shevchenko



More information about the linux-arm-kernel mailing list