Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp250179pxu; Wed, 7 Oct 2020 01:59:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9ZMv8AIJUS1J19IYXJYUBcIo4bV3vv55XBD82ZQ2VNUczjuWxGZWogAiBKYwmoAQ91F5c X-Received: by 2002:a17:906:2dd7:: with SMTP id h23mr2387433eji.175.1602061187654; Wed, 07 Oct 2020 01:59:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602061187; cv=none; d=google.com; s=arc-20160816; b=RodahS1IpgspG4nlneZ4tn6pSDNGn3KQ+iFmFvUXAJhPfOi+qoE1UWZwRE+gvIg014 0wpuKPBqxGv3vKQTNYZW1BRnK907l1Mn4cIaZs+5cbeo0BLzazeC+UAcbMPzZH7cPDQz UL9ASE6lPcMj6evJhSNdIDuCGoyqrQWtYoxFzNSSYZxyIzwePM0xqk3NiBjid2bEPOIg uFhiv/dd8HR5/xxAtcwCiWsPOebHGNkNk5yk+Z1ru40HoPBn71MH2jns0tx5lAKy2rau IhxxyDYtPd/hPJwMpAyRGlDQ61l8LyEEWjdQFgcV3aahcDJuZ1ukyAaT0PbU4mhCyBMG pE+w== 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=R35Pc9MQwRvIAaHJT7wtJrCc7o9DTr1TZx6XkU0WnLk=; b=FB3xpgTcF829IcKYIaupqVHtUgYzMASznSXdmdRYz60qJnO02vxH+x0XGVGFSpj81h pfZQuRmn0ZAqR7aeIJDAJOFopN4kaCpYstQap0aXJmVRhMcUeIXvzDV1mMKqrrsEnuL5 dusROBOYeDYZ+jAP3dXLV3ACJDDg6nJwzwx9B3ITCwG4+e9Mnui0JRfDCdNx1XljY3us VFLCoy3b6VKcPZhMFrS/oJsAB1krja1fB/2l0Nb0NSBzCs2cCj8UVUW5Mty13aWJaZCt Mk2Ig8TsmUaD8517XYuZJQlSSBJiyXshk8od1K/rGRQhFmorW9TDuCrE//QNrHZkts00 +cxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FT9Orr+J; 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 h26si694041ejd.572.2020.10.07.01.59.22; Wed, 07 Oct 2020 01:59:47 -0700 (PDT) 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=default header.b=FT9Orr+J; 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 S1728058AbgJGI5J (ORCPT + 99 others); Wed, 7 Oct 2020 04:57:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:42380 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728050AbgJGI5I (ORCPT ); Wed, 7 Oct 2020 04:57:08 -0400 Received: from coco.lan (ip5f5ad5a2.dynamic.kabel-deutschland.de [95.90.213.162]) (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 8186720797; Wed, 7 Oct 2020 08:57:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602061027; bh=mt9j4ybMiuGqNcFFzY34J4q2E0XZfsLXB8bTZq+jQBE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=FT9Orr+JhwM6Gzd+5NtrkIa2D7PFMrPstUC5EMjwJd8C9APLdYeFfrLopQdLFi6lG 3WAt2J98Misru7PQY8zJlmABY3pQABYD8HBDoQAO61vX+38sPvGQO2ay7XHVVSUjxl VxxWv9U6AG1fHPDe5oRr7UXpfiJQ4Z1DxBvfZSZQ= Date: Wed, 7 Oct 2020 10:57:02 +0200 From: Mauro Carvalho Chehab To: Ivan Zaentsev Cc: Evgeniy Polyakov , Jonathan Corbet , Akira Shimahara , Greg Kroah-Hartman , Dan Carpenter , Colin Ian King , , , Evgeny Boger Subject: Re: [PATCH 2/2] w1: w1_therm: Add support for GXCAS GX20MH01 device. Message-ID: <20201007105702.67988846@coco.lan> In-Reply-To: <1561045277.20201007103227@wirenboard.ru> References: <20200904160004.87710-1-ivan.zaentsev@wirenboard.ru> <20200904160004.87710-2-ivan.zaentsev@wirenboard.ru> <20201006151915.77d044a4@coco.lan> <1561045277.20201007103227@wirenboard.ru> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; 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 Wed, 7 Oct 2020 10:32:27 +0300 Ivan Zaentsev escreveu: > Tuesday, October 6, 2020, 4:19:15 PM, Mauro Carvalho Chehab wrote: > > >> diff --git a/Documentation/w1/slaves/w1_therm.rst b/Documentation/w1/slaves/w1_therm.rst > >> index f1148181f53e..00376501a5ef 100644 > >> --- a/Documentation/w1/slaves/w1_therm.rst > >> +++ b/Documentation/w1/slaves/w1_therm.rst > > >> > >> @@ -130,4 +131,12 @@ conversion and temperature reads 85.00 (powerup value) or 127.94 (insufficient > >> power), the driver returns a conversion error. Bit mask ``2`` enables poll for > >> conversion completion (normal power only) by generating read cycles on the bus > >> after conversion starts. In parasite power mode this feature is not available. > >> -Feature bit masks may be combined (OR). > >> +Feature bit masks may be combined (OR). See accompanying sysfs documentation: > >> +:ref:`Documentation/w1/slaves/w1_therm.rst ` > >> + > > > As warned by Sphinx, this cross-reference is broken: > > > .../Documentation/w1/slaves/w1_therm.rst:125: WARNING: > > undefined label: w1_therm (if the link has no caption the label must precede a section header) > > Would this be ok? Yeah, sure! > > "More details in Documentation/ABI/testing/sysfs-driver-w1_therm" > > > Not sure what you wanted to point here. > > A link to a driver's sysfs interface, but sysfs docs are text > files and seem to not be included in Sphynx Docs. I sent upstream sometime ago a patch series adding ABI to Sphinx, but I was not merged, not sure why: https://git.linuxtv.org/mchehab/experimental.git/log/?h=abi_patches_v5.6 Yet, the approach such series took were not to convert ABI files to ReST, but, instead, to use a script that would do that. The rationale were to avoid needing to touch all ABI files at the same time[1]. In any case, with such approach a cross-reference won't work. So, I guess that the next best thing to do is to just mention the file like what you suggested. [1] It would be easy to run the script I wrote to convert the files to ReST directly. Thanks, Mauro