Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3256092pxb; Sat, 26 Mar 2022 14:47:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLzeEbtClKNnjOl2mbGIwRFHcPI9p+wXpwnouiOCW+TJkEPr7TkEEzbC/EuTWEb3e8/x0k X-Received: by 2002:a17:90b:3805:b0:1c7:6e7a:3e01 with SMTP id mq5-20020a17090b380500b001c76e7a3e01mr20433587pjb.213.1648331246404; Sat, 26 Mar 2022 14:47:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648331246; cv=none; d=google.com; s=arc-20160816; b=xOG1DX4AkD84GYbStoIcbgOqSzfJjhmjt2jpgZSWhIQoVtH/9ENk0yoEaC06Tzfuh4 h1QbmyFQoobzdUlcQghP69VAvOCKXypg4WNSJfG4+wDJ6NMFSatavOuYWOk+r+2vGLWO 213L5VLv+08osncbOgg6WPXkUkP+pdRdoiwWMWfpMQ4lnL+hvV6M0aVlLJJxnhnHtpFp lSLErRDYkt8XwMsa51mLJ3fHtoCtxBkw+0P+Mw/GnUfz6tqT0anALm46aWr2SWLkncfQ r3c1cSrgtRm9DCQnwR3zFUJXYG6aF8dMSu4mKHPNjgvLTgnr6ncq+p7OkmtfwxEGq6NH bGdQ== 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=on/f64lpN3Bu6bewfn2n/XG0Zlw+isx2gV2H8+AYzgU=; b=gXQCbMWls0/z4hYqvetu2O0EEWXS85om2FqzIPwZkyWKryo/852t2Z7kgPq7g5gRg8 dPMCApw+BtveN47I27LVcc4pXsV1j9BXcTWv0WQK2h7Os4L03CzYApGfei+UdaLL2WzJ j6hNfkoSCY3wkvVCogxUvs0XuWtBakLrEZguHQulIJkxE8r6gTrggmrhPJndiY18GGKG 26GMcSqn6cs5Q5mn2hqfX+mbbQ7u+fjs4+zZabDRKzdBg4V8ltLIcpzr4ENg8dWAmLWt CaU2y4LWGmvr0FMvI3zKE4Y9R2BSwGMu5B+H7RwtAVBWfTNTfMvQBQEqHv73xvDcDkkZ gKgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Lk32wYMt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g3-20020aa78183000000b004fa3a8e005csi6801900pfi.275.2022.03.26.14.47.11; Sat, 26 Mar 2022 14:47:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Lk32wYMt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S232446AbiCZK0J (ORCPT + 99 others); Sat, 26 Mar 2022 06:26:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231426AbiCZK0I (ORCPT ); Sat, 26 Mar 2022 06:26:08 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43CC0F4626; Sat, 26 Mar 2022 03:24:30 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3032FB80187; Sat, 26 Mar 2022 10:24:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 81EA6C2BBE4; Sat, 26 Mar 2022 10:24:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648290267; bh=yuP6OtrchILflyEbpSFyWsmgNTaxV8wstHK0jUT5Mcw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Lk32wYMtPk0xZw1iDLBc82OA8WTIxikobnjWKEjCP/iXvB883d8Fhti/T+Nx8yVaa My1CQ69rDq+GzQSUzDc/MDPjPSvSUbysyIIGNaBw1U+BLnWOW5P7yuDDNT1iLb1Tcc nEpDWEhwGj+PDNe9FGMNTbE9buUB8u58Cf9c0BcsVVanBJEsUWmGfJHZDouSTTkP0f 7Q2vTupEAvEuzovwKUQ6qjjoi0H6O2qzPOyLNyx68AvnlexU48MURUxv9iZAB4H/nH iwuVqE4LTMtO3e6U8PXkE4aA0Bs/8d71yeX+seslKEoo9baVSdzE6joe+Izp/AMDRd Eo0LCW9vEJDrw== Date: Sat, 26 Mar 2022 11:24:15 +0100 From: Mauro Carvalho Chehab To: Jonathan Corbet Cc: Linux Doc Mailing List , Hans de Goede , Stephen Rothwell , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/4] scripts/get_feat.pl: allow output the parsed file names Message-ID: <20220326112415.444f34af@coco.lan> In-Reply-To: <874k3ld1j2.fsf@meer.lwn.net> References: <874k3lg7r3.fsf@meer.lwn.net> <20220326002109.2cda0402@coco.lan> <20220326003050.50750c75@coco.lan> <874k3ld1j2.fsf@meer.lwn.net> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.31; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, 25 Mar 2022 18:02:09 -0600 Jonathan Corbet escreveu: > Mauro Carvalho Chehab writes: > > > Btw, maybe we could replace them tree with a Sphinx comment, like: > > > > get_feat.pl: > > .. FILE > > kernel-doc: > > .. LINE > > get_abi.pl: > > .. FILE_LINE : > > > > (or something similar) > > > > Just let me know what you prefer and I can take care of the needed > > changes on this patch and, if it is the case, writing the extra patches > > in order to use the same model on kernel-doc and get_abi.pl. > > If it were just me, I'd just put "FILE " or something simple. This won't be a problem here, but I would prefer to use something that would have zero chances of causing issues at kernel-doc and on other similar scripts that we might end needing. Using a valid ReST tag like starting it with ".." should fulfill such goal. A side effect is that the output of the script would be a valid ReST file, either with or without file/line information, which sounds a good idea on my eyes. > I don't really have a strong opinion on the matter though; it's not like > people have to actually look at these things. Yes. That's why I ended using #define, the actual meta-tag won't matter for people. > I was mostly curious as > to why you'd done it that way. I can take the original patches or any > of the variants above; just let me know which you like best and we'll > get this done. Ok. I'll resubmit the patch changing to the comments tag. I'll add patches also for kernel-doc and get_abi.pl for all of them to use the same meta-tag. Thanks, Mauro