Re: [PATCH 07/10] drm/gem: Switch to __nonnull_args() macro
From: Andy Shevchenko
Date: Thu Oct 29 2026 - 09:21:39 EST
On Thu, Oct 29, 2026 at 02:00:28PM +0100, Miguel Ojeda wrote:
> On Thu, Oct 29, 2026 at 8:32 AM Thomas Zimmermann <tzimmermann@xxxxxxx> wrote:
> >
> > Should gem.h now include <linux/compiler_attributes.h> ?
>
> No, it should be included for you (unless you are doing something
> custom with the compiler flags etc.).
Usually it comes to the mere drivers via types.h, in rare cases (usually some
more generic library headers, we do better granularity as it affects the almost
entire kernel. Just double check that types.h is explicitly included.
--
With Best Regards,
Andy Shevchenko