drm-i915-switch-to-__nonnull_args-macro.patch removed from -mm tree
The quilt patch titled
Subject: drm/i915: switch to __nonnull_args() macro
has been removed from the -mm tree. Its filename was
drm-i915-switch-to-__nonnull_args-macro.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Dmitry Ilvokhin <[email protected]>
Subject: drm/i915: switch to __nonnull_args() macro
Date: Wed, 28 Oct 2026 08:19:44 +0000
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.
---
drivers/gpu/drm/i915/gem/i915_gem_object.h | 4 ++-- drivers/gpu/drm/i915/i915_request.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/gem/i915_gem_object.h renamed from drivers/gpu/drm/i915/gem/i915_gem_object.h~drm-i915-switch-to-__nonnull_args-macro +2 -2
@@ -127,7 +127,7 @@ __deprecatedstruct drm_gem_object *drm_gem_object_lookup (struct drm_file *file,u32 handle); -__attribute__((nonnull)) +__nonnull_args()static inline struct drm_i915_gem_object *i915_gem_object_get (struct drm_i915_gem_object *obj) {
@@ -135,7 +135,7 @@ i915_gem_object_get(struct drm_i915_gem_return obj; } -__attribute__((nonnull)) +__nonnull_args()static inline void i915_gem_object_put (struct drm_i915_gem_object *obj) {
drivers/gpu/drm/i915/i915_request.h renamed from drivers/gpu/drm/i915/i915_request.h~drm-i915-switch-to-__nonnull_args-macro +2 -2
@@ -437,12 +437,12 @@ void i915_request_cancel(struct i915_req long i915_request_wait_timeout(struct i915_request *rq, unsigned int flags, long timeout) - __attribute__((nonnull (1 ))); + __nonnull_args(1); long i915_request_wait(struct i915_request *rq, unsigned int flags, long timeout) - __attribute__((nonnull (1 ))); + __nonnull_args(1);#define I915_WAIT_INTERRUPTIBLE BIT(0)#define I915_WAIT_PRIORITY BIT(1)/* small priority bump for the request */ #define I915_WAIT_ALL BIT(2)/* used by i915_gem_object_wait() */
_
Patches currently in -mm which might be from [email protected] are
docs-xforms_lists-support-__nonnull_args.patch string-switch-to-__nonnull_args-macro.patch lib-list_sort-switch-to-__nonnull_args-macro.patch xarray-switch-to-__nonnull_args-macro.patch drm-amdgpu-switch-to-__nonnull_args-macro.patch drm-gem-switch-to-__nonnull_args-macro.patch leds-pwm-switch-to-__nonnull_args-macro.patch soc-aspeed-lpc-snoop-switch-to-__nonnull_args-macro.patch checkpatch-suggest-nonnull-attribute-conversion.patch