* [PATCH] virtio_pci_modern: Fix the comment of virtio_pci_find_capability()
@ 2020-08-03 11:52 Yi Wang
2020-08-04 2:13 ` Jason Wang
0 siblings, 1 reply; 2+ messages in thread
From: Yi Wang @ 2020-08-03 11:52 UTC (permalink / raw)
To: mst
Cc: jasowang, virtualization, linux-kernel, xue.zhihong, wang.yi59,
wang.liang82, Liao Pingfang
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>
---
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.
*/
--
2.26.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] virtio_pci_modern: Fix the comment of virtio_pci_find_capability()
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
0 siblings, 0 replies; 2+ messages in thread
From: Jason Wang @ 2020-08-04 2:13 UTC (permalink / raw)
To: Yi Wang, mst
Cc: virtualization, linux-kernel, xue.zhihong, wang.liang82,
Liao Pingfang
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.
> */
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-04 2:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox