]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
plugins/ocp: underflow + index fixes for telemetry
authorBrandon Paupore <brandon.paupore@wdc.com>
Tue, 18 Jun 2024 15:33:04 +0000 (10:33 -0500)
committerDaniel Wagner <wagi@monom.org>
Wed, 19 Jun 2024 06:55:21 +0000 (08:55 +0200)
commitaf5f508d458196c774595441e179a13185e0d6f1
treeb59568f27384b1d08feba0c0fd582ee5b514a1c7
parent7a90df964dc7beaae75ad0afd9859063e228379d
plugins/ocp: underflow + index fixes for telemetry

Printing the GUID was crashing due to the unsigned int never becoming
less than 0, and fixing that triggered a warning about an incorrect max
index when printing Event FIFO data.

Signed-off-by: Brandon Paupore <brandon.paupore@wdc.com>
plugins/ocp/ocp-nvme.c