Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1068094pxb; Thu, 19 Nov 2020 23:37:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJxj6PkRpeGQKUKcPCmBC4RI1vGCUXArHyNxpI28slOTeBRwxzgp33cGgCK6TTAQpDuI8JR+ X-Received: by 2002:a05:6402:1d87:: with SMTP id dk7mr35293880edb.199.1605857822993; Thu, 19 Nov 2020 23:37:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605857822; cv=none; d=google.com; s=arc-20160816; b=WYOYaNt3naVx7zEZjPhsCxMwwpMYKwUMeNJ6hCfQWWcYGDSgqM5QPY00Sm3QYcwwXV /oqmAjfPHcmKvhpUk6eUKkIhgBz4hEyqwnqNH4dlzKp1QFnaEErHTeO8HDlUBt+bhtUe yG1sWt5S4o6aFJpec8MgTjf6KTCiLUaniHkDVnORfZPpkNkAoAKRvVHnYZiEHa3p02M6 IMJ9RdRzXnDGz+H/yErxACMAbABDWyrC+iQi3camygi2e8VlDgU/Xk+KISq9bCGg41WU c2jj8R0+n0K9g2jC7Ymuvhq06pnlybG7onSj0FBiRk1ECFCgrzc2k9VoO3DGGiCIzY9b XCGQ== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:ironport-sdr :ironport-sdr; bh=Ea1h3H3XfOnj8pwlNMPHZFJlCssxG/2wc50btX2wzks=; b=cz80Lm8ugCo4305mgK/ScAja+54lWVSe1F3eTa8SMB+oizdI+Y6l95m/XDqmb9nDdO OLHZ3wVvNX32f1ovMBUYDteGvoYmmnQxjzX9F5WWaxJHnbFmozxuvU2j+s+oiomudO2o 2zbbKnuIZYc2V+8Kh8atoWZl58wVnK3Nv7a908oooQg3Ilm4V9x/Em4F6v1k0jROTXl0 cuZOCh/D3lEYqAQ2V3yM1vmEMzMCVKKltcuDLikF1ArHL1upHzASv/mvuPYiuv6MpX9J +FGeTQTh+G14w3mocwennw27FY7wwcwi392exyJQmNaMUkuoXWH1OcgioCS3jC5KcTI1 GS8g== 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 w14si1225740eje.646.2020.11.19.23.36.40; Thu, 19 Nov 2020 23:37:02 -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 S1726739AbgKTHda (ORCPT + 99 others); Fri, 20 Nov 2020 02:33:30 -0500 Received: from mga11.intel.com ([192.55.52.93]:57421 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726529AbgKTHda (ORCPT ); Fri, 20 Nov 2020 02:33:30 -0500 IronPort-SDR: DUaD02YoBkpu5M6FEADG6i/zp3uLtjVb/PX5EFqFF3XJArdcT08EgG//g8XG4bN7DaRRM0sb/x bGAMWwCCcUOw== X-IronPort-AV: E=McAfee;i="6000,8403,9810"; a="167919215" X-IronPort-AV: E=Sophos;i="5.78,355,1599548400"; d="scan'208";a="167919215" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Nov 2020 23:33:30 -0800 IronPort-SDR: SF7R8f0NKpmozNvLTy83J7i8bMMqj5wVqxojeldfJ09W//hhjiBfzQei9UCaMnLWes3Qm8J1jx 8s4NxRK05U2g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,355,1599548400"; d="scan'208";a="431495349" Received: from kuha.fi.intel.com ([10.237.72.162]) by fmsmga001.fm.intel.com with SMTP; 19 Nov 2020 23:33:27 -0800 Received: by kuha.fi.intel.com (sSMTP sendmail emulation); Fri, 20 Nov 2020 09:33:26 +0200 Date: Fri, 20 Nov 2020 09:33:26 +0200 From: Heikki Krogerus To: Prashant Malani Cc: linux-usb@vger.kernel.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, sfr@canb.auug.org.au, linux-next@vger.kernel.org Subject: Re: [PATCH] usb: typec: Fix num_altmodes kernel-doc error Message-ID: <20201120073326.GB4120550@kuha.fi.intel.com> References: <20201120063523.4159877-1-pmalani@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201120063523.4159877-1-pmalani@chromium.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 19, 2020 at 10:35:22PM -0800, Prashant Malani wrote: > The commit to introduce the num_altmodes attribute for partner had an > error where one of the parameters was named differently in the comment > and the function signature. Fix the version in the comment to align with > what is in the function signature. > > This fixes the following htmldocs warning: > > drivers/usb/typec/class.c:632: warning: Excess function parameter > 'num_alt_modes' description in 'typec_partner_set_num_altmodes' > > Fixes: a0ccdc4a77a1 ("usb: typec: Add number of altmodes partner attr") > Signed-off-by: Prashant Malani Reviewed-by: Heikki Krogerus > --- > drivers/usb/typec/class.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/usb/typec/class.c b/drivers/usb/typec/class.c > index e68798599ca8..cb1362187a7c 100644 > --- a/drivers/usb/typec/class.c > +++ b/drivers/usb/typec/class.c > @@ -618,7 +618,7 @@ EXPORT_SYMBOL_GPL(typec_partner_set_identity); > /** > * typec_partner_set_num_altmodes - Set the number of available partner altmodes > * @partner: The partner to be updated. > - * @num_alt_modes: The number of altmodes we want to specify as available. > + * @num_altmodes: The number of altmodes we want to specify as available. > * > * This routine is used to report the number of alternate modes supported by the > * partner. This value is *not* enforced in alternate mode registration routines. > -- > 2.29.2.454.gaff20da3a2-goog thanks, -- heikki