Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1094005pxb; Fri, 21 Jan 2022 09:43:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJxgU9lHfjaBq7wXlYPEXw9bKINBVodJvWlBIuMPnKsxMv4+42ArT/K7I8ab92UJOwWarLHR X-Received: by 2002:a63:451b:: with SMTP id s27mr3697444pga.39.1642787002794; Fri, 21 Jan 2022 09:43:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642787002; cv=none; d=google.com; s=arc-20160816; b=x1JhkaxFSEVr9MO3C9yR/qPkekN489pIoRJQieMAdwt4Dp3ZYu+GEQ+dhxdhj/THvC hVBVFIsaAHeBo921LiHvgQFzbLbOKIWXbNUtdrLrzia87ZYBi5lqh6PfY+eIim98y0ZQ 6JQAosxpBAyi477jwLo7BJeV7LUZGTJ/pgKD4b2b5GCZKGs1ge+iD34YsU3s15pTpxkh PGi925aXcf01qG8Cr7JexgrzltaxKu5uBlTfEk/GfOy6SNmp2nCfnuo/MajXSwW4vDUR +bneuSxXb1/Wy5CybzYsQVQSP3uFIJ/mVPYXaC4PuE3dBtYWV6KsNaGyX/uQ7t0GxSPg YAsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=dsFZk3OV8wFHLwBUcIdejqKR+2ur7cWYhm0QCOUx9y4=; b=AfbgW+GRqYDurtETo8u4HiQsPeV0AwpO5w7dhwkMY45u+pR2ue/l04PWWnfO6SB7Yj kqMxLLUfFCzq1F+gGEGuebCE4QDEYpssZhfpM3FuQqL20UfFsxhMvXGdneZLOnqKN01F 8OO8OdNQ6nFlYmk4kVropnAPHpsrMp2AcvPphx7Iqx+yIlRsNsO+vpvvycZgSpdWv/An IU1UyZ7P0LIhBLFC2Pq5ZkNlLVxgIq18rHZ9CgPQiORqZGHyksTmXmzDesdhWIcbr6i4 rlLhUzhoR/tlsI0BbWuAkJseciTMs2ZDTLlrP6g3qlL0r6Li9MxybNCwGXkp5xTA4VCs hG+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sakamocchi.jp header.s=fm3 header.b=ldQ0dqI4; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=Y7KYK+Sc; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j187si3596134pge.365.2022.01.21.09.43.10; Fri, 21 Jan 2022 09:43:22 -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=@sakamocchi.jp header.s=fm3 header.b=ldQ0dqI4; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=Y7KYK+Sc; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351885AbiASHJf (ORCPT + 99 others); Wed, 19 Jan 2022 02:09:35 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:49969 "EHLO out2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230223AbiASHJb (ORCPT ); Wed, 19 Jan 2022 02:09:31 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id E91585C0051; Wed, 19 Jan 2022 02:09:29 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 19 Jan 2022 02:09:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakamocchi.jp; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=dsFZk3OV8wFHLwBUcIdejqKR+2u r7cWYhm0QCOUx9y4=; b=ldQ0dqI4JJPbTI7hYUcX4Ver9v0walFYsc6173VhOF2 mFeIQOELr6sq4DbTIF6pIXUzZdUMaulLC+ggwDN52OgjgIVyU7sLg6JzsoRSGUU9 7AG0Qp5lwvScjPRmkQteuZbD86wgo797zyDRlyRzgr3iFyyhtRatNlYH1mH1E8jn BulT21H+i7uSmqmwNgbrXCvec7jke7sZqAa9MbOz1Ceg0ySRU0yfy5Tag4kKbsku 4GmVwYlaIj92FFec2WFoxpe8ytImTA8SlVhsvw5Z2HkaogLxwKLVtvIxV4JSpmyZ JID0BIIkguRq73UXY8KNqdltRXSNvbW6T8+eVrFb24g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=dsFZk3 OV8wFHLwBUcIdejqKR+2ur7cWYhm0QCOUx9y4=; b=Y7KYK+ScVvH/o1L+RwuK/C yWQe6IoPzmEbHjddN15rDgY7sl7Tg3z0e1ZvFLIWuWNoCY25qbPKAY9AcWggWcuM HRdUa7bCuZAoXKhFaf09jzNLtUJFF1OfBRw+INN0MPfOgySaV76fMmQW6QOcbpTu 17bBeGFfzjr6PsTSFwW3WpJM9l7s7+x9wQSSy6hcF2Di1l1+i/EaH1563Inapacn Njjg0ysaDnoqRY7ZRIRnEUJMhz3JtCjEqs9ZGo8rmWtzjbj/Z9ONENZF+MvNkX9e 3NN6z/CTiAlQwfQr/7qhLXeFmW66ah+HC/6kZhEf5ssYLmEPbRP0hs2SkuRKdmSw == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudeggddutdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefvrghkrghs hhhiucfurghkrghmohhtohcuoehoqdhtrghkrghshhhisehsrghkrghmohgttghhihdrjh hpqeenucggtffrrghtthgvrhhnpeegkeeuvdffieelledvleeufffhleduueeufefhieek ffehhfejgfeuleduffeggfenucffohhmrghinhepshhouhhrtggvfhhorhhgvgdrihhopd duhedrshhonecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhho mhepohdqthgrkhgrshhhihesshgrkhgrmhhotggthhhirdhjph X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 19 Jan 2022 02:09:27 -0500 (EST) Date: Wed, 19 Jan 2022 16:09:24 +0900 From: Takashi Sakamoto To: Akira Yokosawa Cc: Randy Dunlap , Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Mauro Carvalho Chehab , Stephen Rothwell Subject: Re: [PATCH -next] Documentation: fix firewire.rst ABI file path error Message-ID: Mail-Followup-To: Takashi Sakamoto , Akira Yokosawa , Randy Dunlap , Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Mauro Carvalho Chehab , Stephen Rothwell References: <20220118010517.20826-1-rdunlap@infradead.org> <7f4e454c-5f79-7fd7-2866-8db682cc656b@infradead.org> <99e1e781-0761-2d47-954f-f75aac6e5049@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <99e1e781-0761-2d47-954f-f75aac6e5049@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Tue, Jan 18, 2022 at 03:30:40PM +0900, Akira Yokosawa wrote: > (+Cc: Takashi) > On Mon, 17 Jan 2022 22:05:21 -0800, > Randy Dunlap wrote: > > > > On 1/17/22 20:08, Akira Yokosawa wrote: > >> On Mon, 17 Jan 2022 17:05:17 -0800, > >> Randy Dunlap wrote: > >>> Adjust the path of the ABI files for firewire.rst to prevent a > >>> documentation build error. Prevents this problem: > >>> > >>> Sphinx parallel build error: > >>> docutils.utils.SystemMessage: /work/lnx/next/linux-next-20220117/Documentation/driver-api/firewire.rst:22: (SEVERE/4) Problems with "include" directive path: > >>> InputError: [Errno 2] No such file or directory: '../Documentation/driver-api/ABI/stable/firewire-cdev'. > >>> > >>> Signed-off-by: Randy Dunlap > >>> Cc: Jonathan Corbet > >>> Cc: linux-doc@vger.kernel.org > >>> Cc: Stephen Rothwell > >>> Cc: Mauro Carvalho Chehab > >>> --- > >>> I don't see what is causing this problem... > >> > >> Randy, did you run "make SPHINXDIRS=driver-api htmldocs"? > > > > Yes. > > Does that cause a problem when just "make htmldocs" does not? > > No, that should not cause such a problem. > > https://docutils.sourceforge.io/docs/ref/rst/directives.html#include > says (emphasis by me): > > The "include" directive reads a text file. The directive argument > is the path to the file to be included, *relative* to the document > containing the directive. > > So I think your patch is the right fix. > You might like to add: > > Fixes: 2f4830ef96d2 ("FireWire: add driver-api Introduction section") > > And please feel free to add: > > Tested-by: Akira Yokosawa > > Thanks, Akira > > > thanks. > > > >> I remember seeing similar errors with v5.14 or v5.15. > >> So I don't think this is a new issue. > >> > >> Without "SPHINXDIRS=driver-api", I don't get this error on -next. > >> > >> I didn't report it at the time as I was not sure it was expected > >> or not. > >> > >> Thanks, Akira > >> > >>> > >>> Documentation/driver-api/firewire.rst | 4 ++-- > >>> 1 file changed, 2 insertions(+), 2 deletions(-) > >>> > >>> --- linux-next-20220117.orig/Documentation/driver-api/firewire.rst > >>> +++ linux-next-20220117/Documentation/driver-api/firewire.rst > >>> @@ -19,7 +19,7 @@ of kernel interfaces is available via ex > >>> Firewire char device data structures > >>> ==================================== > >>> > >>> -.. include:: /ABI/stable/firewire-cdev > >>> +.. include:: ../ABI/stable/firewire-cdev > >>> :literal: > >>> > >>> .. kernel-doc:: include/uapi/linux/firewire-cdev.h > >>> @@ -28,7 +28,7 @@ Firewire char device data structures > >>> Firewire device probing and sysfs interfaces > >>> ============================================ > >>> > >>> -.. include:: /ABI/stable/sysfs-bus-firewire > >>> +.. include:: ../ABI/stable/sysfs-bus-firewire > >>> :literal: > >>> > >>> .. kernel-doc:: drivers/firewire/core-device.c I can regenerate the problem and check that the patch can solve it. Tested-by: Takashi Sakamoto Thanks Takashi Sakamoto