]> Git Repo - qemu.git/commit - block/nvme.c
block/nvme: Use definitions instead of magic values in add_io_queue()
authorPhilippe Mathieu-Daudé <[email protected]>
Thu, 29 Oct 2020 09:32:54 +0000 (10:32 +0100)
committerStefan Hajnoczi <[email protected]>
Tue, 3 Nov 2020 19:06:21 +0000 (19:06 +0000)
commit76a24781cc82d99251f933c399d78af52e1d9b0e
treeca25a05a2e7b277c0643bb74b86f6bbb77f6126b
parent54248d4d73ddbce38e240056dacf582f92da872d
block/nvme: Use definitions instead of magic values in add_io_queue()

Replace magic values by definitions, and simplifiy since the
number of queues will never reach 64K.

Reviewed-by: Eric Auger <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Tested-by: Eric Auger <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-id: 20201029093306.1063879[email protected]
Signed-off-by: Stefan Hajnoczi <[email protected]>
Tested-by: Eric Auger <[email protected]>
block/nvme.c
This page took 0.026398 seconds and 4 git commands to generate.