docs: media: dvb: enable warnings for most headers

Except for two exception rules and dmx.h, the other files
are already handling properly cross references.

Fix the two exception rules for frontend.h, as those are
false-positives:

	include/uapi/linux/dvb/frontend.h:959: WARNING: can't link to: c:type:: FE_GET_PROPERTY
	include/uapi/linux/dvb/frontend.h:933: WARNING: can't link to: c:func:: FE_SET_FRONTEND_TUNE_MODE

The dmx.h are actual issues that will require an extra
patch to fill gaps.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <9ae6556ebd47de4f066a149ab0bbe7ce27acf2c4.1759329363.git.mchehab+huawei@kernel.org>
This commit is contained in:
Mauro Carvalho Chehab 2025-10-01 16:49:33 +02:00 committed by Jonathan Corbet
parent f0eb1b4ce7
commit a75968226c
2 changed files with 6 additions and 2 deletions

View File

@ -28,13 +28,14 @@ ignore define MAX_DTV_STATS
ignore define DTV_IOCTL_MAX_MSGS
# the same reference is used for both get and set ioctls
replace ioctl FE_SET_PROPERTY :c:type:`FE_GET_PROPERTY`
replace ioctl FE_SET_PROPERTY :ref:`FE_GET_PROPERTY`
replace ioctl FE_GET_PROPERTY :ref:`FE_GET_PROPERTY`
# Typedefs that use the enum reference
replace typedef fe_sec_voltage_t :c:type:`fe_sec_voltage`
# Replaces for flag constants
replace define FE_TUNE_MODE_ONESHOT :c:func:`FE_SET_FRONTEND_TUNE_MODE`
replace define FE_TUNE_MODE_ONESHOT :ref:`FE_SET_FRONTEND_TUNE_MODE`
replace define LNA_AUTO dtv-lna
replace define NO_STREAM_ID_FILTER dtv-stream-id

View File

@ -15,6 +15,7 @@ Frontend
:generate-cross-refs:
:exception-file: frontend.h.rst.exceptions
:toc:
:warn-broken:
Demux
=====
@ -31,6 +32,7 @@ Conditional Access
:generate-cross-refs:
:exception-file: ca.h.rst.exceptions
:toc:
:warn-broken:
Network
=======
@ -39,4 +41,5 @@ Network
:generate-cross-refs:
:exception-file: net.h.rst.exceptions
:toc:
:warn-broken: