Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp592968pxb; Wed, 27 Jan 2021 16:07:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJxFOEsPhG+inSTU+e9F+2tJ4OkdtX4TWtRUK9+whjfck2R4OivtO6Yh4s4UuFGuRA13q2H8 X-Received: by 2002:a17:906:48c:: with SMTP id f12mr8545511eja.431.1611792458754; Wed, 27 Jan 2021 16:07:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611792458; cv=none; d=google.com; s=arc-20160816; b=MafF2dUmeiTYokL0LdTxaS1BeYDVQy7JihcdjKzMWrfGrxHq5M6OHOY5opWaUZEkFK 6gzA2SWfJDvWrCJSvMUJn4WCLsJAXnBH3jY8IXEA7Ap7bvkjnN2BohifjVnDARQWxvC0 Boaz1ApFcW3weILWNVhb+mM1RXeAeyImI+E/QEz6rLVGamroykPNgtO07NmErJAFwMDO kpKcyRAXVRsDkGpV7Bsvd+DB3WLLbVEhTGKSRL4p6P2IOkisqDsKoqji8cnLoJESXf2r GaCcvN0t0ZopzutlIZw8aer45ZeqsRcMrRc+KD/L7V6IQDrv3z6l15Tf5cXXeAvHbibR TNAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=YFDUHJ6awPYNuA3LT3ltuZKiw1vbTm8wYdWK4EvlU3E=; b=dQaMqUWwqVSFn+GTdil7UA+M85DwMbed1Dt26zTs6Bcbr0BElNgCpF9Pa6aW4avCae 9UhkMD3pgFZURu1JSbUseUQH3LLQ15wU5D7cfM11c7bdkzjaPe/36wg++3NrDY178A4T jQfyGeMgGI2bHXxLoJuuCOMwlhqHlgNwgbCnwZ+rB+row2lTlkfjQkl8MSWVjgydS72C 4e5pfl/h8mFk0IF+XSTMQ21o4clq+sb22ng+CBHFvOP0hOZ6FhkvA5A0+4ygRpajTmxa t/3gxb+LLB83I06pX24daqFKuIX4rlZWjgJUEjA9/ZhGxUTm6qx8xp7AHRSzZ3BZUSEK sJAg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l17si1490979ejq.589.2021.01.27.16.07.14; Wed, 27 Jan 2021 16:07:38 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235228AbhA0RE6 (ORCPT + 99 others); Wed, 27 Jan 2021 12:04:58 -0500 Received: from mga09.intel.com ([134.134.136.24]:24111 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235172AbhA0RCq (ORCPT ); Wed, 27 Jan 2021 12:02:46 -0500 IronPort-SDR: N9aTcGgv5V0lwl6ToUGK3eO6mnIK/Oq7Xk3dkYKNLWAWy4o1JXSbuF1CSbQ9t+qHyYXTrcyHm/ GeJGt4rHtIdA== X-IronPort-AV: E=McAfee;i="6000,8403,9877"; a="180243415" X-IronPort-AV: E=Sophos;i="5.79,380,1602572400"; d="scan'208";a="180243415" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jan 2021 09:00:40 -0800 IronPort-SDR: NgjDxMrAnE/dO2jAvetj5T3vVY9RGjj/MdKwwx2Xc1tTEdoPLadHlGTUNoSmhNhBZmiu9cIdH9 qA0nPTL7bHPw== X-IronPort-AV: E=Sophos;i="5.79,380,1602572400"; d="scan'208";a="362494884" Received: from lahna.fi.intel.com (HELO lahna) ([10.237.72.163]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jan 2021 09:00:37 -0800 Received: by lahna (sSMTP sendmail emulation); Wed, 27 Jan 2021 19:00:35 +0200 Date: Wed, 27 Jan 2021 19:00:35 +0200 From: Mika Westerberg To: Lee Jones 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: <20210127170035.GG2542@lahna.fi.intel.com> References: <20210127112554.3770172-1-lee.jones@linaro.org> <20210127112554.3770172-6-lee.jones@linaro.org> <20210127161320.GK4903@dell> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210127161320.GK4903@dell> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.