diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-07-10 11:33:08 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-08-03 10:08:36 +0200 |
| commit | c9fa1f1ccf427e181df27d5450079ef06d6b236b (patch) | |
| tree | a4f4710c5a830e568d0458cbc789bb4418152be0 /include/linux/bnge/git@git.tavy.me:linux.git | |
| parent | 1dc88208cfdce26858c59609242f2bb0e2b5c031 (diff) | |
binfmt_misc: turn the entry bit numbers into a proper enum
Enabled and Magic are bit numbers in the flags word of an entry but
are declared as bare, unprefixed enumerators with implicit values in
a style that predates the git history. Give the enum a name, explicit
bit numbers and namespaced names and use BIT() instead of open-coding
the shifts when building the initial flags word in create_entry().
No functional change.
Link: https://patch.msgid.link/20260710-work-binfmt_misc-locking-v3-7-a162f7cb58d6@kernel.org
Reviewed-by: Jori Koolstra <jkoolstra@xs4all.nl>
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'include/linux/bnge/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
