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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bbe52a89-c7ea-c155-6226-0397f223cd80@linux.alibaba.com>
Date:   Fri, 16 Jul 2021 20:46:37 +0800
From:   tianxianting <xianting.tian@...ux.alibaba.com>
To:     Xianting Tian <xianting_tian@....com>, mst@...hat.com,
        jasowang@...hat.com, david@...hat.com
Cc:     virtualization@...ts.linux-foundation.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] virtio-balloon: Use virtio_find_vqs() helper

Do you interest in this patch? just little improvment:)

在 2021/7/13 下午11:38, Xianting Tian 写道:
> From: Xianting Tian <xianting.tian@...ux.alibaba.com>
>
> Use the helper virtio_find_vqs().
>
> Signed-off-by: Xianting Tian <xianting.tian@...ux.alibaba.com>
> ---
>   drivers/virtio/virtio_balloon.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c
> index 510e931..18e0bf3 100644
> --- a/drivers/virtio/virtio_balloon.c
> +++ b/drivers/virtio/virtio_balloon.c
> @@ -531,8 +531,8 @@ static int init_vqs(struct virtio_balloon *vb)
>   		callbacks[VIRTIO_BALLOON_VQ_REPORTING] = balloon_ack;
>   	}
>   
> -	err = vb->vdev->config->find_vqs(vb->vdev, VIRTIO_BALLOON_VQ_MAX,
> -					 vqs, callbacks, names, NULL, NULL);
> +	err = virtio_find_vqs(vb->vdev, VIRTIO_BALLOON_VQ_MAX, vqs,
> +				callbacks, names, NULL);
>   	if (err)
>   		return err;
>   

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ