Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 89360C3A5A3 for ; Tue, 27 Aug 2019 17:09:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5EB80214DA for ; Tue, 27 Aug 2019 17:09:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730035AbfH0RJv (ORCPT ); Tue, 27 Aug 2019 13:09:51 -0400 Received: from mga01.intel.com ([192.55.52.88]:20495 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726871AbfH0RJv (ORCPT ); Tue, 27 Aug 2019 13:09:51 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Aug 2019 10:09:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,438,1559545200"; d="scan'208";a="171263299" Received: from linux.intel.com ([10.54.29.200]) by orsmga007.jf.intel.com with ESMTP; 27 Aug 2019 10:09:50 -0700 Received: from [10.54.74.33] (skuppusw-desk.jf.intel.com [10.54.74.33]) by linux.intel.com (Postfix) with ESMTP id D0DE6580375; Tue, 27 Aug 2019 10:09:50 -0700 (PDT) Reply-To: sathyanarayanan.kuppuswamy@linux.intel.com Subject: Re: [PATCH v1 2/2] PCI/AER: Update parameter descriptions to satisfy kernel-doc validator To: Andy Shevchenko , Russell Currey , Sam Bobroff , Oliver O'Halloran , linuxppc-dev@lists.ozlabs.org, Bjorn Helgaas , linux-pci@vger.kernel.org References: <20190827151823.75312-1-andriy.shevchenko@linux.intel.com> <20190827151823.75312-2-andriy.shevchenko@linux.intel.com> From: Kuppuswamy Sathyanarayanan Organization: Intel Message-ID: <71eb8108-61a7-2815-4082-75c21f8bbf03@linux.intel.com> Date: Tue, 27 Aug 2019 10:06:54 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190827151823.75312-2-andriy.shevchenko@linux.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org On 8/27/19 8:18 AM, Andy Shevchenko wrote: > Kernel-doc validator complains: > > aer.c:207: warning: Function parameter or member 'str' not described in 'pcie_ecrc_get_policy' > aer.c:1209: warning: Function parameter or member 'irq' not described in 'aer_isr' > aer.c:1209: warning: Function parameter or member 'context' not described in 'aer_isr' > aer.c:1209: warning: Excess function parameter 'work' description in 'aer_isr' > > Fix the above accordingly. > > Signed-off-by: Andy Shevchenko Reviewed-by: Kuppuswamy Sathyanarayanan > --- > drivers/pci/pcie/aer.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/pci/pcie/aer.c b/drivers/pci/pcie/aer.c > index f883f81d759a..6073eaab099d 100644 > --- a/drivers/pci/pcie/aer.c > +++ b/drivers/pci/pcie/aer.c > @@ -202,6 +202,7 @@ void pcie_set_ecrc_checking(struct pci_dev *dev) > > /** > * pcie_ecrc_get_policy - parse kernel command-line ecrc option > + * @str: ECRC policy from kernel command line to use > */ > void pcie_ecrc_get_policy(char *str) > { > @@ -1201,7 +1202,8 @@ static void aer_isr_one_error(struct aer_rpc *rpc, > > /** > * aer_isr - consume errors detected by root port > - * @work: definition of this work item > + * @irq: IRQ assigned to Root Port > + * @context: pointer to Root Port data structure > * > * Invoked, as DPC, when root port records new detected error > */ -- Sathyanarayanan Kuppuswamy Linux kernel developer