[PATCH] drm: Remove redundant __GFP_NOWARN
Qianfeng Rong
rongqianfeng at vivo.com
Thu Aug 7 14:17:54 UTC 2025
在 2025/8/7 22:13, Jani Nikula 写道:
> On Thu, 07 Aug 2025, Qianfeng Rong <rongqianfeng at vivo.com> wrote:
>> Commit 16f5dfbc851b ("gfp: include __GFP_NOWARN in GFP_NOWAIT")
>> made GFP_NOWAIT implicitly include __GFP_NOWARN.
>>
>> Therefore, explicit __GFP_NOWARN combined with GFP_NOWAIT
>> (e.g., `GFP_NOWAIT | __GFP_NOWARN`) is now redundant. Let's clean
>> up these redundant flags across subsystems.
>>
>> No functional changes.
>>
>> Signed-off-by: Qianfeng Rong <rongqianfeng at vivo.com>
>> ---
>> drivers/gpu/drm/drm_modeset_lock.c | 4 ++--
> Please separate the drm core changes...
>
>> drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c | 4 ++--
>> drivers/gpu/drm/i915/i915_active.c | 2 +-
> ...from the i915 driver changes.
>
> Thanks,
> Jani.
Ok.
Thanks,
Qianfeng.
More information about the dri-devel
mailing list