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

Jani Nikula jani.nikula at linux.intel.com
Thu Oct 29 01:43:56 PDT 2026


On Wed, 28 Oct 2026, Andi Shyti <andi.shyti at kernel.org> wrote:
> Hi Dmitry,
>
> On Wed, Oct 28, 2026 at 08:19:44AM +0000, Dmitry Ilvokhin 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.
>> 
>> Suggested-by: Miguel Ojeda <miguel.ojeda.sandonis at gmail.com>
>> Signed-off-by: Dmitry Ilvokhin <d at ilvokhin.com>
>
> Reviewed-by: Andi Shyti <andi.shyti at linux.intel.com>

Pushed this patch to drm-intel-next, thanks for the patch and review.

BR,
Jani.


-- 
Jani Nikula, Intel



More information about the linux-arm-kernel mailing list