Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [NVMe-CLI] WDC Plugins vs-internal-log command unsupported on SN340.
@ 2019-03-18 15:25 Jeffrey Lien
  2019-03-18 15:29 ` Keith Busch
  0 siblings, 1 reply; 2+ messages in thread
From: Jeffrey Lien @ 2019-03-18 15:25 UTC (permalink / raw)


Signed-off-by: Jeff Lien <jeff.lien at wdc.com>
---
 plugins/wdc/wdc-nvme.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/plugins/wdc/wdc-nvme.c b/plugins/wdc/wdc-nvme.c
index 5da8587..984154e 100644
--- a/plugins/wdc/wdc-nvme.c
+++ b/plugins/wdc/wdc-nvme.c
@@ -792,6 +792,7 @@ static __u64 wdc_get_drive_capabilities(int fd) {
 			break;
 		case WDC_NVME_SN340_DEV_ID:
 			capabilities = WDC_DRIVE_CAP_SN340_DUI;
+			break;
 		default:
 			capabilities = 0;
 		}
-- 
1.8.3.1

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

* [PATCH] [NVMe-CLI] WDC Plugins vs-internal-log command unsupported on SN340.
  2019-03-18 15:25 [PATCH] [NVMe-CLI] WDC Plugins vs-internal-log command unsupported on SN340 Jeffrey Lien
@ 2019-03-18 15:29 ` Keith Busch
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Busch @ 2019-03-18 15:29 UTC (permalink / raw)


Applied, thanks.

On Mon, Mar 18, 2019@03:25:27PM +0000, Jeffrey Lien wrote:
> Signed-off-by: Jeff Lien <jeff.lien at wdc.com>
> ---
>  plugins/wdc/wdc-nvme.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/plugins/wdc/wdc-nvme.c b/plugins/wdc/wdc-nvme.c
> index 5da8587..984154e 100644
> --- a/plugins/wdc/wdc-nvme.c
> +++ b/plugins/wdc/wdc-nvme.c
> @@ -792,6 +792,7 @@ static __u64 wdc_get_drive_capabilities(int fd) {
>  			break;
>  		case WDC_NVME_SN340_DEV_ID:
>  			capabilities = WDC_DRIVE_CAP_SN340_DUI;
> +			break;
>  		default:
>  			capabilities = 0;
>  		}
> -- 
> 1.8.3.1

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

end of thread, other threads:[~2019-03-18 15:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-18 15:25 [PATCH] [NVMe-CLI] WDC Plugins vs-internal-log command unsupported on SN340 Jeffrey Lien
2019-03-18 15:29 ` Keith Busch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox