qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] hw/block/nvme: function formatting fix
       [not found] <CGME20210420192552epcas5p4d48e9f845a34bd1881ab1b297ed5d780@epcas5p4.samsung.com>
@ 2021-04-20 19:22 ` Gollu Appalanaidu
  2021-04-21  4:45   ` Klaus Jensen
  0 siblings, 1 reply; 2+ messages in thread
From: Gollu Appalanaidu @ 2021-04-20 19:22 UTC (permalink / raw)
  To: qemu-devel
  Cc: fam, kwolf, qemu-block, Gollu Appalanaidu, mreitz, its, stefanha, kbusch

nvme_map_addr_pmr function arguments not aligned, fix that.

Signed-off-by: Gollu Appalanaidu <anaidu.gollu@samsung.com>
---
 hw/block/nvme.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/block/nvme.c b/hw/block/nvme.c
index 624a1431d0..63ceeb47bd 100644
--- a/hw/block/nvme.c
+++ b/hw/block/nvme.c
@@ -574,7 +574,7 @@ static uint16_t nvme_map_addr_cmb(NvmeCtrl *n, QEMUIOVector *iov, hwaddr addr,
 }
 
 static uint16_t nvme_map_addr_pmr(NvmeCtrl *n, QEMUIOVector *iov, hwaddr addr,
-    size_t len)
+                                  size_t len)
 {
     if (!len) {
         return NVME_SUCCESS;
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] hw/block/nvme: function formatting fix
  2021-04-20 19:22 ` [PATCH] hw/block/nvme: function formatting fix Gollu Appalanaidu
@ 2021-04-21  4:45   ` Klaus Jensen
  0 siblings, 0 replies; 2+ messages in thread
From: Klaus Jensen @ 2021-04-21  4:45 UTC (permalink / raw)
  To: Gollu Appalanaidu
  Cc: fam, kwolf, qemu-block, qemu-devel, mreitz, stefanha, kbusch

[-- Attachment #1: Type: text/plain, Size: 750 bytes --]

On Apr 21 00:52, Gollu Appalanaidu wrote:
>nvme_map_addr_pmr function arguments not aligned, fix that.
>
>Signed-off-by: Gollu Appalanaidu <anaidu.gollu@samsung.com>
>---
> hw/block/nvme.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/hw/block/nvme.c b/hw/block/nvme.c
>index 624a1431d0..63ceeb47bd 100644
>--- a/hw/block/nvme.c
>+++ b/hw/block/nvme.c
>@@ -574,7 +574,7 @@ static uint16_t nvme_map_addr_cmb(NvmeCtrl *n, QEMUIOVector *iov, hwaddr addr,
> }
>
> static uint16_t nvme_map_addr_pmr(NvmeCtrl *n, QEMUIOVector *iov, hwaddr addr,
>-    size_t len)
>+                                  size_t len)
> {
>     if (!len) {
>         return NVME_SUCCESS;
>-- 
>2.17.1
>
>

Applied to nvme-next.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-21  4:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20210420192552epcas5p4d48e9f845a34bd1881ab1b297ed5d780@epcas5p4.samsung.com>
2021-04-20 19:22 ` [PATCH] hw/block/nvme: function formatting fix Gollu Appalanaidu
2021-04-21  4:45   ` Klaus Jensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).