Message ID | 165765284992.435671.17218875214208199972.stgit@dwillia2-xfh |
---|---|
State | Superseded |
Headers | show |
Series | cxl: Region provisioning foundation | expand |
On Tue, 12 Jul 2022, Dan Williams wrote: >Cleanup some spurious spaces and let clang-format re-layout the options. Reviewed-by: Davidlohr Bueso <dave@stgolabs.net> > >Signed-off-by: Dan Williams <dan.j.williams@intel.com> >--- > cxl/list.c | 9 ++++----- > 1 file changed, 4 insertions(+), 5 deletions(-) > >diff --git a/cxl/list.c b/cxl/list.c >index 940782d33a10..1b5f58328047 100644 >--- a/cxl/list.c >+++ b/cxl/list.c >@@ -36,8 +36,7 @@ static const struct option options[] = { > "filter by CXL endpoint device name(s)"), > OPT_BOOLEAN('E', "endpoints", ¶m.endpoints, > "include CXL endpoint info"), >- OPT_STRING('d', "decoder", ¶m.decoder_filter, >- "decoder device name", >+ OPT_STRING('d', "decoder", ¶m.decoder_filter, "decoder device name", > "filter by CXL decoder device name(s) / class"), > OPT_BOOLEAN('D', "decoders", ¶m.decoders, > "include CXL decoder info"), >@@ -45,11 +44,11 @@ static const struct option options[] = { > "include CXL target data with decoders or ports"), > OPT_BOOLEAN('i', "idle", ¶m.idle, "include disabled devices"), > OPT_BOOLEAN('u', "human", ¶m.human, >- "use human friendly number formats "), >+ "use human friendly number formats"), > OPT_BOOLEAN('H', "health", ¶m.health, >- "include memory device health information "), >+ "include memory device health information"), > OPT_BOOLEAN('I', "partition", ¶m.partition, >- "include memory device partition information "), >+ "include memory device partition information"), > #ifdef ENABLE_DEBUG > OPT_BOOLEAN(0, "debug", &debug, "debug list walk"), > #endif >
diff --git a/cxl/list.c b/cxl/list.c index 940782d33a10..1b5f58328047 100644 --- a/cxl/list.c +++ b/cxl/list.c @@ -36,8 +36,7 @@ static const struct option options[] = { "filter by CXL endpoint device name(s)"), OPT_BOOLEAN('E', "endpoints", ¶m.endpoints, "include CXL endpoint info"), - OPT_STRING('d', "decoder", ¶m.decoder_filter, - "decoder device name", + OPT_STRING('d', "decoder", ¶m.decoder_filter, "decoder device name", "filter by CXL decoder device name(s) / class"), OPT_BOOLEAN('D', "decoders", ¶m.decoders, "include CXL decoder info"), @@ -45,11 +44,11 @@ static const struct option options[] = { "include CXL target data with decoders or ports"), OPT_BOOLEAN('i', "idle", ¶m.idle, "include disabled devices"), OPT_BOOLEAN('u', "human", ¶m.human, - "use human friendly number formats "), + "use human friendly number formats"), OPT_BOOLEAN('H', "health", ¶m.health, - "include memory device health information "), + "include memory device health information"), OPT_BOOLEAN('I', "partition", ¶m.partition, - "include memory device partition information "), + "include memory device partition information"), #ifdef ENABLE_DEBUG OPT_BOOLEAN(0, "debug", &debug, "debug list walk"), #endif
Cleanup some spurious spaces and let clang-format re-layout the options. Signed-off-by: Dan Williams <dan.j.williams@intel.com> --- cxl/list.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)