Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp2956453rwb; Sat, 6 Aug 2022 09:22:59 -0700 (PDT) X-Google-Smtp-Source: AA6agR7pPbURt41jn1diJ/h6NarWMwwRCCKbajmBaJn7SWRaF+dEPKPdlIL2NE+c5x4g+gDSMJ0l X-Received: by 2002:a17:907:2706:b0:730:95df:66ec with SMTP id w6-20020a170907270600b0073095df66ecmr8909966ejk.260.1659802978770; Sat, 06 Aug 2022 09:22:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659802978; cv=none; d=google.com; s=arc-20160816; b=qUXed0ZT7HZmJ2ICR+N81YQKxUo7OoktgD+WVDDtvrYMGt5HXRutE79+VLH//u2DTN Owi1Sa8KCdkRyc6cJBtsBjlcFdRREYS6yOmKChyPkDx5j3zMB5DTkbQ+Z3n1c9h8Ail5 P2XzGumA/d6xV9XmsQzo2kW3hQWRFJdNiKkgYWXjKMmQqNOvsbtnHCsdM4AqklOHETdh UoQXEi1hGGPM4k6r+ju7sWYqYz7vWHcVaUbccGdxz+g7P2HKRYI173VzHeSUa6eKCtWM QNt3WCpMFGwAyH9Sro1hkFtNb9EKrFtpMtXzx57sYzMYDtN+dyN0cN2/JfUUrOrT0oyh mgsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=pMK46OQvUXubQVKSEFhXAi2oxZAgUPwc1fAC5SHuD6A=; b=aapXmx3ufhJ80IJTm9IupZ4oSPVdOSNDnUSWs+34oj6az3FsI0tmnaQ7iCSmYEFgJ+ PEzI/2MydauPyYOxnzSsUDXx6WY/1Aec+KhaCdKm0qKQhYOTMq3Rx9lwGEFFVdKCvLYq zHzScJB0q7lR8HpWQqqmJ1KfMESW/EM6Oh0tRoqjtsM4ddR60PPNsZ47aXbw3w0QLCP5 o5xpkjmtBRDeeYP6Zej+hGqjzfc25WSWY2ROvVRsf1TezBeFkAEnbPAfr/Jm7sac2vO5 8utMCGAHrsAi/iSazZvTDCfV0OWfDAK4hnYJosam0DfVVNw/qwmsxfIU6d1e6AOZfaHJ Wfjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DRY3+KPC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sg37-20020a170907a42500b0072a7a097e3csi5883390ejc.464.2022.08.06.09.22.33; Sat, 06 Aug 2022 09:22:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DRY3+KPC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231920AbiHFQIY (ORCPT + 99 others); Sat, 6 Aug 2022 12:08:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230128AbiHFQIX (ORCPT ); Sat, 6 Aug 2022 12:08:23 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A87B8B859; Sat, 6 Aug 2022 09:08:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 5D5A0B80025; Sat, 6 Aug 2022 16:08:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D4DC0C433C1; Sat, 6 Aug 2022 16:08:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659802099; bh=KaJNt0cSkuFB1ok87jDtHilImyzswYx2bxlCgHo8OH0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=DRY3+KPC2nfOyD/L7FJeV/UyzlkwTjQbSOZsPNe0kn8ZSmwKXphJTRY7JKLrQ7uUU EDJ0iYxIVFj6LDaj0m4FAcsDz/8PZ2Sm6vkwus6L6/A3geggsWd/Xc/BAzSsIvxTJV 5ojxOlSBae2SYp2Rbr355DIUUJYf/HlCH7FlJapHt+xp3CuQ1Sfjmmon2ASSKZpK47 7TmBrNvfvDx/Mr2fSOBQglBJwlkKw24Ugb0QOIK9p0ApKiT05KBeXs3pqH4/NdC/VK 4aAY4xCYLVFxFXq3SxUkknx34NhwPQ9YRP9AsPJzbWxQZ6FAqnjlRGSPZNiVGmSWX5 93b5EA5Ugywaw== Date: Sat, 6 Aug 2022 17:18:39 +0100 From: Jonathan Cameron To: Joe Simmons-Talbott Cc: Lars-Peter Clausen , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] iio: Add names for function definition arguments. Message-ID: <20220806171839.30883878@jic23-huawei> In-Reply-To: <20220731160120.4831-1-joetalbott@gmail.com> References: <20220731160120.4831-1-joetalbott@gmail.com> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 31 Jul 2022 12:01:20 -0400 Joe Simmons-Talbott wrote: > As reported by checkpatch.pl add missing names for function definition > arguments. > > Signed-off-by: Joe Simmons-Talbott Hi Joe, I took this last week. Not sure why email didn't hit the list. Thanks, Jonathan > --- > drivers/iio/industrialio-event.c | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/drivers/iio/industrialio-event.c b/drivers/iio/industrialio-event.c > index b5e059e15b0a..0e2056894965 100644 > --- a/drivers/iio/industrialio-event.c > +++ b/drivers/iio/industrialio-event.c > @@ -354,9 +354,10 @@ static int iio_device_add_event(struct iio_dev *indio_dev, > enum iio_shared_by shared_by, const unsigned long *mask) > { > struct iio_dev_opaque *iio_dev_opaque = to_iio_dev_opaque(indio_dev); > - ssize_t (*show)(struct device *, struct device_attribute *, char *); > - ssize_t (*store)(struct device *, struct device_attribute *, > - const char *, size_t); > + ssize_t (*show)(struct device *dev, struct device_attribute *attr, > + char *buf); > + ssize_t (*store)(struct device *dev, struct device_attribute *attr, > + const char *buf, size_t len); > unsigned int attrcount = 0; > unsigned int i; > char *postfix;