Bug#1030092: nvme-cli: nvme list json output contains wrapped-around negative integers

2023-02-01 Thread Daniel Swarbrick
Just following up on this; I see that nvme-cli 2.3-2 fixes the build, and I can confirm that the numeric values no longer wrap around to negative values. As an aside, I also noticed that the JSON output "string" numeric values (e.g. the 128-bit NVMe counters which would lose accuracy if

Bug#1030092: nvme-cli: nvme list json output contains wrapped-around negative integers

2023-01-31 Thread Daniel Swarbrick
Hi Daniel, On 01.02.23 09:48, Daniel Baumann wrote: I've reproduced the bug with 2.2 and can confirm that 2.3 does fix it. Did you notice that nvme-cli 2.3-1 is FTBFS on the buildds? The build appears to be failing due to a missing "libnvme-mi". OpenPGP_signature Description: OpenPGP digital

Bug#1030092: nvme-cli: nvme list json output contains wrapped-around negative integers

2023-01-31 Thread Daniel Baumann
close 1030092 2.3-1 thanks On 1/31/23 05:30, Daniel Baumann wrote: > I've just uploaed 2.3 that should indeed fix > it. I've reproduced the bug with 2.2 and can confirm that 2.3 does fix it. Regards, Daniel

Bug#1030092: nvme-cli: nvme list json output contains wrapped-around negative integers

2023-01-30 Thread Daniel Baumann
Hi Daniel, thank you for your report - I've just uploaed 2.3 that should indeed fix it. It would be nice if you could try to confirm it. Regards, Daniel

Bug#1030092: nvme-cli: nvme list json output contains wrapped-around negative integers

2023-01-30 Thread Daniel Swarbrick
Package: nvme-cli Version: 2.2.1-4 Severity: normal Dear Maintainer, Since the update of nvme-cli to v2.x, the JSON output of an "nvme list" command contains wrapped-around negative integers for various fields, e.g.: { "Devices":[ { "NameSpace":1, "DevicePath":"/dev/nvme0n1",