freebsd-src/sbin/nvmecontrol
John Baldwin c8703409ed nvmecontrol: Fix a sign compare mismatch
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
2024-05-07 13:54:00 -07:00
..
modules nvmecontrol: Move intel temperature page printing to little endian orderinng 2024-04-16 21:30:18 -06:00
tests Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
comnd.c sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
comnd.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
connect.c nvmecontrol: New commands to support Fabrics hosts 2024-05-02 16:30:10 -07:00
devlist.c nvmecontrol: Use the NVMEV macro instead of expanded versions 2024-01-29 10:34:02 -08:00
disconnect.c nvmecontrol: New commands to support Fabrics hosts 2024-05-02 16:30:10 -07:00
discover.c nvmecontrol: New commands to support Fabrics hosts 2024-05-02 16:30:10 -07:00
fabrics.c nvmecontrol: Fix a sign compare mismatch 2024-05-07 13:54:00 -07:00
fabrics.h nvmecontrol: New commands to support Fabrics hosts 2024-05-02 16:30:10 -07:00
firmware.c nvmecontrol: Add nvme 2.0 fields to read_logpage 2024-04-16 21:30:19 -06:00
format.c nvmecontrol: Use the NVMEV macro instead of expanded versions 2024-01-29 10:34:02 -08:00
identify.c nvmecontrol: Use the NVMEV macro instead of expanded versions 2024-01-29 10:34:02 -08:00
identify_ext.c nvmecontrol: Display additional Fabrics-related fields for cdata 2024-03-22 17:25:07 -07:00
logpage.c nvmecontrol: Add nvme 2.0 fields to read_logpage 2024-04-16 21:30:19 -06:00
Makefile nvmecontrol: New commands to support Fabrics hosts 2024-05-02 16:30:10 -07:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
nc_util.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
ns.c nvmecontrol: add newlines where needed for ns command printfs 2024-04-16 21:30:19 -06:00
nsid.c sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
nvmecontrol.8 nvmecontrol: New commands to support Fabrics hosts 2024-05-02 16:30:10 -07:00
nvmecontrol.c nvmecontrol: Allow optional /dev/ for device names 2024-05-02 15:52:20 -06:00
nvmecontrol.h nvmecontrol(8): Remove a double word in a source code comment 2024-04-20 11:18:59 +02:00
nvmecontrol_ext.h Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:16 -06:00
passthru.c sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
perftest.c sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
power.c nvmecontrol: Use the NVMEV macro instead of expanded versions 2024-01-29 10:34:02 -08:00
reconnect.c nvmecontrol: New commands to support Fabrics hosts 2024-05-02 16:30:10 -07:00
reset.c sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
resv.c sbin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00
sanitize.c nvmecontrol: Add nvme 2.0 fields to read_logpage 2024-04-16 21:30:19 -06:00
selftest.c nvmecontrol: Use the NVMEV macro instead of expanded versions 2024-01-29 10:34:02 -08:00