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=-6.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no 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 8B945C4363A for ; Wed, 21 Oct 2020 21:13:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3614F21D24 for ; Wed, 21 Oct 2020 21:13:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2505853AbgJUVNu (ORCPT ); Wed, 21 Oct 2020 17:13:50 -0400 Received: from ms.lwn.net ([45.79.88.28]:37646 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2505852AbgJUVNu (ORCPT ); Wed, 21 Oct 2020 17:13:50 -0400 Received: from lwn.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id DFD392C8; Wed, 21 Oct 2020 21:13:47 +0000 (UTC) Date: Wed, 21 Oct 2020 15:13:44 -0600 From: Jonathan Corbet To: Mauro Carvalho Chehab Cc: Linux Doc Mailing List , Jonathan =?UTF-8?B?TmV1c2Now6RmZXI=?= , "rd.dunlab@gmail.com" , Corey Minyard , Harald Seiler , Heikki Krogerus , Jacob Keller , Jason Gunthorpe , Michael Walle , Pragat Pandya , Takashi Iwai , linux-kernel@vger.kernel.org Subject: Re: [PATCH] docs: driver-api: remove a duplicated index entry Message-ID: <20201021151344.4f471fbc@lwn.net> In-Reply-To: <623fb26a8409a7b002e45bdbb6f517ac08fd508a.1602753121.git.mchehab+huawei@kernel.org> References: <623fb26a8409a7b002e45bdbb6f517ac08fd508a.1602753121.git.mchehab+huawei@kernel.org> Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On Thu, 15 Oct 2020 11:12:06 +0200 Mauro Carvalho Chehab wrote: > The ipmb file was added twice at index.rst. That > sounds to be because the same patch was applied twice, > via different git trees: > > commit f6ae22d64433fd8e08654adad7966299da931bb9 > Author: Mauro Carvalho Chehab > Commit: Jonathan Corbet > > docs: ipmb: place it at driver-api and convert to ReST > > commit ac499fba98c3c65078fd84fa0a62cd6f6d5837ed > Author: Mauro Carvalho Chehab > Commit: Corey Minyard > > docs: ipmb: place it at driver-api and convert to ReST > > With Sphinx 4.0.0 development tree, a new warning is produced > due to that: > > .../Documentation/driver-api/index.rst:14: WARNING: duplicated entry found in toctree: driver-api/ipmb > > The fix is trivial: just drop the duplicated line. > > Fixes: f6ae22d64433 ("docs: ipmb: place it at driver-api and convert to ReST") > Fixes: ac499fba98c3 ("docs: ipmb: place it at driver-api and convert to ReST") > Signed-off-by: Mauro Carvalho Chehab Interesting...I wonder how applying the patch twice could lead to the line being inserted in two completely different locations like that? Anyway, I've applied this one, hopefully nobody else will do the same :) Thanks, jon