nvmecontrol: Appease a meaningless signed error warning thing

Consistently use the weird ssize_t type for things I know are unsigned,
but which none-the-less need to be compared to signed things to prevent
a bogus warning. Sigh, these aren't bugs, can't possibly be bugs and
a waste of time to fix.

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2024-05-11 13:01:10 -06:00
parent e63d20b70e
commit 3d966ae789

View File

@ -96,9 +96,9 @@ telemetry_log(const struct cmd *f, int argc, char *argv[])
int fd, fdout; int fd, fdout;
char *path; char *path;
uint32_t nsid; uint32_t nsid;
uint64_t size; ssize_t size;
uint64_t off; uint64_t off;
uint32_t chunk; ssize_t chunk;
struct nvme_controller_data cdata; struct nvme_controller_data cdata;
bool can_telemetry; bool can_telemetry;
struct nvme_telemetry_log_page tlp, buf; struct nvme_telemetry_log_page tlp, buf;