* [PATCH] nvme-cli: make command description const
@ 2017-10-28 18:26 Minwoo Im
2017-10-30 19:36 ` Keith Busch
0 siblings, 1 reply; 2+ messages in thread
From: Minwoo Im @ 2017-10-28 18:26 UTC (permalink / raw)
Make desc in sanitize_log() const.
Signed-off-by: Minwoo Im <minwoo.im.dev at gmail.com>
---
nvme.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nvme.c b/nvme.c
index 9ac6a3c..ed1c61f 100644
--- a/nvme.c
+++ b/nvme.c
@@ -488,7 +488,7 @@ static const char * sanitize_mon_status_to_string(__u16 status)
static int sanitize_log(int argc, char **argv, struct command *command, struct plugin *plugin)
{
- char *desc = "Retrieve sanitize log and show it.";
+ const char *desc = "Retrieve sanitize log and show it.";
int fd;
int ret;
__u8 output[NVME_SANITIZE_LOG_DATA_LEN] = {0};
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] nvme-cli: make command description const
2017-10-28 18:26 [PATCH] nvme-cli: make command description const Minwoo Im
@ 2017-10-30 19:36 ` Keith Busch
0 siblings, 0 replies; 2+ messages in thread
From: Keith Busch @ 2017-10-30 19:36 UTC (permalink / raw)
On Sun, Oct 29, 2017@03:26:33AM +0900, Minwoo Im wrote:
> Make desc in sanitize_log() const.
>
> Signed-off-by: Minwoo Im <minwoo.im.dev at gmail.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-10-30 19:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-28 18:26 [PATCH] nvme-cli: make command description const Minwoo Im
2017-10-30 19:36 ` Keith Busch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).