All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nvme-cli: Implement printing the get Keep Alive Timer feature
@ 2018-06-13 20:39 Revanth Rajashekar
  2018-06-15  9:35 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Revanth Rajashekar @ 2018-06-13 20:39 UTC (permalink / raw)


Signed-off-by: Revanth Rajashekar <revanth.rajashekar at intel.com>
---
 nvme-print.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/nvme-print.c b/nvme-print.c
index cdaf1cb..74af732 100644
--- a/nvme-print.c
+++ b/nvme-print.c
@@ -1807,6 +1807,9 @@ void nvme_feature_show_fields(__u32 fid, unsigned int result, unsigned char *buf
 	case NVME_FEAT_RESV_PERSIST:
 		printf("\tPersist Through Power Loss (PTPL): %s\n", (result & 0x00000001) ? "True":"False");
 		break;
+	case NVME_FEAT_KATO:
+		printf("\tKeep Alive Timeout (KATO) in milliseconds: %u\n", result);
+		break;
 	}
 }
 
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] nvme-cli: Implement printing the get Keep Alive Timer feature
  2018-06-13 20:39 [PATCH] nvme-cli: Implement printing the get Keep Alive Timer feature Revanth Rajashekar
@ 2018-06-15  9:35 ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2018-06-15  9:35 UTC (permalink / raw)


> +	case NVME_FEAT_KATO:
> +		printf("\tKeep Alive Timeout (KATO) in milliseconds: %u\n", result);
> +		break;

Again a line break would be nice.

Otherwise looks fine:

Reviewed-by: Christoph Hellwig <hch at lst.de>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-15  9:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-13 20:39 [PATCH] nvme-cli: Implement printing the get Keep Alive Timer feature Revanth Rajashekar
2018-06-15  9:35 ` Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.