diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-07-10 11:33:17 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-08-03 10:08:38 +0200 |
| commit | 9eeca53dacbe1eee15c91c3674bfa9c0c113afe7 (patch) | |
| tree | 8d611ebd82e50c354c751055a7578b40eefdebe5 /drivers/phy/axiado/git@git.tavy.me:linux.git | |
| parent | 0eec8a042817b9a70fd183689e55969d00965d4e (diff) | |
binfmt_misc: give the parse_command() results names
parse_command() maps "0" to 1, "1" to 2 and "-1" to 3 and the write
handlers switch on those bare numbers, leaving every reader to redo
the mapping in their head. Name the commands and drop the per-case
comments that only existed to translate the numbers back.
No functional change.
Link: https://patch.msgid.link/20260710-work-binfmt_misc-locking-v3-16-a162f7cb58d6@kernel.org
Reviewed-by: Jori Koolstra <jkoolstra@xs4all.nl>
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'drivers/phy/axiado/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
