From mboxrd@z Thu Jan 1 00:00:00 1970 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=-7.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS 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 51EFBC433E0 for ; Thu, 25 Jun 2020 06:56:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2757B207FC for ; Thu, 25 Jun 2020 06:56:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593068173; bh=LLg3oWdgxiTC3p+Wp1Y5Wh8348gqkNmG+cwRGz7cldk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=LBQ+E6MVnLm1fyEgGk0q4ZjX97IMn96f9FQ1/A2edIRI9fO7XfZDJ1icqKVEz5V3e EAuVsT1yHzlSIxh5fhYKdtaFe1ItiXX4qPMJObEWS2XzpOVRRz7BlfQEHhk/IA/NGM nkBVmiuW+fIO+oSy4lZ65SkICVwIkKhuJc4DISSg= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389982AbgFYG4M (ORCPT ); Thu, 25 Jun 2020 02:56:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:36606 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725969AbgFYG4M (ORCPT ); Thu, 25 Jun 2020 02:56:12 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2F9F9206FA; Thu, 25 Jun 2020 06:56:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1593068171; bh=LLg3oWdgxiTC3p+Wp1Y5Wh8348gqkNmG+cwRGz7cldk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=n3cTfeUPSienHW06J4N0OBq/uvddeTc5k452QHci6ezmZ28QYtRNU2rJ2y6SG3Q78 rUmED/g3s9tXxXLQKiv6bpQHGTYLW9JTZNPOcKPkLMyPJAtX+p+zuQnWOclxG59rWe hJPie8kDV4OkgrrR3p8NOLDH3IgJelbbC4Rg7Ky4= Date: Thu, 25 Jun 2020 08:56:08 +0200 From: Greg KH To: Lee Jones Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, patches@opensource.cirrus.com Subject: Re: [PATCH 01/10] mfd: wm8350-core: Supply description wm8350_reg_{un}lock args Message-ID: <20200625065608.GB2789306@kroah.com> References: <20200625064619.2775707-1-lee.jones@linaro.org> <20200625064619.2775707-2-lee.jones@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200625064619.2775707-2-lee.jones@linaro.org> Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Thu, Jun 25, 2020 at 07:46:10AM +0100, Lee Jones wrote: > Kerneldoc syntax is used, but not complete. Descriptions required. > > Prevents warnings like: > > drivers/mfd/wm8350-core.c:136: warning: Function parameter or member 'wm8350' not described in 'wm8350_reg_lock' > drivers/mfd/wm8350-core.c:165: warning: Function parameter or member 'wm8350' not described in 'wm8350_reg_unlock' > > Cc: > Cc: patches@opensource.cirrus.com > Signed-off-by: Lee Jones > --- > drivers/mfd/wm8350-core.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/mfd/wm8350-core.c b/drivers/mfd/wm8350-core.c > index 42b16503e6cd1..fbc77b218215c 100644 > --- a/drivers/mfd/wm8350-core.c > +++ b/drivers/mfd/wm8350-core.c > @@ -131,6 +131,8 @@ EXPORT_SYMBOL_GPL(wm8350_block_write); > * The WM8350 has a hardware lock which can be used to prevent writes to > * some registers (generally those which can cause particularly serious > * problems if misused). This function enables that lock. > + * > + * @wm8350: pointer to local driver data structure > */ > int wm8350_reg_lock(struct wm8350 *wm8350) > { > @@ -160,6 +162,8 @@ EXPORT_SYMBOL_GPL(wm8350_reg_lock); > * problems if misused). This function disables that lock so updates > * can be performed. For maximum safety this should be done only when > * required. > + * > + * @wm8350: pointer to local driver data structure > */ > int wm8350_reg_unlock(struct wm8350 *wm8350) > { > -- > 2.25.1 > Why are all of these documentation fixes for stable?