From: Jason Wang <jasowang@redhat.com>
To: Yi Wang <wang.yi59@zte.com.cn>, mst@redhat.com
Cc: virtualization@lists.linux-foundation.org,
linux-kernel@vger.kernel.org, xue.zhihong@zte.com.cn,
wang.liang82@zte.com.cn, Liao Pingfang <liao.pingfang@zte.com.cn>
Subject: Re: [PATCH] virtio_pci_modern: Fix the comment of virtio_pci_find_capability()
Date: Tue, 4 Aug 2020 10:13:50 +0800 [thread overview]
Message-ID: <75b74fe2-a025-7f31-cc14-61605e00aad5@redhat.com> (raw)
In-Reply-To: <1596455545-43556-1-git-send-email-wang.yi59@zte.com.cn>
On 2020/8/3 下午7:52, Yi Wang wrote:
> From: Liao Pingfang <liao.pingfang@zte.com.cn>
>
> Fix the comment of virtio_pci_find_capability() by adding missing comment
> for the last parameter: bars.
>
> Fixes: 59a5b0f7bf74 ("virtio-pci: alloc only resources actually used.")
> Signed-off-by: Liao Pingfang <liao.pingfang@zte.com.cn>
> Signed-off-by: Yi Wang <wang.yi59@zte.com.cn>
Acked-by: Jason Wang <jasowang@redhat.com>
> ---
> drivers/virtio/virtio_pci_modern.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/virtio/virtio_pci_modern.c b/drivers/virtio/virtio_pci_modern.c
> index db93cedd262f..9bdc6f68221f 100644
> --- a/drivers/virtio/virtio_pci_modern.c
> +++ b/drivers/virtio/virtio_pci_modern.c
> @@ -481,6 +481,7 @@ static const struct virtio_config_ops virtio_pci_config_ops = {
> * @dev: the pci device
> * @cfg_type: the VIRTIO_PCI_CAP_* value we seek
> * @ioresource_types: IORESOURCE_MEM and/or IORESOURCE_IO.
> + * @bars: the bitmask of BARs
> *
> * Returns offset of the capability, or 0.
> */
prev parent reply other threads:[~2020-08-04 2:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-03 11:52 [PATCH] virtio_pci_modern: Fix the comment of virtio_pci_find_capability() Yi Wang
2020-08-04 2:13 ` Jason Wang [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=75b74fe2-a025-7f31-cc14-61605e00aad5@redhat.com \
--to=jasowang@redhat.com \
--cc=liao.pingfang@zte.com.cn \
--cc=linux-kernel@vger.kernel.org \
--cc=mst@redhat.com \
--cc=virtualization@lists.linux-foundation.org \
--cc=wang.liang82@zte.com.cn \
--cc=wang.yi59@zte.com.cn \
--cc=xue.zhihong@zte.com.cn \
/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