Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp824663pxb; Thu, 28 Jan 2021 00:41:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJyaafcCVCmkHgEvx2MlmJ+00mBltrPWAP9/HTnG6+02TYQL0OMK+4Omwk/yEKrEMUc3YcLF X-Received: by 2002:a17:906:c406:: with SMTP id u6mr9805707ejz.218.1611823287439; Thu, 28 Jan 2021 00:41:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611823287; cv=none; d=google.com; s=arc-20160816; b=BnvnOaClN+bXq7VDZTSFEPIoSK/bnJx/nb8QL3pNtzy7EAtoVXqshoxPIFGSfkzEIU TVOEzvGFOEvit+SUeyP0HQMcvDVpiEfLv0m0aNSiKCmbgpm4msyUqGc+DXYP2fgN6F2u xiA3GaCeMe41IBOQRX6sZ+IJXGrov3ifoWrpEAn47blHX+LFK3bYeOVDvTOJBb3kz+xD sfquopd6wtxsuTFPc7Y0Lhl2SQum2vJZUqjhu2yuRy7gNuMbHpeRWKbaXTMbvyneHwks s0voSmPSnSD5bPknuLu4Dwq8j44iRklwmHCW7y9cogJByes1Uy3IAxlm1Ktr0Re18Gfb D2Gw== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=X5K1O0laC0GWRPhovZUx2IQ35yVagR2fxpXVtR2JtM8=; b=VUXkEMvWAdd60KZH+Z+wHIh5Bof/A7DO22aU2twav3XmyeiGJGWaCz9MezRbFIj/NO qpMRSxWbTWSO5X8o3nZn3V6MleZgPv9WJugQ5eFts/sWNQd69xd9y0Pi0Qf8HeGbq6si YWTJdgmQ5kzExHV41dr6J9OFRivqVCMXUpAibgQhXXrzsfx7Uez/FtPnlEGP63d/FxNB nxhmWM/VxCSJc84lOAjwK08dLdPQPuniPvK2fJNXlsEIAX8jjN1EghlSPdr/Mqg8tjP3 xRF0orNn10IFKKYQQ6s8s6KtqSFzODG1ByjHV4VDjOR4amq3RQWvuydbnJR7g1prYq4m obug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=u5lbCEyS; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p17si2496970edw.347.2021.01.28.00.41.02; Thu, 28 Jan 2021 00:41:27 -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=@linaro.org header.s=google header.b=u5lbCEyS; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231766AbhA1Ijt (ORCPT + 99 others); Thu, 28 Jan 2021 03:39:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231728AbhA1Ijb (ORCPT ); Thu, 28 Jan 2021 03:39:31 -0500 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67D16C061756 for ; Thu, 28 Jan 2021 00:38:51 -0800 (PST) Received: by mail-wm1-x32a.google.com with SMTP id m1so606648wml.2 for ; Thu, 28 Jan 2021 00:38:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=X5K1O0laC0GWRPhovZUx2IQ35yVagR2fxpXVtR2JtM8=; b=u5lbCEySh6dGXQYAR8vFEBJGHSvL2srZa2rct5RhH6JUXgDzkQtRb77YbgUfGCLaSw nGnk9n+sFisVSOPj51+kVmPJPKwKVE2hlizxU2TcpQqaSHbQALikJdQJea3PbvFZCtGj cMw85/cmIEJBqU0SbrvhpWLsqrcO5OkgAfQvsvoj35SQYOgx+jMgtX7ONi3IrcH3jHkA I8CIWgReEImKL71hU++wAbolJ+BnOydhf4fdt6tH0ryPNpAcL5vApTQVJUAVQHBFM6++ s1mJuP8bzplRL8N4kuaFZRHGxirvpepNlbKo3vnytJB2noRyNNdJK9ItW6p3cLYFH/WI RnLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=X5K1O0laC0GWRPhovZUx2IQ35yVagR2fxpXVtR2JtM8=; b=J2YaPNjNj2Xfp++VC/D9TtMuTpWMHzW1Pr6BRdSr31KRJ0vbmZAR8MLYgh4C2cO501 AIR2MTvesDkwv/62ZgAfAxL6gABQw3/iz7mWojH3LYE260QfdEfRrm2WxaRn8No8yWUU 9rdhEg1vn5ObSVU9gn5hCVV7dxYOAyR9iRniy7wCZCgVsi+y8Vg9omXJwkkGZomMpjOw XuKo1AyVGTqie7lBUPAlua74KAzw/QAujXHSPXMmF+1BU3T63GaVqz9PlWDMBh/srX+d PBLtRXnMub/pkQ1KlqRjPiC2Cy33zjUS47s6LjGc0RFRVT4lNX1nuD3VJr9UCHsMrmA2 NJYg== X-Gm-Message-State: AOAM532+/0yWtkmjzx4VmgjuY0SpGcOIipTXmjC5fKuhxvor7PAZQWsL HNIgd4K7QFwSjQuhMKbyZla1xg== X-Received: by 2002:a1c:8002:: with SMTP id b2mr7869638wmd.94.1611823130189; Thu, 28 Jan 2021 00:38:50 -0800 (PST) Received: from dell ([91.110.221.188]) by smtp.gmail.com with ESMTPSA id l7sm5427197wmg.41.2021.01.28.00.38.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Jan 2021 00:38:49 -0800 (PST) Date: Thu, 28 Jan 2021 08:38:47 +0000 From: Lee Jones To: Mika Westerberg Cc: Andy Shevchenko , "linux-kernel@vger.kernel.org" , Andreas Noever , Michael Jamet , Yehezkel Bernat , "linux-usb@vger.kernel.org" Subject: Re: [PATCH 05/12] thunderbolt: pa: Demote non-conformant kernel-doc headers Message-ID: <20210128083847.GD4774@dell> References: <20210127112554.3770172-1-lee.jones@linaro.org> <20210127112554.3770172-6-lee.jones@linaro.org> <20210127161320.GK4903@dell> <20210127170035.GG2542@lahna.fi.intel.com> <20210128082330.GC4774@dell> <20210128082743.GP2542@lahna.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210128082743.GP2542@lahna.fi.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 28 Jan 2021, Mika Westerberg wrote: > On Thu, Jan 28, 2021 at 08:23:30AM +0000, Lee Jones wrote: > > On Wed, 27 Jan 2021, Mika Westerberg wrote: > > > > > On Wed, Jan 27, 2021 at 04:13:20PM +0000, Lee Jones wrote: > > > > On Wed, 27 Jan 2021, Andy Shevchenko wrote: > > > > > > > > > On Wednesday, January 27, 2021, Lee Jones wrote: > > > > > > > > > > > Fixes the following W=1 kernel build warning(s): > > > > > > > > > > > > drivers/thunderbolt/path.c:476: warning: Function parameter or member > > > > > > 'path' not described in 'tb_path_activate' > > > > > > drivers/thunderbolt/path.c:568: warning: Function parameter or member > > > > > > 'path' not described in 'tb_path_is_invalid' > > > > > > > > > > > > > > > > > I think the intention was to describe them in kernel doc format, perhaps > > > > > you need to add descriptions of the fields? > > > > > > > > For changes like this, I've been working to the following rule: > > > > > > > > - I'll provide fix-ups; if and only if the author has had a > > > > reasonable attempt at providing a conformant kernel-doc header. > > > > > > > > So if the headers are just suffering from a little doc-rot i.e. the > > > > API has changed, but the doc update was omitted, or most of the > > > > parameters/members are documented, but some were forgotten about etc, > > > > or if there are formatting issues, I'll happily take up the slack and > > > > polish those up a bit. > > > > > > > > However, if no attempt was made, then they get demoted. > > > > > > > > I don't want to get into a situation where authors delicately provide > > > > weak documentation with the expectation that someone else will come > > > > along and turn them into conformant docs. > > > > > > > > If authors wish to come back, provide proper descriptions & > > > > formatting and subsequently re-promote them again, then all power to > > > > them. > > > > > > Thanks for pointing these out. I prefer we fix the kernel-docs (add what > > > is missing) instead. I'll take care of that. > > > > Are you planning on actually using this? > > Yes, eventually :) :) > > I don't see a Doc link for these functions in Mainline: > > > > `git grep kernel-doc:: | grep thunderbolt` > > There is not one now but I would like to have the kernel-docs at least > in correct format so we can add the link later. Very well. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog