summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorMohamed Khalfella <mkhalfella@purestorage.com>2026-08-21 16:03:10 -0700
committerKeith Busch <kbusch@kernel.org>2026-09-03 14:15:10 -0700
commit59fe1cbc57235495a5f08dd53db176e3e3250356 (patch)
treef1af4d5a56741a9cc3cb7c209b407dcd9cb7df3c /scripts/Makefile.thinlto
parentb2d8f2a3723103abd0f8b388691ad95817d4fff4 (diff)
downloadlinux-59fe1cbc57235495a5f08dd53db176e3e3250356.tar.gz
linux-59fe1cbc57235495a5f08dd53db176e3e3250356.zip
nvmet: print namespace IDs as unsigned 32bit value
struct nvmet_ns.nsid is a u32, but a few messages print it with %d. An NSID larger than 0x7fffffff is rendered as a negative number, which is misleading in general and particularly so for the configfs messages that echo back the NSID the user just asked for. For example: [ T200] nvmet: adding nsid -16 to subsystem mysubsystem Print them with %u. The invalid-NSID error in nvmet_ns_make() keeps its %#x because the two values it rejects, 0 and NVME_NSID_ALL, are more readable in hex format. No functional change other than how the NSID is formatted. Fixes: a07b4970f464 ("nvmet: add a generic NVMe target") Fixes: c6925093d0b2 ("nvmet: Optionally use PCI P2P memory") Fixes: 5a47c2080a73 ("nvmet: support reservation feature") Signed-off-by: Mohamed Khalfella <mkhalfella@purestorage.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions