]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selinux: Remove redundant __GFP_NOWARN
authorQianfeng Rong <rongqianfeng@vivo.com>
Thu, 7 Aug 2025 14:05:45 +0000 (22:05 +0800)
committerPaul Moore <paul@paul-moore.com>
Tue, 12 Aug 2025 17:18:13 +0000 (13:18 -0400)
commitf20e70a341dd67ac4aca23f93b6acdca6779e69d
tree6b02d381f6f3a4bed43da659de0ee344c94742d4
parentd4e8dc8e8b34771b0a3d474d243bcfcbddef8612
selinux: Remove redundant __GFP_NOWARN

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@vivo.com>
Acked-by: Stephen Smalley <stephen.smalley.work@gmail.com>
[PM: fixed horizontal spacing / alignment, line wraps]
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/avc.c