Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1382645pxb; Thu, 4 Mar 2021 09:53:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJz6l+ctQWDP50VAjqobPdxtPiByVeeJLQP7Z1Q37nxpoEE8nU0i+TWSWhMTXFSrFCO+uWmH X-Received: by 2002:aa7:da97:: with SMTP id q23mr5648165eds.180.1614880426248; Thu, 04 Mar 2021 09:53:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614880426; cv=none; d=google.com; s=arc-20160816; b=sFvfRI2cokkOZiVt4MczpUJXHy9Mr2yhsTwVoeUd6S57jwoiQWHB7+lSz8pbg8PUaZ 1qoQIxdHGTemAx2pArkHayQiDt7L5izUDToB3hJv+HRljD6YI7goCWVcZvLMvnEgBQQv RtPDk7y2ZVto4GICcyHS6Rk7AUHHIJHXnOFyxK0PeY+t8tRPWikzYrzVgGzJK5TPaiAu A8cnu0qrW6D6DL89sgwx9HuMCv+qsT/bwj0CxQK/3SW+289yQf3liI7hOOcajearHoJJ XQUPG5DJyF0f3psTvL2a8DzCC/TwojNK/v8In896XBcUff3KJjx612iNf3pjXDsKbIgP UcEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=5iJrpAHmEbJ2y5suphyMiLdQvv55OW2BLsI9DCPp5lM=; b=XipNvvBSK3AScqivb4Tzsg4ThH0HvZTj+GjXgQcNRUIBvtVkAd+2NQFukLBKN/MXCp JXNfATaTpEGkU8TQs674hFpD53BDCGz+GwbMxHhzR/JyRFYpxdlMxEW6QwWxcHhOsxxs jOqS4p48ab/hxW2qc1lizKxulG4CA7kM+xCmPZWReAJHWhQkipIr7Xuhv55hRt3Zh/5K I+TQdWV45/pBwqHnTsNyvqejHbtaTnILx6kgDCYwAOun+u0kMoFzPMIBtg4hC6dNSQnf yGiEIHGmuxdfQoi9XFYQU2by/lAQgHzPcL//OShIPu5F9EeYD9tz+G8aAwXRG0Nc/Dnh n/aQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=M4LwAL4A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n20si80583edq.273.2021.03.04.09.53.23; Thu, 04 Mar 2021 09:53:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=M4LwAL4A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233964AbhCDPNZ (ORCPT + 99 others); Thu, 4 Mar 2021 10:13:25 -0500 Received: from mail.kernel.org ([198.145.29.99]:37726 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233942AbhCDPNL (ORCPT ); Thu, 4 Mar 2021 10:13:11 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 57DE564F8C; Thu, 4 Mar 2021 15:12:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614870751; bh=25xF9sxBXzHuPYFIpFmZ8ZpVOt0/JIv2FsYeZt7ebbc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=M4LwAL4AChLycJdhLSAJh2Xp4vSt8v3D7rIWX/4Sai9Zd7dNnQZLu6kQ+Zes7fGKm ggXD2xslVNoJHvm/HKfsBGSNPmt+peGw8jy+X5VmhvSnUagah6AZoHMw2l4dG9dJdZ pJup9xKDMcmNlorPJsJQn+XOmlBlnxdkqSucI3jXVnPTHbOW6+Uh8UH59aPO95feRw lKr0pFbHtXrlPaU9zPburnYE8SBEUyJXXqLGd/pr6sbvjwuFJlrB4/jp6Py5qTMNeU mAEkqHsjogWHyVKS5RIKKZVt8bWTrwA8x8urYFBbxoMwsblCkNWKfZ/u5fPv2wRFUz AqT7tZBLkyJLw== Date: Thu, 4 Mar 2021 16:12:27 +0100 From: Mauro Carvalho Chehab To: Stephen Rothwell Cc: Linux Kernel Mailing List , Linux Next Mailing List , linux-doc@vger.kernel.org Subject: Re: linux-next: build warnings after merge of the v4l-dvb tree Message-ID: <20210304161227.6bd94bc7@coco.lan> In-Reply-To: <20210304125042.68cc1041@canb.auug.org.au> References: <20210304125042.68cc1041@canb.auug.org.au> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, 4 Mar 2021 12:50:42 +1100 Stephen Rothwell escreveu: > Hi all, > > After merging the v4l-dvb tree, today's linux-next build (htmldocs) > produced these warnings: > > Documentation/userspace-api/media/v4l/hist-v4l2.rst:818: WARNING: undefined label: control-flags (if the link has no caption the label must precede a section header) > Documentation/userspace-api/media/v4l/hist-v4l2.rst:853: WARNING: undefined label: reserved-formats (if the link has no caption the label must precede a section header) > Documentation/userspace-api/media/v4l/pixfmt-v4l2.rst:47: WARNING: undefined label: reserved-formats (if the link has no caption the label must precede a section header) > Documentation/userspace-api/media/v4l/subdev-formats.rst:39: WARNING: undefined label: v4l2-subdev-mbus-code-flags (if the link has no caption the label must precede a section header) > Documentation/userspace-api/media/v4l/subdev-formats.rst:53: WARNING: undefined label: v4l2-subdev-mbus-code-flags (if the link has no caption the label must precede a section header) > Documentation/userspace-api/media/v4l/subdev-formats.rst:67: WARNING: undefined label: v4l2-subdev-mbus-code-flags (if the link has no caption the label must precede a section header) > Documentation/userspace-api/media/v4l/subdev-formats.rst:83: WARNING: undefined label: v4l2-subdev-mbus-code-flags (if the link has no caption the label must precede a section header) > Documentation/userspace-api/media/v4l/subdev-formats.rst:97: WARNING: undefined label: v4l2-subdev-mbus-code-flags (if the link has no caption the label must precede a section header) > Documentation/userspace-api/media/v4l/subdev-formats.rst:140: WARNING: undefined label: v4l2-subdev-mbus-code-flags (if the link has no caption the label must precede a section header) > Documentation/userspace-api/media/v4l/vidioc-decoder-cmd.rst:75: WARNING: undefined label: decoder-cmds (if the link has no caption the label must precede a section header) > Documentation/userspace-api/media/v4l/vidioc-dqevent.rst:234: WARNING: undefined label: control-flags (if the link has no caption the label must precede a section header) > Documentation/userspace-api/media/v4l/vidioc-g-dv-timings.rst:156: WARNING: undefined label: dv-bt-flags (if the link has no caption the label must precede a section header) > Documentation/userspace-api/media/v4l/vidioc-g-ext-ctrls.rst:41: WARNING: undefined label: ctrl-class (if the link has no caption the label must precede a section header) > Documentation/userspace-api/media/v4l/vidioc-g-ext-ctrls.rst:246: WARNING: undefined label: ctrl-class (if the link has no caption the label must precede a section header) > Documentation/userspace-api/media/v4l/vidioc-g-ext-ctrls.rst:269: WARNING: undefined label: ctrl-class (if the link has no caption the label must precede a section header) > Documentation/userspace-api/media/v4l/vidioc-g-modulator.rst:100: WARNING: undefined label: modulator-txsubchans (if the link has no caption the label must precede a section header) > Documentation/userspace-api/media/v4l/vidioc-g-tuner.rst:119: WARNING: undefined label: tuner-rxsubchans (if the link has no caption the label must precede a section header) > Documentation/userspace-api/media/v4l/vidioc-queryctrl.rst:167: WARNING: undefined label: control-flags (if the link has no caption the label must precede a section header) > Documentation/userspace-api/media/v4l/vidioc-queryctrl.rst:245: WARNING: undefined label: control-flags (if the link has no caption the label must precede a section header) > Documentation/userspace-api/media/v4l/vidioc-queryctrl.rst:396: WARNING: undefined label: ctrl-class (if the link has no caption the label must precede a section header) > Documentation/userspace-api/media/v4l/vidioc-subdev-enum-mbus-code.rst:73: WARNING: undefined label: v4l2-subdev-mbus-code-flags (if the link has no caption the label must precede a section header) > > I don't know what caused this, sorry. > Those are because the identifiers are misplaced. There are several modifiers that will affect how a table will be displayed: .. tabularcolumns:: .. cssclass:: .. raw:: latex Those three above are needed to adjust LaTeX PDF font size on big tables and: .. _identifier: to create an identifier (named `identifier` on this example). Such tags need to be on a very specific order. When the order is wrong, Sphinx will ignore some of the tags. Unfortunately, I never saw anywhere at Sphinx/docutils what would be the expected order for such tags. The enclosed patch fix the warnings, but I need to double check if it won't break the PDF output (because the other tags could be silently ignored). If the patch is OK, I'll merge it via my tree either today or tomorrow (if something goes wrong). Thanks, Mauro [PATCH] media: v4l docs: move some cross-reference identifiers Sphinx doesn't allow placing those cross-reference identifies everywhere. Misplacing them cause those warnings: Documentation/userspace-api/media/v4l/hist-v4l2.rst:818: WARNING: undefined label: control-flags (if the link has no caption the label must precede a section header) Documentation/userspace-api/media/v4l/hist-v4l2.rst:853: WARNING: undefined label: reserved-formats (if the link has no caption the label must precede a section header) Documentation/userspace-api/media/v4l/pixfmt-v4l2.rst:47: WARNING: undefined label: reserved-formats (if the link has no caption the label must precede a section header) Documentation/userspace-api/media/v4l/subdev-formats.rst:39: WARNING: undefined label: v4l2-subdev-mbus-code-flags (if the link has no caption the label must precede a section header) Documentation/userspace-api/media/v4l/subdev-formats.rst:53: WARNING: undefined label: v4l2-subdev-mbus-code-flags (if the link has no caption the label must precede a section header) Documentation/userspace-api/media/v4l/subdev-formats.rst:67: WARNING: undefined label: v4l2-subdev-mbus-code-flags (if the link has no caption the label must precede a section header) Documentation/userspace-api/media/v4l/subdev-formats.rst:83: WARNING: undefined label: v4l2-subdev-mbus-code-flags (if the link has no caption the label must precede a section header) Documentation/userspace-api/media/v4l/subdev-formats.rst:97: WARNING: undefined label: v4l2-subdev-mbus-code-flags (if the link has no caption the label must precede a section header) Documentation/userspace-api/media/v4l/subdev-formats.rst:140: WARNING: undefined label: v4l2-subdev-mbus-code-flags (if the link has no caption the label must precede a section header) Documentation/userspace-api/media/v4l/vidioc-decoder-cmd.rst:75: WARNING: undefined label: decoder-cmds (if the link has no caption the label must precede a section header) Documentation/userspace-api/media/v4l/vidioc-dqevent.rst:234: WARNING: undefined label: control-flags (if the link has no caption the label must precede a section header) Documentation/userspace-api/media/v4l/vidioc-g-dv-timings.rst:156: WARNING: undefined label: dv-bt-flags (if the link has no caption the label must precede a section header) Documentation/userspace-api/media/v4l/vidioc-g-ext-ctrls.rst:41: WARNING: undefined label: ctrl-class (if the link has no caption the label must precede a section header) Documentation/userspace-api/media/v4l/vidioc-g-ext-ctrls.rst:246: WARNING: undefined label: ctrl-class (if the link has no caption the label must precede a section header) Documentation/userspace-api/media/v4l/vidioc-g-ext-ctrls.rst:269: WARNING: undefined label: ctrl-class (if the link has no caption the label must precede a section header) Documentation/userspace-api/media/v4l/vidioc-g-modulator.rst:100: WARNING: undefined label: modulator-txsubchans (if the link has no caption the label must precede a section header) Documentation/userspace-api/media/v4l/vidioc-g-tuner.rst:119: WARNING: undefined label: tuner-rxsubchans (if the link has no caption the label must precede a section header) Documentation/userspace-api/media/v4l/vidioc-queryctrl.rst:167: WARNING: undefined label: control-flags (if the link has no caption the label must precede a section header) Documentation/userspace-api/media/v4l/vidioc-queryctrl.rst:245: WARNING: undefined label: control-flags (if the link has no caption the label must precede a section header) Documentation/userspace-api/media/v4l/vidioc-queryctrl.rst:396: WARNING: undefined label: ctrl-class (if the link has no caption the label must precede a section header) Documentation/userspace-api/media/v4l/vidioc-subdev-enum-mbus-code.rst:73: WARNING: undefined label: v4l2-subdev-mbus-code-flags (if the link has no caption the label must precede a section header) Reported-by: Stephen Rothwell Signed-off-by: Mauro Carvalho Chehab diff --git a/Documentation/userspace-api/media/v4l/pixfmt-reserved.rst b/Documentation/userspace-api/media/v4l/pixfmt-reserved.rst index 253e4bcc949d..0b879c0da713 100644 --- a/Documentation/userspace-api/media/v4l/pixfmt-reserved.rst +++ b/Documentation/userspace-api/media/v4l/pixfmt-reserved.rst @@ -19,12 +19,12 @@ please make a proposal on the linux-media mailing list. .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}| -.. _reserved-formats: - .. raw:: latex \small +.. _reserved-formats: + .. flat-table:: Reserved Image Formats :header-rows: 1 :stub-columns: 0 diff --git a/Documentation/userspace-api/media/v4l/vidioc-decoder-cmd.rst b/Documentation/userspace-api/media/v4l/vidioc-decoder-cmd.rst index 7a8f490131d8..7ccae3b91616 100644 --- a/Documentation/userspace-api/media/v4l/vidioc-decoder-cmd.rst +++ b/Documentation/userspace-api/media/v4l/vidioc-decoder-cmd.rst @@ -129,12 +129,12 @@ introduced in Linux 3.3. They are, however, mandatory for stateful mem2mem decod - -.. _decoder-cmds: - .. tabularcolumns:: |p{5.6cm}|p{0.6cm}|p{11.1cm}| .. cssclass:: longtable +.. _decoder-cmds: + .. flat-table:: Decoder Commands :header-rows: 0 :stub-columns: 0 diff --git a/Documentation/userspace-api/media/v4l/vidioc-g-dv-timings.rst b/Documentation/userspace-api/media/v4l/vidioc-g-dv-timings.rst index dfc45427ea23..6518d857c131 100644 --- a/Documentation/userspace-api/media/v4l/vidioc-g-dv-timings.rst +++ b/Documentation/userspace-api/media/v4l/vidioc-g-dv-timings.rst @@ -240,12 +240,12 @@ EPERM There are no horizontal syncs/porches at all in this format. Total blanking timings must be set in hsync or vsync fields only. -_dv-bt-flags: - .. tabularcolumns:: |p{7.7cm}|p{9.8cm}| .. cssclass:: longtable +.. _dv-bt-flags: + .. flat-table:: DV BT Timing flags :header-rows: 0 :stub-columns: 0 diff --git a/Documentation/userspace-api/media/v4l/vidioc-g-ext-ctrls.rst b/Documentation/userspace-api/media/v4l/vidioc-g-ext-ctrls.rst index a90c433e430c..01773f01c4a7 100644 --- a/Documentation/userspace-api/media/v4l/vidioc-g-ext-ctrls.rst +++ b/Documentation/userspace-api/media/v4l/vidioc-g-ext-ctrls.rst @@ -342,12 +342,12 @@ still cause this situation. Ignored if ``count`` equals zero. -.. _ctrl-class: - .. tabularcolumns:: |p{7.3cm}|p{2.0cm}|p{8.0cm}| .. cssclass:: longtable +.. _ctrl-class: + .. flat-table:: Control classes :header-rows: 0 :stub-columns: 0 diff --git a/Documentation/userspace-api/media/v4l/vidioc-g-modulator.rst b/Documentation/userspace-api/media/v4l/vidioc-g-modulator.rst index e73d24f12054..6bdf925f9a4a 100644 --- a/Documentation/userspace-api/media/v4l/vidioc-g-modulator.rst +++ b/Documentation/userspace-api/media/v4l/vidioc-g-modulator.rst @@ -119,12 +119,12 @@ To change the radio frequency the Drivers and applications must set the array to zero. -.. _modulator-txsubchans: - .. tabularcolumns:: |p{6.0cm}|p{2.0cm}|p{9.3cm}| .. cssclass:: longtable +.. _modulator-txsubchans: + .. flat-table:: Modulator Audio Transmission Flags :header-rows: 0 :stub-columns: 0 diff --git a/Documentation/userspace-api/media/v4l/vidioc-g-tuner.rst b/Documentation/userspace-api/media/v4l/vidioc-g-tuner.rst index d392e37f080d..b0522f1ff7a4 100644 --- a/Documentation/userspace-api/media/v4l/vidioc-g-tuner.rst +++ b/Documentation/userspace-api/media/v4l/vidioc-g-tuner.rst @@ -296,10 +296,10 @@ To change the radio frequency the instead of 62.5 kHz. -.. _tuner-rxsubchans: - .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.5cm}| +.. _tuner-rxsubchans: + .. flat-table:: Tuner Audio Reception Flags :header-rows: 0 :stub-columns: 0 diff --git a/Documentation/userspace-api/media/v4l/vidioc-queryctrl.rst b/Documentation/userspace-api/media/v4l/vidioc-queryctrl.rst index 583fa551f0a1..9af43f913694 100644 --- a/Documentation/userspace-api/media/v4l/vidioc-queryctrl.rst +++ b/Documentation/userspace-api/media/v4l/vidioc-queryctrl.rst @@ -494,12 +494,12 @@ See also the examples in :ref:`control`. \normalsize -.. _control-flags: - .. tabularcolumns:: |p{7.3cm}|p{1.8cm}|p{8.2cm}| .. cssclass:: longtable +.. _control-flags: + .. flat-table:: Control Flags :header-rows: 0 :stub-columns: 0 diff --git a/Documentation/userspace-api/media/v4l/vidioc-subdev-enum-mbus-code.rst b/Documentation/userspace-api/media/v4l/vidioc-subdev-enum-mbus-code.rst index 4c8d5a15fd29..417f1a19bcc4 100644 --- a/Documentation/userspace-api/media/v4l/vidioc-subdev-enum-mbus-code.rst +++ b/Documentation/userspace-api/media/v4l/vidioc-subdev-enum-mbus-code.rst @@ -79,14 +79,14 @@ information about the try formats. -.. _v4l2-subdev-mbus-code-flags: - .. raw:: latex \footnotesize .. tabularcolumns:: |p{8.8cm}|p{2.2cm}|p{6.3cm}| +.. _v4l2-subdev-mbus-code-flags: + .. flat-table:: Subdev Media Bus Code Enumerate Flags :header-rows: 0 :stub-columns: 0