]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/block/nvme: align with existing style
authorGollu Appalanaidu <anaidu.gollu@samsung.com>
Fri, 16 Apr 2021 03:52:28 +0000 (09:22 +0530)
committerMichael Roth <michael.roth@amd.com>
Thu, 14 Oct 2021 22:04:59 +0000 (17:04 -0500)
commitaa99651295cf13aafa8db030c3cc1a0c1b64427d
tree9f7334dc15426ae71d7f29e3c5fea30728f5bbde
parent765ed56e7606c0993e47619db38471d3210963c4
hw/block/nvme: align with existing style

While QEMU coding style prefers lowercase hexadecimals in constants, the
NVMe subsystem uses the format from the NVMe specifications in comments,
i.e. 'h' suffix instead of '0x' prefix.

Fix this up across the code base.

Signed-off-by: Gollu Appalanaidu <anaidu.gollu@samsung.com>
[k.jensen: updated message; added conversion in a couple of missing comments]
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
(cherry picked from commit 312c3531bba416e589f106db8c8241fc6e7e6332)
*context dependency for 2b02aabc9d
Signed-off-by: Michael Roth <michael.roth@amd.com>
hw/block/nvme-ns.c
hw/block/nvme.c
include/block/nvme.h