[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 10/25] block/nvme: Use unsigned integer for queue counter/siz
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH 10/25] block/nvme: Use unsigned integer for queue counter/size |
Date: |
Wed, 28 Oct 2020 15:49:12 +0000 |
On Tue, Oct 27, 2020 at 02:55:32PM +0100, Philippe Mathieu-Daudé wrote:
> We can not have negative queue count/size/index, use unsigned type.
> Rename 'nr_queues' as 'queue_count' to match the spec naming.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> block/nvme.c | 38 ++++++++++++++++++--------------------
> block/trace-events | 10 +++++-----
> 2 files changed, 23 insertions(+), 25 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
signature.asc
Description: PGP signature
- Re: [PATCH 06/25] block/nvme: Improve nvme_free_req_queue_wait() trace information, (continued)
- [PATCH 09/25] block/nvme: Move definitions before structure declarations, Philippe Mathieu-Daudé, 2020/10/27
- [PATCH 07/25] block/nvme: Trace queue pair creation/deletion, Philippe Mathieu-Daudé, 2020/10/27
- [PATCH 10/25] block/nvme: Use unsigned integer for queue counter/size, Philippe Mathieu-Daudé, 2020/10/27
- [PATCH 11/25] block/nvme: Make nvme_identify() return boolean indicating error, Philippe Mathieu-Daudé, 2020/10/27
- [PATCH 08/25] block/nvme: Simplify device reset, Philippe Mathieu-Daudé, 2020/10/27