mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 20:01:08 +01:00
c8703409ed
Even though mqes (uint16_t) and queue_size (u_int) are both unsigned, the expression 'mqes + 1' gets promoted to int which is signed. Keep the value unsigned by explicitly promoting mqes to u_int before incrementing the value. Reported by: GCC |
||
---|---|---|
.. | ||
modules | ||
tests | ||
comnd.c | ||
comnd.h | ||
connect.c | ||
devlist.c | ||
disconnect.c | ||
discover.c | ||
fabrics.c | ||
fabrics.h | ||
firmware.c | ||
format.c | ||
identify_ext.c | ||
identify.c | ||
logpage.c | ||
Makefile | ||
Makefile.depend | ||
nc_util.c | ||
ns.c | ||
nsid.c | ||
nvmecontrol_ext.h | ||
nvmecontrol.8 | ||
nvmecontrol.c | ||
nvmecontrol.h | ||
passthru.c | ||
perftest.c | ||
power.c | ||
reconnect.c | ||
reset.c | ||
resv.c | ||
sanitize.c | ||
selftest.c |