diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-04-03 07:59:35 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-04-03 07:59:35 +0000 |
commit | f42531334c05b7f49ae43c0a27e347a487fb2667 (patch) | |
tree | e7a40dd5265005869a4e85eb1e96fdc588b42ef0 /plugins/solidigm/solidigm-telemetry/cod.c | |
parent | Adding upstream version 2.3. (diff) | |
download | nvme-cli-f42531334c05b7f49ae43c0a27e347a487fb2667.tar.xz nvme-cli-f42531334c05b7f49ae43c0a27e347a487fb2667.zip |
Adding upstream version 2.4.upstream/2.4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | plugins/solidigm/solidigm-telemetry/cod.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/solidigm/solidigm-telemetry/cod.c b/plugins/solidigm/solidigm-telemetry/cod.c index be5685b..7accc53 100644 --- a/plugins/solidigm/solidigm-telemetry/cod.c +++ b/plugins/solidigm/solidigm-telemetry/cod.c @@ -110,9 +110,9 @@ void solidigm_telemetry_log_cod_parse(struct telemetry_log *tl) UNKNOWN = 0xFF, }; - json_object *telemetry_header = NULL; - json_object *COD_offset = NULL; - json_object *reason_id = NULL; + struct json_object *telemetry_header = NULL; + struct json_object *COD_offset = NULL; + struct json_object *reason_id = NULL; if (!json_object_object_get_ex(tl->root, "telemetryHeader", &telemetry_header)) return; @@ -144,7 +144,7 @@ void solidigm_telemetry_log_cod_parse(struct telemetry_log *tl) return; } - json_object *cod = json_create_object(); + struct json_object *cod = json_create_object(); json_object_object_add(tl->root, "cod", cod); for (int i =0 ; i < data->header.EntryCount; i++) { |