|
|
2eb93d |
From 6a843797767868279a5197699a53154bbed5eb2a Mon Sep 17 00:00:00 2001
|
|
|
2eb93d |
From: Dan Williams <dan.j.williams@intel.com>
|
|
|
2eb93d |
Date: Thu, 14 Jul 2022 10:01:52 -0700
|
|
|
2eb93d |
Subject: [PATCH 175/217] cxl/list: Reformat option list
|
|
|
2eb93d |
|
|
|
2eb93d |
Cleanup some spurious spaces and let clang-format re-layout the options.
|
|
|
2eb93d |
|
|
|
2eb93d |
Link: https://lore.kernel.org/r/165781811294.1555691.6271986101970794441.stgit@dwillia2-xfh.jf.intel.com
|
|
|
2eb93d |
Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>
|
|
|
2eb93d |
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
|
|
|
2eb93d |
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
|
|
|
2eb93d |
---
|
|
|
2eb93d |
cxl/list.c | 9 ++++-----
|
|
|
2eb93d |
1 file changed, 4 insertions(+), 5 deletions(-)
|
|
|
2eb93d |
|
|
|
2eb93d |
diff --git a/cxl/list.c b/cxl/list.c
|
|
|
2eb93d |
index 940782d..1b5f583 100644
|
|
|
2eb93d |
--- a/cxl/list.c
|
|
|
2eb93d |
+++ b/cxl/list.c
|
|
|
2eb93d |
@@ -36,8 +36,7 @@ static const struct option options[] = {
|
|
|
2eb93d |
"filter by CXL endpoint device name(s)"),
|
|
|
2eb93d |
OPT_BOOLEAN('E', "endpoints", ¶m.endpoints,
|
|
|
2eb93d |
"include CXL endpoint info"),
|
|
|
2eb93d |
- OPT_STRING('d', "decoder", ¶m.decoder_filter,
|
|
|
2eb93d |
- "decoder device name",
|
|
|
2eb93d |
+ OPT_STRING('d', "decoder", ¶m.decoder_filter, "decoder device name",
|
|
|
2eb93d |
"filter by CXL decoder device name(s) / class"),
|
|
|
2eb93d |
OPT_BOOLEAN('D', "decoders", ¶m.decoders,
|
|
|
2eb93d |
"include CXL decoder info"),
|
|
|
2eb93d |
@@ -45,11 +44,11 @@ static const struct option options[] = {
|
|
|
2eb93d |
"include CXL target data with decoders or ports"),
|
|
|
2eb93d |
OPT_BOOLEAN('i', "idle", ¶m.idle, "include disabled devices"),
|
|
|
2eb93d |
OPT_BOOLEAN('u', "human", ¶m.human,
|
|
|
2eb93d |
- "use human friendly number formats "),
|
|
|
2eb93d |
+ "use human friendly number formats"),
|
|
|
2eb93d |
OPT_BOOLEAN('H', "health", ¶m.health,
|
|
|
2eb93d |
- "include memory device health information "),
|
|
|
2eb93d |
+ "include memory device health information"),
|
|
|
2eb93d |
OPT_BOOLEAN('I', "partition", ¶m.partition,
|
|
|
2eb93d |
- "include memory device partition information "),
|
|
|
2eb93d |
+ "include memory device partition information"),
|
|
|
2eb93d |
#ifdef ENABLE_DEBUG
|
|
|
2eb93d |
OPT_BOOLEAN(0, "debug", &debug, "debug list walk"),
|
|
|
2eb93d |
#endif
|
|
|
2eb93d |
--
|
|
|
2eb93d |
2.27.0
|
|
|
2eb93d |
|