Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP4:Update
nvme-cli.26914
0015-nvme-print-sanitize-the-get-feature-async-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0015-nvme-print-sanitize-the-get-feature-async-event-conf.patch of Package nvme-cli.26914
From: Martin George <marting@netapp.com> Date: Fri, 29 Jul 2022 17:21:02 +0530 Subject: nvme-print: sanitize the get-feature async event config output Git-commit: f02be8fdfb8346c48290c4442cf3dd928c6eae66 References: git-fixes Trivial fix to sanitize the nvme get-feature async event config output by ensuring the details printed are properly aligned. Signed-off-by: Martin George <marting@netapp.com> Acked-by: Daniel Wagner <dwagner@suse.de> --- nvme-print.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) --- a/nvme-print.c +++ b/nvme-print.c @@ -6957,23 +6957,23 @@ void nvme_feature_show_fields(enum nvme_ printf("\tDisable Normal (DN): %s\n", (result & 0x00000001) ? "True":"False"); break; case NVME_FEAT_FID_ASYNC_EVENT: - printf("\tDiscovery Log Page Change Notices: %s\n", + printf("\tDiscovery Log Page Change Notices : %s\n", ((result & 0x80000000) >> 31) ? "Send async event":"Do not send async event"); - printf("\tEndurance Group Event Aggregate Log Change Notices: %s\n", + printf("\tEndurance Group Event Aggregate Log Change Notices : %s\n", ((result & 0x00004000) >> 14) ? "Send async event":"Do not send async event"); - printf("\tLBA Status Information Notices : %s\n", + printf("\tLBA Status Information Notices : %s\n", ((result & 0x00002000) >> 13) ? "Send async event":"Do not send async event"); - printf("\tPredictable Latency Event Aggregate Log Change Notices: %s\n", + printf("\tPredictable Latency Event Aggregate Log Change Notices : %s\n", ((result & 0x00001000) >> 12) ? "Send async event":"Do not send async event"); - printf("\tAsymmetric Namespace Access Change Notices: %s\n", + printf("\tAsymmetric Namespace Access Change Notices : %s\n", ((result & 0x00000800) >> 11) ? "Send async event":"Do not send async event"); - printf("\tTelemetry Log Notices : %s\n", + printf("\tTelemetry Log Notices : %s\n", ((result & 0x00000400) >> 10) ? "Send async event":"Do not send async event"); - printf("\tFirmware Activation Notices : %s\n", + printf("\tFirmware Activation Notices : %s\n", ((result & 0x00000200) >> 9) ? "Send async event":"Do not send async event"); - printf("\tNamespace Attribute Notices : %s\n", + printf("\tNamespace Attribute Notices : %s\n", ((result & 0x00000100) >> 8) ? "Send async event":"Do not send async event"); - printf("\tSMART / Health Critical Warnings: %s\n", + printf("\tSMART / Health Critical Warnings : %s\n", (result & 0x000000ff) ? "Send async event":"Do not send async event"); break; case NVME_FEAT_FID_AUTO_PST:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor