Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp2482952rdf; Mon, 6 Nov 2023 16:11:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IEu6kolvGh3LMaUekpiPchvcvHxV8+BpLW5io7u5nEkg+LJQqPIwtK+1cAjBeQTVPSAW4h9 X-Received: by 2002:a05:6a20:a115:b0:13d:df16:cf29 with SMTP id q21-20020a056a20a11500b0013ddf16cf29mr28099272pzk.15.1699315905224; Mon, 06 Nov 2023 16:11:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699315905; cv=none; d=google.com; s=arc-20160816; b=01QOR+UwrrlYwSvH7J7TmUDV3drL9sPAITm90pv671aO03FuWhuuMROUwyx8/WW+iO xS0i7F5JCUFDyg89/w9uA6wYjwkdhBnWB2zAOEC2PSyu/G1N8K6ZeHGY6/H/uDO1b+zA O9+4GMqJwUaSMKrGxYJeRkOR/dLbs2vemE3e67KMjR+MI1mpN3l8RrFFO0rdwYvv/RaW BA34w66PDbQb2KhZvVWSvKikxXNZQVPnmiYYMWjGGtIgwQI9lh4ODct9Kf2gFjv5xcEG Ew9wQsTKj8FCUtrWJ3xMIdoGtqAiBthZ63szv2phfJf4lTvlcxtRdR/W/ZQGm/j6rATa pV/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=u7B09rSr5GJkw/0dQmc8mF4yG+hQAobhEyf39vTwquM=; fh=FSfG8a3qKfZ0haJJuUE+BItFia+41g2FYPesmt4W9ws=; b=kaj8y248OS667H22f0j4mHg7evnnaAyNczLeh92OhPL/ZQAEBxZ0THJ9RZ8j1nUJlc tKpcPXR+HWJsUtP6NrO+aI7CIf8dhcniNUjWaWnE4FEGa4SlYvX2seItyfZe6ukFXkWw duWK28gvDR47hp9c6Dl657slOzF/eTVm2diqPlK/TznaKHzYp5vuiHrkL2k0XzqpHnYs J+vyxWlZDD+8xeyY0LOrVt5HCgB671Mrhy2HhGKZipZ/s7AJMYTYw23jqeAxgkeT3sU+ L+0NhXHjYYoLrprgIXIRAGq24R8GsUF/zbRfs7OFl9fiphH7kSLHHACM76+qpnsg3aob pFOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="HT/GVpBi"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id kz3-20020a170902f9c300b001cc2f9d6a66si8416996plb.514.2023.11.06.16.11.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 16:11:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="HT/GVpBi"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 9A4D7802CD12; Mon, 6 Nov 2023 16:11:42 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233195AbjKGALe (ORCPT + 99 others); Mon, 6 Nov 2023 19:11:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230248AbjKGALd (ORCPT ); Mon, 6 Nov 2023 19:11:33 -0500 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F33A8BB; Mon, 6 Nov 2023 16:11:30 -0800 (PST) Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1cc3542e328so34590935ad.1; Mon, 06 Nov 2023 16:11:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699315890; x=1699920690; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=u7B09rSr5GJkw/0dQmc8mF4yG+hQAobhEyf39vTwquM=; b=HT/GVpBi8GWHSYZqZKFWymZHpHJKVA3HsuEOewYYqVGSexFyClkJ1po/zQFNlofarF 4JxMymIC322pMsPm/MFFYml9oeJa62bXFSYRMsjVc3dFCMt85hbb9Urna6OI/NPFF9IN DxX1w04YBbJt4RY2jez/IP37LXI498M8jFNk/5jcXskJwvkJtBCtlUNVvOdbq3IDf+9T 0gxp8ekRWWefhPAU0QzSlQXHUtU+qEilWfiem0C5p16C3PjeOzmEF5RmHzIjGav1rDtV kHVzzb2O0IS8VYc+YC5siuoXlfaviBppxX0fC/u6QEBPDoztatTP27VjoDg9irhi5S4B JJJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699315890; x=1699920690; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=u7B09rSr5GJkw/0dQmc8mF4yG+hQAobhEyf39vTwquM=; b=OW1I7znMQs38+bXdjGgzKVIoCpOqzljayEFbqfDBtIm8hHnLxGrtEyQi1z2P+Y6YZ8 Y9/Pg4cKGDALJTSSjyR2Cq2gYmw7d+7+c4BN27iNcQXEzejHcFoFs9F6th7FsLCDTqJB 2Rov3DUdNzmhRZURVHPwV829F0Wc9YSoKyrnTqIu4yKTfWq+xlnqQU98dLuk4RP9/mIP 7/Tya9sUgzQnpsjo6zJwV50SGlYpdTBx4aL8M7rj6UEdcCnU2Hr50oqFgGlfZKTz5XEg A/cbZLd0Oq73hzqaywawr1/3c18wDjoxh4mB2BVynUsl6R1S8/qJqwtrElM3RI5ltRJS TeAA== X-Gm-Message-State: AOJu0YwsN1w0dsHvEQm0Ami8fdgg6d736V1cswcQH2o05jZypoVwP750 VO9iagmdxFkduGV3/G+qYII= X-Received: by 2002:a17:902:f28b:b0:1ca:8169:e853 with SMTP id k11-20020a170902f28b00b001ca8169e853mr21625676plc.4.1699315890325; Mon, 06 Nov 2023 16:11:30 -0800 (PST) Received: from [192.168.0.106] ([103.131.18.64]) by smtp.gmail.com with ESMTPSA id h3-20020a170902704300b001c613091aeasm6349072plt.297.2023.11.06.16.11.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Nov 2023 16:11:29 -0800 (PST) Message-ID: Date: Tue, 7 Nov 2023 07:11:26 +0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1] docs: gpu: rfc: i915_scheduler.rst remove unused directives for namespacing Content-Language: en-US To: Jani Nikula , Hunter Chasens Cc: corbet@lwn.net, Luca Coelho , airlied@gmail.com, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, dri-devel@lists.freedesktop.org, Linux Documentation , Linux Kernel Mailing List References: <20231104134708.69432-1-hunter.chasens18@ncf.edu> <8734xj18ck.fsf@intel.com> <87edh2zn2y.fsf@intel.com> From: Bagas Sanjaya In-Reply-To: <87edh2zn2y.fsf@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 06 Nov 2023 16:11:42 -0800 (PST) On 07/11/2023 02:41, Jani Nikula wrote: > On Mon, 06 Nov 2023, Hunter Chasens wrote: >> When running `make htmldocs` the following warnings are given. >> >> ``` >> Documentation/gpu/rfc/i915_scheduler.rst:138: WARNING: >> Unknown directive type "c:namespace-push". >> >> .. c:namespace-push:: rfc >> Documentation/gpu/rfc/i915_scheduler.rst:143: WARNING: >> Unknown directive type "c:namespace-pop". >> >> .. c:namespace-pop:: >> ``` >> >> The kernel test robot also reported it here. >> Link: https://lore.kernel.org/all/202311061623.86pTQrie-lkp@intel.com/ >> >> Last year Maryam Tahhan from Redhat noticed something >> similar. "The missing support of c:namespace-push:: and c:namespace-pop:: >> directives by helper scripts for kernel documentation prevents using the >> ``c:function::`` directive with proper namespacing." From the context, it >> sounds like this was brought about from a Sphinx update. >> >> Link: https://lore.kernel.org/all/20221123092321.88558-3-mtahhan@redhat.com/ >> >> When compiled the `.. kernel-doc::` literal gives it the same formatting with >> or without the namespace directives present. Due to the above information I >> think it safe to remove these, as they don't seem to do anything but >> throw warnings. > > Not so fast! > > Looks like this is because namespacing was introduced in Sphinx 3.1 > [1]. With earlier Sphinx, you get a warning about the namespace > directives. > > However, with newer Sphinx, you get the warning mentioned in commit > f6757dfcfde7 ("drm/doc: fix duplicate declaration warning") if you > remove the namespace directives: > > linux/Documentation/gpu/driver-uapi.rst:2279: WARNING: Duplicate C declaration, also defined at rfc/i915_scheduler:3. > Declaration is '.. c:struct:: i915_context_engines_parallel_submit'. > > It would be short-sighted to just remove the directives. Sooner or later > we're gong to bump the (IMO extremely conservative) minimum version > requirement. > OK, thanks for explanation! -- An old man doll... just what I always wanted! - Clara