]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme: Use correct json serializing for long doubles
authorDaniel Wagner <dwagner@suse.de>
Fri, 8 Jul 2022 10:18:03 +0000 (12:18 +0200)
committerDaniel Wagner <dwagner@suse.de>
Mon, 11 Jul 2022 09:41:34 +0000 (11:41 +0200)
commit6ef1ddf3f622a31dc9a3b3abcb70f7e14f4b81ef
treebd51852ad7c54725e885f6fabd3683fcf739a802
parentb27e420d9caf2e5b61d0a192f610303cd0101845
nvme: Use correct json serializing for long doubles

Fixup all places which use json_object_add_value_float() to serialize
long double types with json_object_add_value_double(). The float
version cuts off the upper 64 bits of the 128 bit long double type.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
nvme-print.c
plugins/intel/intel-nvme.c
plugins/wdc/wdc-nvme.c