linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the vfio tree
@ 2023-04-12  4:32 Stephen Rothwell
  2023-04-13 22:33 ` Alex Williamson
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2023-04-12  4:32 UTC (permalink / raw)
  To: Alex Williamson
  Cc: Yi Liu, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 358 bytes --]

Hi all,

After merging the vfio tree, today's linux-next build (htmldocs) produced
this warning:

Documentation/virt/kvm/devices/vfio.rst:45: WARNING: Literal block expected; none found.

Introduced by commit

  25e1b301a946 ("docs: kvm: vfio: Suggest KVM_DEV_VFIO_GROUP_ADD vs VFIO_GROUP_GET_DEVICE_FD ordering")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: linux-next: build warning after merge of the vfio tree
  2023-04-12  4:32 Stephen Rothwell
@ 2023-04-13 22:33 ` Alex Williamson
  0 siblings, 0 replies; 4+ messages in thread
From: Alex Williamson @ 2023-04-13 22:33 UTC (permalink / raw)
  To: Yi Liu; +Cc: Stephen Rothwell, Linux Kernel Mailing List,
	Linux Next Mailing List

On Wed, 12 Apr 2023 14:32:29 +1000
Stephen Rothwell <sfr@canb.auug.org.au> wrote:

> Hi all,
> 
> After merging the vfio tree, today's linux-next build (htmldocs) produced
> this warning:
> 
> Documentation/virt/kvm/devices/vfio.rst:45: WARNING: Literal block expected; none found.
> 
> Introduced by commit
> 
>   25e1b301a946 ("docs: kvm: vfio: Suggest KVM_DEV_VFIO_GROUP_ADD vs VFIO_GROUP_GET_DEVICE_FD ordering")
> 

Thanks, Stephen!

Hi Yi,

Clearly this comes from:

diff --git a/Documentation/virt/kvm/devices/vfio.rst b/Documentation/virt/kvm/devices/vfio.rst
index 2d20dc561069..79b6811bb4f3 100644
--- a/Documentation/virt/kvm/devices/vfio.rst
+++ b/Documentation/virt/kvm/devices/vfio.rst
@@ -39,3 +39,10 @@ KVM_DEV_VFIO_GROUP attributes:
        - @groupfd is a file descriptor for a VFIO group;
        - @tablefd is a file descriptor for a TCE table allocated via
          KVM_CREATE_SPAPR_TCE.
+
+::
+
+The GROUP_ADD operation above should be invoked prior to accessing the
+device file descriptor via VFIO_GROUP_GET_DEVICE_FD in order to support
+drivers which require a kvm pointer to be set in their .open_device()
+callback.

Were you looking for this paragraph to be formatted like an
implementation note in a similar way to a block quote, for example:

https://docs.kernel.org/process/2.Process.html#getting-started-with-kernel-development

We need tabs preceding each line to get that effect.

If there's no objection, I'll just fix the original commit with that
change given how little is currently in my next branch.  Thanks,

Alex


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* linux-next: build warning after merge of the vfio tree
@ 2023-12-20  3:31 Stephen Rothwell
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Rothwell @ 2023-12-20  3:31 UTC (permalink / raw)
  To: Alex Williamson
  Cc: Yishai Hadas, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 517 bytes --]

Hi all,

After merging the vfio tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/vfio/pci/virtio/main.c:550:6: warning: no previous prototype for 'virtiovf_pci_aer_reset_done' [-Wmissing-prototypes]
  550 | void virtiovf_pci_aer_reset_done(struct pci_dev *pdev)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

  eb61eca0e8c3 ("vfio/virtio: Introduce a vfio driver over virtio devices")

It should probably be static.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* linux-next: build warning after merge of the vfio tree
@ 2025-08-28  2:30 Stephen Rothwell
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Rothwell @ 2025-08-28  2:30 UTC (permalink / raw)
  To: Alex Williamson
  Cc: Alex Mastro, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 357 bytes --]

Hi all,

After merging the vfio tree, today's linux-next build (htmldocs) produced
this warning:

Documentation/filesystems/proc.rst:2171: WARNING: Title underline too short.

VFIO Device files
~~~~~~~~~~~~~~~~ [docutils]

Introduced by commit

  1e736f148956 ("vfio/pci: print vfio-device syspath to fdinfo")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-08-28  2:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-28  2:30 linux-next: build warning after merge of the vfio tree Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2023-12-20  3:31 Stephen Rothwell
2023-04-12  4:32 Stephen Rothwell
2023-04-13 22:33 ` Alex Williamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).