Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp1494200imn; Sun, 31 Jul 2022 09:06:50 -0700 (PDT) X-Google-Smtp-Source: AA6agR5Tvs662CVmp9ICqVyh2RSZz5jL7PcGzE9Puazbz3Vvt1xnbIuLLICRhKskf+1aEBGILNWP X-Received: by 2002:a17:903:110c:b0:16c:cfae:e492 with SMTP id n12-20020a170903110c00b0016ccfaee492mr12893082plh.162.1659283609892; Sun, 31 Jul 2022 09:06:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659283609; cv=none; d=google.com; s=arc-20160816; b=KI+EdqyR5tiCYhZ78BITRmreCGtL2oPESW9+SFV1JD0ZPRfqq5Yoj6e6wF3oM2y27N 7a+Jjf5DDuqhLm2mAR8dnknNiuqebUsBJ+6Rfu1S1grqVnDQBTaTgKBGyNraSHdJ0Dh0 aPY1Cm2fHxeYVTgZuyfzPlkAg9aOUMEaJX30WEx//rhn1RgtD5qztZ1RgpbhmJrEQ6M/ qLrH/VIod7pbGcT/HLsK4vKjiMQtHtUtqjpvPWsIJbvpNxNrJF0mmdtUJVTjtLaIQJd2 0Ki2et0MjFIUP3xC3uAjrhJmGVdPIANbtQ8b+tAp1CA0FKzuKiGrCBtrZ4IS3buhhG1k Blww== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=l3Ls49MCuUPGsCWSsHd+LecCPnmoDzAGdp19gbXuWH4=; b=IOC+zWyVDQNkZHE0hsMtNSK+ZFSL05JF/2amqo3rlvIu8Bzo0930L4fWYgY/+oNYEk sf4SEBmreI5UyXbg3ryL212WFroIgRyGoQ7+XE6EavGpK8FQBr5ZNbnqFQDgzhB27gHV lVXJm+UbwdQ4R4DkoonqFFe3Rh2UA8wyPH7s50CO+BhxA4NoeZqtg/umbXFxKDnAXlTp 7DmLmceqAMKlMf316xCy/FMkbynsjXy7nQTtrNfDvDNOYBKxVmP0mFLdwu8jeKLu47Nk VogU+o8JwMGJfqQXnnG0mjEPCrmGzV84cqHdE6Gvc+QMiumeTvO9hR2RGv4uDlWtIvdT GekQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HVgyZWgm; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s34-20020a056a0017a200b0052d70adee62si1031590pfg.309.2022.07.31.09.06.35; Sun, 31 Jul 2022 09:06:49 -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=@gmail.com header.s=20210112 header.b=HVgyZWgm; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233077AbiGaQBo (ORCPT + 99 others); Sun, 31 Jul 2022 12:01:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229569AbiGaQBk (ORCPT ); Sun, 31 Jul 2022 12:01:40 -0400 Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61919B7E7; Sun, 31 Jul 2022 09:01:37 -0700 (PDT) Received: by mail-qk1-x733.google.com with SMTP id m7so6835508qkk.6; Sun, 31 Jul 2022 09:01:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=l3Ls49MCuUPGsCWSsHd+LecCPnmoDzAGdp19gbXuWH4=; b=HVgyZWgm7iXzy2eO2ax8Ey6krAL5xH5Ha611dAwe+YWBNTMR29uS5KjC2C8HbEEOwS Z/o/ROcpR1bRdCRguN1KmxQTnV/cdjSuuK3yc97FSJLi610QdwvPtgD947Iz78JVW1tN FgOszYRdeoDYDF9p7YeoQFwdVmo71uKrcqKhnEWgsdl1K+gFAKDYpQysZLIU3gWUB7vL SyEeeV+HWXdu+M0eGDXyPuheo03Rxkt8b3FMiwiGQQUuuprE3yQCLc7yAsVzuB7uRSmR iD6rWjxyfx3Ha1pTqnVTKQUky3fCA4wKxta9V9DFXbjTfmVzGYaQidJ/KAndJXzPbbWT F7xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=l3Ls49MCuUPGsCWSsHd+LecCPnmoDzAGdp19gbXuWH4=; b=zetA97R/SVQ0EYMqBVD7HTNNgIUmNktPfZTu1LGJzMuyOC9PO+9lej3vDlURVSUnup 7+42ukzDBhRyh0lgOp2cmVI/GGi1oFN8HE80XpMm21I0ncqLum2+tLOODFPQ/QhdSJPH /fGbmIfaX3KtEg0nfmdfwucsElP+twotevFC8Lfgezpd/g8sEbfDvGvjX4zCbxsMErO2 NOf8sHEtarbFlhIbrg0L1GNkGgaq893DARZgRYP1M9gLXo+yIP11jJUao7s47wtOUZgK H3J7WLSd5uFfzNSsUYqAB3nnDtLXY+0Asic5i2VXyCmMn1yPUQ0SMCDT2KGgjSznjo0V zl0A== X-Gm-Message-State: AJIora+gNB8iiyRdvk7JARvp0+SmaqmLylEdIfE6gC36ytlZ6wagD0jy h16sNthhsVGCXKzhegim1Zg1FSDylRw= X-Received: by 2002:a37:b346:0:b0:6b2:8e4c:690c with SMTP id c67-20020a37b346000000b006b28e4c690cmr9348826qkf.654.1659283296501; Sun, 31 Jul 2022 09:01:36 -0700 (PDT) Received: from spruce.. (c-71-206-142-238.hsd1.va.comcast.net. [71.206.142.238]) by smtp.gmail.com with ESMTPSA id bn4-20020a05620a2ac400b006b4880b08a9sm6854626qkb.88.2022.07.31.09.01.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Jul 2022 09:01:36 -0700 (PDT) From: Joe Simmons-Talbott To: Jonathan Cameron , Lars-Peter Clausen , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Joe Simmons-Talbott Subject: [PATCH] iio: Add names for function definition arguments. Date: Sun, 31 Jul 2022 12:01:20 -0400 Message-Id: <20220731160120.4831-1-joetalbott@gmail.com> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 As reported by checkpatch.pl add missing names for function definition arguments. Signed-off-by: Joe Simmons-Talbott --- 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; -- 2.37.1