diff options
| author | Philippe Mathieu-Daudé | 2020-10-29 10:32:50 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi | 2020-11-03 20:06:21 +0100 |
| commit | 1b539bd6dbe1459f160e25610ec2fc3388f700e8 (patch) | |
| tree | edbef0008fff178a54677faaad90487a633d1adb /include | |
| parent | block/nvme: Move definitions before structure declarations (diff) | |
| download | qemu-1b539bd6dbe1459f160e25610ec2fc3388f700e8.tar.gz qemu-1b539bd6dbe1459f160e25610ec2fc3388f700e8.tar.xz qemu-1b539bd6dbe1459f160e25610ec2fc3388f700e8.zip | |
block/nvme: Use unsigned integer for queue counter/size
We can not have negative queue count/size/index, use unsigned type.
Rename 'nr_queues' as 'queue_count' to match the spec naming.
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20201029093306.1063879-10-philmd@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
