QEMU-Devel Archive on lore.kernel.org
 help / color / 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	[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, back to index

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

QEMU-Devel Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/qemu-devel/0 qemu-devel/git/0.git
	git clone --mirror https://lore.kernel.org/qemu-devel/1 qemu-devel/git/1.git
	git clone --mirror https://lore.kernel.org/qemu-devel/2 qemu-devel/git/2.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 qemu-devel qemu-devel/ https://lore.kernel.org/qemu-devel \
		qemu-devel@nongnu.org
	public-inbox-index qemu-devel

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.nongnu.qemu-devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git