lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0fd18b65-c818-016b-be53-6be6ce1817ad@redhat.com>
Date:   Tue, 9 Jun 2020 12:23:17 +0200
From:   David Hildenbrand <david@...hat.com>
To:     "Michael S. Tsirkin" <mst@...hat.com>, linux-kernel@...r.kernel.org
Cc:     Jason Wang <jasowang@...hat.com>,
        virtualization@...ts.linux-foundation.org
Subject: Re: [PATCH] virtio_mem: fix printk format

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@...hat.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@...hat.com>

-- 
Thanks,

David / dhildenb

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ