From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 16E7FC433E7 for ; Thu, 15 Oct 2020 08:12:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B4E9A2224A for ; Thu, 15 Oct 2020 08:12:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602749543; bh=33z8nKoGuLLm2mUPGpRI4AurCQK+VR3FL+LGlgPxZoM=; h=From:To:Cc:Subject:Date:List-ID:From; b=qDPjjras/u9+I9Aq8k78HuZsAC8SkSOrwU7W8QEoi0MEZxNBYp6Iot/DTsfeI6tJn +rC+v4dk2qc53uNo6+4rgnfwM4x/9Of2nVFlVnI8DZpK1QJiS3bf8naxppvlLKn1i+ jwB9LRBX//kysKXO+O0jDpapIG/1onGngYcJ5Om8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730168AbgJOIMT (ORCPT ); Thu, 15 Oct 2020 04:12:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:56734 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727649AbgJOIMS (ORCPT ); Thu, 15 Oct 2020 04:12:18 -0400 Received: from mail.kernel.org (ip5f5ad5a1.dynamic.kabel-deutschland.de [95.90.213.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8054322243; Thu, 15 Oct 2020 08:12:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602749537; bh=33z8nKoGuLLm2mUPGpRI4AurCQK+VR3FL+LGlgPxZoM=; h=From:To:Cc:Subject:Date:From; b=NK6Sma4BXORk2pGQzy2i4MKyCEXyZNJSwADCLDA0thhDK/I47NCSXnxot2+3k7Wns c5l5CM+JYn4MuB9wOAVlQ3Y3mvWZzT7fOxhqvlJC2uxbl58HGhzwJ9VpzM6ORnOk9q c3CWTFKyKw1TShnBTMNKcJ0sGuOyQUBG3l5o07QM= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kSyMw-000MSj-TZ; Thu, 15 Oct 2020 10:12:14 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet Subject: [PATCH 0/2] Fix build issues with Sphinx development tree Date: Thu, 15 Oct 2020 10:12:10 +0200 Message-Id: X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This Sphinx pull: https://github.com/sphinx-doc/sphinx/pull/8313 Fixes the C domain name conflicts when both a function and an enum, struct or union have the same name. Those fixes will generate new C domain warnings if an enum is defined using :c:struct. So, we need to use different tags for structs or union. Thankfully, such change is backward compatible with Shinx 3.x. The first patch address it. The second patch fix an issue at conf.py. While Sphinx 4.0 was not released yet, the Sphinx development branch is using 4.0.0 as its version. There is a small issue at the code that excludes some macros from functions, if Sphinx major version is > 3. Mauro Carvalho Chehab (2): scripts: kernel-doc: use :c:union when needed sphinx: conf.py: properly handle Sphinx 4.0 Documentation/conf.py | 2 +- scripts/kernel-doc | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) -- 2.26.2