Re: [PATCH 2/2] hw/block/nvme: align reserved fields declarations

2021-04-14 Thread Klaus Jensen

On Mar 17 15:00, Gollu Appalanaidu wrote:

Align the Reserved fields declaration in NvmeBar

Signed-off-by: Gollu Appalanaidu 
---
include/block/nvme.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/block/nvme.h b/include/block/nvme.h
index fc65cfcb01..e5bd00bb85 100644
--- a/include/block/nvme.h
+++ b/include/block/nvme.h
@@ -7,7 +7,7 @@ typedef struct QEMU_PACKED NvmeBar {
uint32_tintms;
uint32_tintmc;
uint32_tcc;
-uint32_trsvd1;
+uint8_t rsvd24[4];
uint32_tcsts;
uint32_tnssrc;
uint32_taqa;
--
2.17.1



Thanks. Applied to nvme-next with a small commit message fixup!


signature.asc
Description: PGP signature


[PATCH 2/2] hw/block/nvme: align reserved fields declarations

2021-03-17 Thread Gollu Appalanaidu
Align the Reserved fields declaration in NvmeBar

Signed-off-by: Gollu Appalanaidu 
---
 include/block/nvme.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/block/nvme.h b/include/block/nvme.h
index fc65cfcb01..e5bd00bb85 100644
--- a/include/block/nvme.h
+++ b/include/block/nvme.h
@@ -7,7 +7,7 @@ typedef struct QEMU_PACKED NvmeBar {
 uint32_tintms;
 uint32_tintmc;
 uint32_tcc;
-uint32_trsvd1;
+uint8_t rsvd24[4];
 uint32_tcsts;
 uint32_tnssrc;
 uint32_taqa;
-- 
2.17.1