* [PATCH] virtio-blk: Fix data type of num_queues field
@ 2024-05-21 12:21 Parav Pandit
2024-05-22 18:10 ` Stefan Hajnoczi
2024-05-23 11:01 ` Stefano Garzarella
0 siblings, 2 replies; 3+ messages in thread
From: Parav Pandit @ 2024-05-21 12:21 UTC (permalink / raw)
To: virtio-comment, mst, cohuck; +Cc: shahafs, Parav Pandit, Max Gurtovoy
Correct the endianness of num_queues field to be little endian.
Suggested-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Reviewed-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Signed-off-by: Parav Pandit <parav@nvidia.com>
---
device-types/blk/description.tex | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/device-types/blk/description.tex b/device-types/blk/description.tex
index f04c932..2712ada 100644
--- a/device-types/blk/description.tex
+++ b/device-types/blk/description.tex
@@ -108,7 +108,7 @@ \subsection{Device configuration layout}\label{sec:Device Types / Block Device /
} topology;
u8 writeback;
u8 unused0;
- u16 num_queues;
+ le16 num_queues;
le32 max_discard_sectors;
le32 max_discard_seg;
le32 discard_sector_alignment;
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] virtio-blk: Fix data type of num_queues field
2024-05-21 12:21 [PATCH] virtio-blk: Fix data type of num_queues field Parav Pandit
@ 2024-05-22 18:10 ` Stefan Hajnoczi
2024-05-23 11:01 ` Stefano Garzarella
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Hajnoczi @ 2024-05-22 18:10 UTC (permalink / raw)
To: Parav Pandit; +Cc: virtio-comment, mst, cohuck, shahafs, Max Gurtovoy
[-- Attachment #1: Type: text/plain, Size: 444 bytes --]
On Tue, May 21, 2024 at 03:21:19PM +0300, Parav Pandit wrote:
> Correct the endianness of num_queues field to be little endian.
>
> Suggested-by: Max Gurtovoy <mgurtovoy@nvidia.com>
> Reviewed-by: Max Gurtovoy <mgurtovoy@nvidia.com>
> Signed-off-by: Parav Pandit <parav@nvidia.com>
> ---
> device-types/blk/description.tex | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] virtio-blk: Fix data type of num_queues field
2024-05-21 12:21 [PATCH] virtio-blk: Fix data type of num_queues field Parav Pandit
2024-05-22 18:10 ` Stefan Hajnoczi
@ 2024-05-23 11:01 ` Stefano Garzarella
1 sibling, 0 replies; 3+ messages in thread
From: Stefano Garzarella @ 2024-05-23 11:01 UTC (permalink / raw)
To: Parav Pandit; +Cc: virtio-comment, mst, cohuck, shahafs, Max Gurtovoy
On Tue, May 21, 2024 at 03:21:19PM GMT, Parav Pandit wrote:
>Correct the endianness of num_queues field to be little endian.
>
>Suggested-by: Max Gurtovoy <mgurtovoy@nvidia.com>
>Reviewed-by: Max Gurtovoy <mgurtovoy@nvidia.com>
>Signed-off-by: Parav Pandit <parav@nvidia.com>
>---
> device-types/blk/description.tex | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
>
>diff --git a/device-types/blk/description.tex b/device-types/blk/description.tex
>index f04c932..2712ada 100644
>--- a/device-types/blk/description.tex
>+++ b/device-types/blk/description.tex
>@@ -108,7 +108,7 @@ \subsection{Device configuration layout}\label{sec:Device Types / Block Device /
> } topology;
> u8 writeback;
> u8 unused0;
>- u16 num_queues;
>+ le16 num_queues;
> le32 max_discard_sectors;
> le32 max_discard_seg;
> le32 discard_sector_alignment;
>--
>2.34.1
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-05-23 11:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-21 12:21 [PATCH] virtio-blk: Fix data type of num_queues field Parav Pandit
2024-05-22 18:10 ` Stefan Hajnoczi
2024-05-23 11:01 ` Stefano Garzarella
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox