diff options
| author | Chang S. Bae <[email protected]> | 2025-02-27 18:44:46 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2025-02-27 18:54:41 +0000 |
| commit | 69a2fdf446049ae31be4a14a0cf16f2f18f09b6c (patch) | |
| tree | 2aa2f0999d96b49964de7fe8cf9a57157841c7a6 /samples/rust/rust_driver_platform.rs | |
| parent | x86/fpu: Refine and simplify the magic number check during signal return (diff) | |
| download | kernel-69a2fdf446049ae31be4a14a0cf16f2f18f09b6c.tar.gz kernel-69a2fdf446049ae31be4a14a0cf16f2f18f09b6c.zip | |
x86/fpu/xstate: Simplify print_xstate_features()
print_xstate_features() currently invokes print_xstate_feature() multiple
times on separate lines, which can be simplified in a loop.
print_xstate_feature() already checks the feature's enabled status and is
only called within print_xstate_features(). Inline print_xstate_feature()
and iterate over features in a loop to streamline the enabling message.
No functional changes.
Signed-off-by: Chang S. Bae <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Reviewed-by: Dave Hansen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'samples/rust/rust_driver_platform.rs')
0 files changed, 0 insertions, 0 deletions
