From: jinhua.huang Date: Wed, 27 Mar 2024 03:06:07 +0000 (+0800) Subject: plugins/memblaze: fix code mis-type error X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=7bdf7bf65b80b35020622b1a726160f1be9421a4;p=users%2Fsagi%2Fnvme-cli.git plugins/memblaze: fix code mis-type error Change "flash_error_media_count" to "inflight_write_io_cmd". Signed-off-by: jinhua.huang --- diff --git a/plugins/memblaze/memblaze-nvme.c b/plugins/memblaze/memblaze-nvme.c index d3c901e2..d4733528 100644 --- a/plugins/memblaze/memblaze-nvme.c +++ b/plugins/memblaze/memblaze-nvme.c @@ -1326,7 +1326,7 @@ struct __packed smart_log_add { struct smart_log_add_item_12 xor_fail_count; struct smart_log_add_item_12 xor_invoked_count; struct smart_log_add_item_12 inflight_read_io_cmd; - struct smart_log_add_item_12 flash_error_media_count; + struct smart_log_add_item_12 inflight_write_io_cmd; struct smart_log_add_item_12 nand_bytes_read; struct smart_log_add_item_12 temp_since_born; struct smart_log_add_item_12 power_consumption; @@ -1464,7 +1464,7 @@ static void smart_log_add_v2_print(struct smart_log_add_item_12 *item, int item_ [0xfd] = {18, "xor_fail_count" }, [0xfe] = {19, "xor_invoked_count" }, [0xe5] = {20, "inflight_read_io_cmd" }, - [0xe6] = {21, "flash_error_media_count" }, + [0xe6] = {21, "inflight_write_io_cmd" }, [0xf8] = {22, "nand_bytes_read" }, [0xe7] = {23, "temp_since_born" }, [0xe8] = {24, "power_consumption" },