Received: by 10.213.65.68 with SMTP id h4csp375333imn; Fri, 6 Apr 2018 01:32:35 -0700 (PDT) X-Google-Smtp-Source: AIpwx49cSTtCotLId3X3zFKiEl2zZxpMGphfIgHloMYgWVAA0TuM4A8BdPj5hJb1mm7cKXaoGfPE X-Received: by 2002:a17:902:207:: with SMTP id 7-v6mr26716394plc.261.1523003555065; Fri, 06 Apr 2018 01:32:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523003555; cv=none; d=google.com; s=arc-20160816; b=xP6/jUfKom/1ymbcVsPW2ghrLZmcsTS+2gI0YQRWEsIt7GVgo9FXfq1JUqP+HbCsXZ Kq+y1UvMRXMPcy70ofh85ygRCKCQ2roDyNBzpqoKKgqPld1l6DMjIRV+7440ugd8TQEc nY30VFaipQxmDk7E3+GJAmJ1XmXou5n9Gp17EtAp39J3YtU2RdB3uqE1FtoOtgRZKVCq tWvBh/cXkck8CRWJ4T36dLEgoQgJjXvvsud/39IiXKy/diSXg5vSAq1KVWFcm/CAXODN zaxgPy9poUGNJSN/64ZTjhm52wOEuODKS24coHlMu26u3oyNEMPBAtH1kZG9lLfy+aSx QzIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=ctToN4+vS5F+mbf5zg33BU1dF5MfnMMxDTG1FgW7gX4=; b=0CrcGoRIotsXyMKx9A+mt3ZzMLWWat5nPCdTYMrjEGuQZBglt0uFyKT/eLgLaj1XtF DuMnSaokKG3Klc9JJaFmnQyV5Y7G0svVcb1XBM7DnTtjCDOFxsyAQWRYdkqc73w7RYAA 0aBw4oaYHck/qsN5Avpzigce22YuH9fXNEIR2gN/v8flMfvpWt60sgbrLRb2XXLZ0p7q pFZChausJXpoycjXPFuu5EKmNyCXCgvhRq7Gg16q8bnfcaHFGlhvJAiDDcQZR1BR2SuD i2in3iA84e8uqyiLmg6Ix+JLi+5PXQgD7Mb+Kouod+Nq4oKlBzCnFLYIxCYWkzXzYHF3 R7HA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p20si7589221pfi.345.2018.04.06.01.32.21; Fri, 06 Apr 2018 01:32:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751926AbeDFIaO (ORCPT + 99 others); Fri, 6 Apr 2018 04:30:14 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:40566 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751361AbeDFIaM (ORCPT ); Fri, 6 Apr 2018 04:30:12 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 56359D6E; Fri, 6 Apr 2018 08:30:11 +0000 (UTC) Date: Fri, 6 Apr 2018 10:30:10 +0200 From: Greg KH To: Heikki Krogerus Cc: Masanari Iida , linux-kernel@vger.kernel.org, linux-doc , Jonathan Corbet , linux-usb@vger.kernel.org Subject: Re: make xmldocs failed with error after 4.17 merge period Message-ID: <20180406083010.GA20174@kroah.com> References: <20180406075109.GA21589@kuha.fi.intel.com> <20180406075734.GA16728@kroah.com> <20180406081555.GB21589@kuha.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180406081555.GB21589@kuha.fi.intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 06, 2018 at 11:15:55AM +0300, Heikki Krogerus wrote: > On Fri, Apr 06, 2018 at 09:57:34AM +0200, Greg KH wrote: > > On Fri, Apr 06, 2018 at 10:51:09AM +0300, Heikki Krogerus wrote: > > > On Fri, Apr 06, 2018 at 12:38:42PM +0900, Masanari Iida wrote: > > > > After merge following patch during 4.17 merger period, > > > > make xmldocs start to fail with error. > > > > > > > > [bdecb33af34f79cbfbb656661210f77c8b8b5b5f] > > > > usb: typec: API for controlling USB Type-C Multiplexers > > > > > > > > Error messages. > > > > reST markup error: > > > > /home/iida/Repo/linux-2.6/Documentation/driver-api/usb/typec.rst:215: > > > > (SEVERE/4) Unexpected section title or transition. > > > > > > > > ------------------------ > > > > Documentation/Makefile:93: recipe for target 'xmldocs' failed > > > > make[1]: *** [xmldocs] Error 1 > > > > Makefile:1527: recipe for target 'xmldocs' failed > > > > make: *** [xmldocs] Error 2 > > > > > > > > $ > > > > > > > > An ascii graphic in typec.rst cause the error. > > > > > > Thanks for the report. I'm going to propose that we fix this by > > > marking the ascii art as comment: > > > > > > diff --git a/Documentation/driver-api/usb/typec.rst b/Documentation/driver-api/usb/typec.rst > > > index feb31946490b..972c11bf4141 100644 > > > --- a/Documentation/driver-api/usb/typec.rst > > > +++ b/Documentation/driver-api/usb/typec.rst > > > @@ -212,7 +212,7 @@ port drivers can use USB Role Class API with those. > > > > > > Illustration of the muxes behind a connector that supports an alternate mode: > > > > > > - ------------------------ > > > +.. ------------------------ > > > | Connector | > > > ------------------------ > > > | | > > > > > > I hope that works. > > > > Try it and see! :) > > It will fix this issue. I was just wondering if use of ascii art is > acceptable in general with the .rst files? But then again, why > wouldn't it be. There are ways to do this, look at how the v4l2 and I think the drm subsystems handle ascii art such that "real" drawings end up being produced. thanks, greg k-h