mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Hildenbrand <david@redhat.com>
To: "Michael S. Tsirkin" <mst@redhat.com>, linux-kernel@vger.kernel.org
Cc: Jason Wang <jasowang@redhat.com>,
	virtualization@lists.linux-foundation.org
Subject: Re: [PATCH] virtio_mem: fix printk format
Date: Tue, 9 Jun 2020 12:23:17 +0200	[thread overview]
Message-ID: <0fd18b65-c818-016b-be53-6be6ce1817ad@redhat.com> (raw)
In-Reply-To: <20200609095453.865827-1-mst@redhat.com>

On 09.06.20 11:54, Michael S. Tsirkin wrote:
> Fixes: 676fa9ba893e ("virtio_mem: convert device block size into 64bit")
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> ---
>  drivers/virtio/virtio_mem.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/virtio/virtio_mem.c b/drivers/virtio/virtio_mem.c
> index 7b1bece8a331..50c689f25045 100644
> --- a/drivers/virtio/virtio_mem.c
> +++ b/drivers/virtio/virtio_mem.c
> @@ -1717,8 +1717,8 @@ static int virtio_mem_init(struct virtio_mem *vm)
>  		 (unsigned long long)vm->device_block_size);
>  	dev_info(&vm->vdev->dev, "memory block size: 0x%lx",
>  		 memory_block_size_bytes());
> -	dev_info(&vm->vdev->dev, "subblock size: 0x%x",
> -		 vm->subblock_size);
> +	dev_info(&vm->vdev->dev, "subblock size: 0x%llx",
> +		 (unsigned long long)vm->subblock_size);
>  	if (vm->nid != NUMA_NO_NODE)
>  		dev_info(&vm->vdev->dev, "nid: %d", vm->nid);
>  
> 

Acked-by: David Hildenbrand <david@redhat.com>

-- 
Thanks,

David / dhildenb


      reply	other threads:[~2020-06-09 10:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-09  9:54 Michael S. Tsirkin
2020-06-09 10:23 ` David Hildenbrand [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0fd18b65-c818-016b-be53-6be6ce1817ad@redhat.com \
    --to=david@redhat.com \
    --cc=jasowang@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=virtualization@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®