From patchwork Thu Jul 16 13:58:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667577 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E3D911510 for ; Thu, 16 Jul 2020 14:01:38 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B1A0920849 for ; Thu, 16 Jul 2020 14:01:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="HJUXcJNN"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="lIgBjCAr" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B1A0920849 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Ok929ln2Isl4HSH7sNT80u5YLsoreeUaJsK7BKa2nxk=; b=HJUXcJNNh5cyasfUyiNLE9Iof +nmJhlObzKo/aTKBUbXa+m/O4kNvZMYMqUdruS+kBgm6/m/h5E8b87hp5JHRTNn8OlOOnJhFZLbnY PTLlkfhhWxHQhydWLMclAeUCceSSqO2uKam5p3aa5lyPLa8rK8oFNcEZw2v39VKpln4uc9uytSxeD FDycklxAEePE+/RnEodmpgOU0/nxggdBbBsFFWKWNU1sJ3qA2/sYqYK96oTnTT4VeF8483/AqI41V rhZqWn+THWaev6H5/Ftr4VFbDfq5CjzwA/iMiQmcA2EjmbAOHI0HmXbNs2KEccdSGVabRSmt6UhMN huSTGY+nA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4QK-0003sK-Em; Thu, 16 Jul 2020 13:59:44 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4QA-0003of-0p for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 13:59:35 +0000 Received: by mail-wr1-x441.google.com with SMTP id z13so7179343wrw.5 for ; Thu, 16 Jul 2020 06:59:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=orBUHy/BGmffZA4LA+ipGScBGUJn7fYfkbVAM8m+aww=; b=lIgBjCArdEpGcSjo1Rtyqs2OSMZAreCnZeJRzKDgcP3CvY/5Xd0NYDupYFjKFwfWM5 8NTez5a0+GP2x5yjemlpLB+aTTjQ8S/dqgLBGoRHH1TirXWad94K54nYcZY5/E/HogpY Pa0szhtyvxV7eswEIeRtZGLcXBcTnM8d098PbdOkekwkzEqrrpOPEjcBBsk9PQdq8x7l vN7XrcDk9k5slv9pZz8JLLhKPWH5mgn37I/ifQZjH20DkFWId3KtsmI853Spb2u3OD/8 XZthh5TsJnei/DNdFfuLF9sII/FWEpg4Ddo+zhujsBMvEcNZa1ReZeoKjd8zy3mQP0kk KhkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=orBUHy/BGmffZA4LA+ipGScBGUJn7fYfkbVAM8m+aww=; b=Yp5MuzsoS1ksRLcz9rvN1DSpyjhxIY1Lk9zVXiMEhb10pWUToioUzw6IqCcbIxt+NY Y8IjubyOC87sjpCtsO1Uf1hMjOuahT4X4zEsmf2IYjNblFLMBr5gR9H1LtNC8vvJVxFe zBTLASgOpqrjvoqRXem8O/MRJ4OgIDf22uErULMZ6exvg+jIlGYElzOxKp7toQRzb1zd L7BmDCzMLog++bVa/AqiAV/m1Fc5apIz51CohmGxoHkz30IX1seWNN4lGrqfpIFa2vIJ awqnD8y110Y2yWCnKEg5gDLPGN8oWpZbaDohQejD4NmQUffW8oyWhXfaYXr/dv6/Zm6o fC6A== X-Gm-Message-State: AOAM5319cieLvqqHzzLni9gjV1WwwFMGTdGtzNCuvri9Giijmmkzqdgj rMrT4LW4bPHSBEI3w58UXAnLrA== X-Google-Smtp-Source: ABdhPJy1JSTu3kbsgYP/loEirhUW8pkWOd//jLIarF1XbEoVeVUlgCgFHlYhgElHekzZ+SrfxtpWig== X-Received: by 2002:a5d:66ca:: with SMTP id k10mr5162237wrw.244.1594907973157; Thu, 16 Jul 2020 06:59:33 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.06.59.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 06:59:32 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 01/30] iio: adc: ad_sigma_delta: Remove unused variable 'ret' Date: Thu, 16 Jul 2020 14:58:59 +0100 Message-Id: <20200716135928.1456727-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_095934_121578_5DC779C9 X-CRM114-Status: GOOD ( 11.45 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:441 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-iio@vger.kernel.org, Michael Hennerich , Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/iio/adc/ad_sigma_delta.c: In function ‘ad_sd_trigger_handler’: drivers/iio/adc/ad_sigma_delta.c:405:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] 405 | int ret; | ^~~ Cc: Michael Hennerich Signed-off-by: Lee Jones --- drivers/iio/adc/ad_sigma_delta.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/iio/adc/ad_sigma_delta.c b/drivers/iio/adc/ad_sigma_delta.c index dd3d54b3bc8bb..f269b926440da 100644 --- a/drivers/iio/adc/ad_sigma_delta.c +++ b/drivers/iio/adc/ad_sigma_delta.c @@ -402,7 +402,6 @@ static irqreturn_t ad_sd_trigger_handler(int irq, void *p) unsigned int reg_size; unsigned int data_reg; uint8_t data[16]; - int ret; memset(data, 0x00, 16); @@ -419,14 +418,12 @@ static irqreturn_t ad_sd_trigger_handler(int irq, void *p) case 4: case 2: case 1: - ret = ad_sd_read_reg_raw(sigma_delta, data_reg, reg_size, - &data[0]); + ad_sd_read_reg_raw(sigma_delta, data_reg, reg_size, &data[0]); break; case 3: /* We store 24 bit samples in a 32 bit word. Keep the upper * byte set to zero. */ - ret = ad_sd_read_reg_raw(sigma_delta, data_reg, reg_size, - &data[1]); + ad_sd_read_reg_raw(sigma_delta, data_reg, reg_size, &data[1]); break; } From patchwork Thu Jul 16 13:59:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667589 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 598A9618 for ; Thu, 16 Jul 2020 14:02:00 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 20CF920825 for ; Thu, 16 Jul 2020 14:02:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="EquLa7+Q"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="nH29Z6gX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 20CF920825 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=O5w9YVUUGK68XjuqB+17RCPkOx4p17NzEVQRqriH734=; b=EquLa7+QvGshqpKrAO6DZmyqu QK6PtS8fx4O7gJqS92WqWDFeLobuK2czd7O42HOb3mYnQf+mzfuAF+0MudHnUaW9utK2lXKG4eYkm bSGj54lZIZtrywAz60VYTTp+BX7aT5GWlB9UyHSDAp7/o7MdCXFLik6k8rZb+rTtJHejMd/KGU2RX 3nV/ObOX3q6xb0OxeioIcsdMHUwkPMk+8EXAn/kxJiGAHPWYF0+ZaOHaABWp8Tnz7m8pe4tcaHdvW 4hQmOMpiX56YyRuIOzVEx+6Aimvv0ZMSpSflUjmLETSyIU/9UiAWh2Pf2kt5pjpDU9kIutM5NZ3DQ FccddzbGg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4QX-0003y9-DW; Thu, 16 Jul 2020 13:59:57 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4QB-0003p8-8E for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 13:59:36 +0000 Received: by mail-wr1-x442.google.com with SMTP id k6so7202121wrn.3 for ; Thu, 16 Jul 2020 06:59:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=o0dhfHbo6Jhv4Yln3PlbJvX7LMKYF41HBBRlxGthXZ4=; b=nH29Z6gXpzv5rrELeKbsdKM3w0Q8+IhNcFKvDYYG+5ormhOG7cqwxfEWAJMPX+tIeD 4YEFHvI1LUQC539kYwto5BLCq22ol9DE2V14VDMmTISmPt6cov2REhfTCXLxbQCw8+qQ 8mIB3H5ZRm9fSWzY4MV2Ps/NNaMnuCF88HVFPyTTJvR4Djc5k8itxx0aa57B8C6H/5Uw 7siUf49+UEmni9Mi+E5QPAXfys5420syQp3aVNCPGv9a3nL1IHCjmwA8vAP7iMjQgU8z 4C+IN/Yzfw2ST3q17qtQFIUUu/G+OSPr+/qnWnUwNwyF+T8+Y/uF5EtVB8YwjrUNQuMw jvdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=o0dhfHbo6Jhv4Yln3PlbJvX7LMKYF41HBBRlxGthXZ4=; b=si+rNijdwjsIc2p7xGB8tRVxu60iAA2nizjsHWqzvz4gX3GlgJaGkCdDblPEZ6las/ By6Kfj/wUclKtXKdNnD3CoB1T/zkK2vIbUQm/E2L/l6SK8qFWWHoU2FQPegB88LMZgAc La1wh66hW1yiwjd12sXKTZlaTuAXUa+mdvJ/HyrZn33Vnay0yDXNBU6mXJ3BppJQeFP/ YwAlX0xWoISgDOyb287WbI6IFwtBroCGj9IzGSy8r3nb1CFSk5vC0hzvyQ/YcaIU8OdJ mPDbGublS58W13dU+xGvAyomNnUeO9G6yVKIn94ladaO5H0yg2EKwTsMwWH+EW8JRIoK FocQ== X-Gm-Message-State: AOAM530+6mPLw6/K4QL7iO4OCusuXNMXEppj0lMRxm82k6BGTwQ4Rt/m WZjEdj6uUaFGgtV8zHMktk/0lw== X-Google-Smtp-Source: ABdhPJzt85WxUm5a+7iQZLZMqFgtmD0y0IXrfcffy8eG4OYxdxAw6V7PIRtpH8R127p9kwRO8kn9OQ== X-Received: by 2002:a5d:540d:: with SMTP id g13mr4877688wrv.380.1594907974355; Thu, 16 Jul 2020 06:59:34 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.06.59.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 06:59:33 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 02/30] iio: accel: bma220_spi: Do not define 'struct acpi_device_id' when !CONFIG_ACPI Date: Thu, 16 Jul 2020 14:59:00 +0100 Message-Id: <20200716135928.1456727-3-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_095935_349646_511A8455 X-CRM114-Status: GOOD ( 12.28 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:442 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-iio@vger.kernel.org, Tiberiu Breana , Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Since ACPI_PTR() is used to NULLify the value when !CONFIG_ACPI, struct 'bma220_acpi_id' becomes defined but unused. Fixes the following W=1 kernel build warning(s): drivers/iio/accel/bma220_spi.c:312:36: warning: ‘bma220_acpi_id’ defined but not used [-Wunused-const-variable=] 312 | static const struct acpi_device_id bma220_acpi_id[] = { | ^~~~~~~~~~~~~~ Cc: Tiberiu Breana Signed-off-by: Lee Jones --- drivers/iio/accel/bma220_spi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/iio/accel/bma220_spi.c b/drivers/iio/accel/bma220_spi.c index cae905039cb62..439618d815594 100644 --- a/drivers/iio/accel/bma220_spi.c +++ b/drivers/iio/accel/bma220_spi.c @@ -309,12 +309,14 @@ static const struct spi_device_id bma220_spi_id[] = { {} }; +#ifdef CONFIG_ACPI static const struct acpi_device_id bma220_acpi_id[] = { {"BMA0220", 0}, {} }; MODULE_DEVICE_TABLE(spi, bma220_spi_id); +#endif static struct spi_driver bma220_driver = { .driver = { From patchwork Thu Jul 16 13:59:01 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667591 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 04FA8618 for ; Thu, 16 Jul 2020 14:02:12 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CDE32206C1 for ; Thu, 16 Jul 2020 14:02:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="zdis3FL3"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="u/3C4sQe" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CDE32206C1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=T2v1A2jee6dHx0062EhHFJHJ5U/6msM0bHFpQhAYjjc=; b=zdis3FL3WZFKUmc2pooiI2Q/v F3KQt1TxkzhruO6Wb+k40mbgjHK2uCaWcD5k4xlBjjMFqtE10X2VC3QxIGz6wC4r5UhEm3z2l6zza CdeSSMa8RQqoeKqgBxuKOjZIak9ht7/MV90kHdkIz20VAMsbTcZR9bG5jOcr5dCvlCGe59SCoXN0l EVv37VvGngbwVGrFW9OPI7gwgWcH76zYZ6aqgDlXlbSjaNEbca73HBVIkZldoynzyfTLhziNcwkI5 EfjgHAzIOHyo7gA9oCrrvU28pEUB6GBWo1U7qLjEv3aYp4eGedbwtEXHyw2Z71FhgzqL8b3q+26Tp ELc9DFgKA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4Qp-00047H-6p; Thu, 16 Jul 2020 14:00:15 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4QC-0003pa-H9 for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 13:59:37 +0000 Received: by mail-wr1-x444.google.com with SMTP id f18so7225347wrs.0 for ; Thu, 16 Jul 2020 06:59:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nZqUJm7bYgsZ8KeaAgk3CGTLQbMlyTjU1eHGwM4twhc=; b=u/3C4sQeGVtp5QvH0BG2uoM++8foxBBivmq7LztkEXFIjki8OKzHY/suLvH5GlFSJT aBPb8mYlBq8sk4rysEi+xShx9QDkOgpAXDgfzGOVBtNlra+4ezfqAkdcOUqyBgTIFRRO 4oJX7VzO3ZAONnoykr7CgGQm/H03O6Dn1NGoipxSA/Flqg7j7jb22km6l+qipJml0bGf t/o65W9rL1PdHK/mW0WZlFIXY0YpWsWlU66jqnlFaGND/3nGEgDJQSiZLdvparA76LyR L3vFWevr+rMooQIx8K9I0Cv2RYAoyKseOHsFhMDGTuB0slHfj/4es1KnEod2lslLNoST xBPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nZqUJm7bYgsZ8KeaAgk3CGTLQbMlyTjU1eHGwM4twhc=; b=CA6oRdn9VgkHuhFhM96BUGGXFmAnuzMpBt5l/ez1lx2nzuKlC7f9tFdKVw/Pn7URqI knpVs4PXrBXt0dlPvhJlfzHNw5xgHaVyZdOHSn7kPNmJwcCQXV4G4pWcrfKH3qc3Q13t zOczyfaGLQhkEWOaKpZNBn3hk1Pe3ks1STHHsADW2CI1iJOX99y7I7GKhqWD7TLNFM+f 9XzUwe1demlm1Km677IXy5N9z1L/RaeCJxKJOt2t93pwIU6D9H4250cIOeWosQYFZ8wZ gATzrOatuVJAwQ58/SrD71iS0wMkBK6TlN5nSRanZ0pgVhytb7RqWlTfE4QKyEu/HRj3 Knmg== X-Gm-Message-State: AOAM530YYKrVRslENPfAbkR3FPLGPOQPkqedrnW6PCxAMoAaDK22ixmC 1aGwrW8MhmFPtoFFNmcElcB4pw== X-Google-Smtp-Source: ABdhPJzoybcvPp58Q0rumnOu7a78XDNKPWdg9tdSi33Mheeo0/bn1IcCnvlOajQjQtmD8Y+8YcwWVA== X-Received: by 2002:adf:8521:: with SMTP id 30mr5016609wrh.238.1594907975545; Thu, 16 Jul 2020 06:59:35 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.06.59.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 06:59:34 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 03/30] iio: common: ms_sensors: ms_sensors_i2c: Fix misspelling of parameter 'client' Date: Thu, 16 Jul 2020 14:59:01 +0100 Message-Id: <20200716135928.1456727-4-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_095936_622326_C9EC42CD X-CRM114-Status: GOOD ( 11.71 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:444 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: William Markezana , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Ludovic Tancerel , Lee Jones , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Probably due to docrot. Fixes the following W=1 kernel build warning(s): drivers/iio/common/ms_sensors/ms_sensors_i2c.c:186: warning: Function parameter or member 'client' not described in 'ms_sensors_read_serial' drivers/iio/common/ms_sensors/ms_sensors_i2c.c:186: warning: Excess function parameter 'cli' description in 'ms_sensors_read_serial' Cc: William Markezana Cc: Ludovic Tancerel Signed-off-by: Lee Jones --- drivers/iio/common/ms_sensors/ms_sensors_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/common/ms_sensors/ms_sensors_i2c.c b/drivers/iio/common/ms_sensors/ms_sensors_i2c.c index b52cba1b3c831..b9e2038d05ef4 100644 --- a/drivers/iio/common/ms_sensors/ms_sensors_i2c.c +++ b/drivers/iio/common/ms_sensors/ms_sensors_i2c.c @@ -165,7 +165,7 @@ static bool ms_sensors_crc_valid(u32 value) /** * ms_sensors_read_serial() - Serial number read function - * @cli: pointer to i2c client + * @client: pointer to i2c client * @sn: pointer to 64-bits destination value * * Generic i2c serial number read function for Measurement Specialties devices. From patchwork Thu Jul 16 13:59:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667593 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B3055618 for ; Thu, 16 Jul 2020 14:02:20 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4B52F206C1 for ; Thu, 16 Jul 2020 14:02:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="FWkqdZJh"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Hd2yo7pm" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4B52F206C1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=QDCNpemyct98DeMDn+tiSSkY1lHCY1aoGK5TyHrEs44=; b=FWkqdZJhjdiP5f6SUYpzlm03W +LHIU5Dh5RFNVRX84TcX+bhGpFgHj0oKcYVRGAQ8xiJPsy14oLstl3a3EuFHxem1kq8XnyW5n/+LH chStPS/z1lEpHvSMVZfvVmdaofkzk2O9tZtS6MMh039U+rUC2J7H8PNzeRU9g/A9p4egfEzcf3XgZ BsYvq4hzbZEqPB0q4xN4YlG4QDa/Bp+HvqhushdmDDPWsHTwQSbdvRfgH2e/HnrRFIwu3UcIAiAoH ZYl+XD6hFynU2OxSaP5Rua3vSENyRwDt8rhivKi/cBcZaFRfAvelhvksyYv09R+71hqqW/NlNDhgA 31OZnn/rA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4Qu-00049W-Nn; Thu, 16 Jul 2020 14:00:20 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4QD-0003q4-L1 for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 13:59:38 +0000 Received: by mail-wr1-x444.google.com with SMTP id a6so7194598wrm.4 for ; Thu, 16 Jul 2020 06:59:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=prTZ5JEswUnocIpjh51nEpoOPf62BiWU4kn635sFnW8=; b=Hd2yo7pmgR53H21ZDQwCTMsS7vmn+wCghqwTrr1p71Vg/do4U9Uh450Dtj7OneNCx5 bzdI98Lv0aruEcPTEqDPmVbi7xwK6HgkSxaI3WC0iedr2lQQn487UTvM/sdLkDW30iKP d5cH1P5Nk/NPDup/jnmfyvKQaDacq/y5UMiZWdpUsEdSaXMc9BUpTHKvbnRDXnYlDOHU bofZ043dhHRiP1oIAhQWfWcisZdVSRwr4nZI3GxNDY1iB2r/hiL8emYHW8yojob2Mr8G HVe8nxbbvG5IfR8E+z3WnsFXmgZo+gni9zjsrrJ/VwANSAyydO42CpYlgfWJV8vfqiKi /dpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=prTZ5JEswUnocIpjh51nEpoOPf62BiWU4kn635sFnW8=; b=kGDY+/BR7l1uiE3WpktDlXGX/VwpcaUqjj626Ll7ZT+02vCvYMPuEGJCvjy0z9iuCy imLrUGzeaxXlnZwSXAxHWk1YvZ8jPkMsvrgxYaRbV7jqd/ptLeKo/lT15Ne+ZdVta2Fp MInfdjSVEPHIhYEsEGq7PCdTZ1tzVg47claBxhTJepwz4KValD8/hQNKMumgqK6BorcV z5mLtpZjdnZV20xJVUA00eiu2NVi3Sq+5zlgU56pWqbrf13sJ3ySBB2ZJmapltRcUi+Y +47WN2YXea6ePJBatEUMwRz8SKm3OcNjCym075Ja5TT0FbtfeCgbDOmLQqAcYdlfRAqQ ilBA== X-Gm-Message-State: AOAM532a0aj4UACptq/5U/yw/uDS2yludVv8pOknI1kwE0AgjPcD9ppi 6yQ5MubtRjlhiLC2YK1uBqEy+Q== X-Google-Smtp-Source: ABdhPJwX3IRYbokI3ZHKxGyWbM/Z7e1QEIkzkfGiBwVXjlu5nBA3i+bXqJiziE4LGWMiuzurDIAHbg== X-Received: by 2002:a5d:6412:: with SMTP id z18mr5143505wru.310.1594907976855; Thu, 16 Jul 2020 06:59:36 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.06.59.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 06:59:36 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 04/30] iio: adc: ad7298: Demote obvious misuse of kerneldoc to standard comment blocks Date: Thu, 16 Jul 2020 14:59:02 +0100 Message-Id: <20200716135928.1456727-5-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_095937_944815_C13AEBAC X-CRM114-Status: GOOD ( 12.44 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:444 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-iio@vger.kernel.org, Michael Hennerich , Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org No attempt has been made to document either of the demoted functions here. Fixes the following W=1 kernel build warning(s): drivers/iio/adc/ad7298.c:106: warning: Function parameter or member 'indio_dev' not described in 'ad7298_update_scan_mode' drivers/iio/adc/ad7298.c:106: warning: Function parameter or member 'active_scan_mask' not described in 'ad7298_update_scan_mode' drivers/iio/adc/ad7298.c:154: warning: Function parameter or member 'irq' not described in 'ad7298_trigger_handler' drivers/iio/adc/ad7298.c:154: warning: Function parameter or member 'p' not described in 'ad7298_trigger_handler' Cc: Michael Hennerich Signed-off-by: Lee Jones --- drivers/iio/adc/ad7298.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/iio/adc/ad7298.c b/drivers/iio/adc/ad7298.c index dc8d8c5f6ad36..006b6f63cf4e8 100644 --- a/drivers/iio/adc/ad7298.c +++ b/drivers/iio/adc/ad7298.c @@ -98,9 +98,9 @@ static const struct iio_chan_spec ad7298_channels[] = { IIO_CHAN_SOFT_TIMESTAMP(8), }; -/** +/* * ad7298_update_scan_mode() setup the spi transfer buffer for the new scan mask - **/ + */ static int ad7298_update_scan_mode(struct iio_dev *indio_dev, const unsigned long *active_scan_mask) { @@ -144,12 +144,12 @@ static int ad7298_update_scan_mode(struct iio_dev *indio_dev, return 0; } -/** +/* * ad7298_trigger_handler() bh of trigger launched polling to ring buffer * * Currently there is no option in this driver to disable the saving of * timestamps within the ring. - **/ + */ static irqreturn_t ad7298_trigger_handler(int irq, void *p) { struct iio_poll_func *pf = p; From patchwork Thu Jul 16 13:59:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667595 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F06EC618 for ; Thu, 16 Jul 2020 14:02:22 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C802F206C1 for ; Thu, 16 Jul 2020 14:02:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="NfYTpGBg"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Jv6cEZz6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C802F206C1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=fPO4hNuIKDLl+eE72FvuYe2rbdGiKm6bj36t/2VhpA0=; b=NfYTpGBgPiUZmGYvt8PPf7kwK gzsNdGMbKiI90YpqQA1jIiAf1NNajObKL7NTuDiHahlM0uXsYkZcqgAMqbG2OYzHkCBe9OHA1NUkd GFtMEmrCaBSpg9zqF0bS0nZ52WzYmEVXE2/MoW5alVhLtGzQxKozx9ml4F16P8r1rMh2wbXi+lTon prcVZvfOAjpCnchI7XNVWHG898u4AgJe1hGI1rPXhZuzrDCmjYshVWIjPBypIucKy9eUigF3jyQPL D+PyG9MaNbqisMehtOIRvbAFz/tQZC5yQLGLnLrtCzfmWU7vv8VHaK7bnecfTsqY2+Htz1Be8C7Me CdCAYUjDQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4R2-0004CP-CM; Thu, 16 Jul 2020 14:00:28 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4QE-0003qV-Pn for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 13:59:39 +0000 Received: by mail-wr1-x443.google.com with SMTP id z15so7162052wrl.8 for ; Thu, 16 Jul 2020 06:59:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fG8RCQ1K6Z0ZD4fhah06tp/GYuGMejEtwlGsSpFMXOU=; b=Jv6cEZz6qHBVpSVOcwxAwzMDLFTHVAMLrP4A4D4V+FHDXZFAj1flc7YVNIRB0ee/WE aGwz1qvHH5ne6KtO0pimqv30XyEUFcAkU23rYpnzcim2sUiERnCh6IOKBB5AawvDrf8C ehF69Fh15rdZX9cZB3/5QsQtMFIlc6Z/K5pwABNbOJZ3J9yl9OmDxcPn1ZmNQ73UBVdd 1nd8eBuxEXNCHdgG3vNdNRXpWRlvHe1EONC1e4r2cMKbEMXWTcWXpn3M4bomO7+Qtk0Q f9bBWRoxYeSNIHsBfDB6eeNBmtIY/JWwik6Dn/F/JwVAb7FmkeG6bI8x/+y8B8xVwthK o+AQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fG8RCQ1K6Z0ZD4fhah06tp/GYuGMejEtwlGsSpFMXOU=; b=kYjTb+E2pKl7Hlkrv/5ys0naDtjRw9tcmstwA1CVZimCNicfC8FxJ1KFluibxpKmLJ pPWqG2CvgGYDTS146vLiZltkTfxdgwKlpEToJL8aRxXX+xJeU2Nse1+NxJr9ukldG132 nB0TYVaC+4Yovz3++0lR+4iRMWqjaROs0xxeJW62SWqdS2KEoN4872KaYZ7v14AxtJ0e oK9vGu/4MSW82gWY9n+gtiW3R+hfAmvC9/bVLXk2dFZ5uUkzMlnWC8HXFkzXwSJ4LTbr N+/UG5Ds1k626TAO49Gi7bHiLtg6AYBNZ8DXNp+qtLG4eE3HVDL7bOAcT9XTiGYt69q3 9yEg== X-Gm-Message-State: AOAM532dhdlJBRUDZlsQ3orymeci/Pb5o6rj9p0zmP1JyHyprwc6/m+6 W2v05ue9/IYYbivrlOm/T4ck7w== X-Google-Smtp-Source: ABdhPJyvpcH8qjv3cJarACK1MheVg11n29CkbWUPLk1zd4I4RoIeswrSswn++4ZubNJ1s43pi5gpJQ== X-Received: by 2002:a5d:60c7:: with SMTP id x7mr4966047wrt.138.1594907977935; Thu, 16 Jul 2020 06:59:37 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.06.59.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 06:59:37 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 05/30] iio: chemical: sgp30: Add description for sgp_read_cmd()'s 'duration_us' Date: Thu, 16 Jul 2020 14:59:03 +0100 Message-Id: <20200716135928.1456727-6-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_095938_883279_05A1876E X-CRM114-Status: GOOD ( 11.44 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:443 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andreas Brauchli , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Lee Jones , linux-arm-kernel@lists.infradead.org, Pascal Sachs Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/iio/chemical/sgp30.c:236: warning: Function parameter or member 'duration_us' not described in 'sgp_read_cmd' Cc: Andreas Brauchli Cc: Pascal Sachs Signed-off-by: Lee Jones --- drivers/iio/chemical/sgp30.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/chemical/sgp30.c b/drivers/iio/chemical/sgp30.c index 403e8803471a9..82e407d48a0aa 100644 --- a/drivers/iio/chemical/sgp30.c +++ b/drivers/iio/chemical/sgp30.c @@ -227,6 +227,7 @@ static int sgp_verify_buffer(const struct sgp_data *data, * @cmd: SGP Command to issue * @buf: Raw data buffer to use * @word_count: Num words to read, excluding CRC bytes + * @duration_us: Time to sleep in microseconds * * Return: 0 on success, negative error otherwise. */ From patchwork Thu Jul 16 13:59:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667597 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4FBC313B1 for ; Thu, 16 Jul 2020 14:02:47 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 12DAD206C1 for ; Thu, 16 Jul 2020 14:02:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="DeIpQpWV"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="PM/T9mUg" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 12DAD206C1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=sQvMaB39rXxwV0A9sc9kjwqqlIjDk4T69WfM2TwQyws=; b=DeIpQpWV7BiApNqMuoaPJzwTu hZ142HfHB+eBB1ZoN92C0sRfhfMYfN3hZRzqwmBOq1+AFH5NSsrPZGQMg9hPBW4y3uaJ0Q73ksPLP iMceqvavNEmDCAVu5PHnqfdCACvMBluOemwjkxU1BMn8zYk/rg0AmGGLykyy8AOwdBy73GdNXt2UB gHiKOZCANGdVpYpGPowqM5BTm0ZOY1i/hAC37jfswQZhZrzOXEdb2hlZgaiZ2+PJ2sTigCtmWIsG7 zWKK51SYxeXl79mzYdQ06tAgZPc2CI11QPkD8JkWSpgi1hxfIOp+cJDLUw7DNUo8wsiz3+kkTRddd 1zrQfZlKQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4RB-0004FP-Pt; Thu, 16 Jul 2020 14:00:38 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4QG-0003r6-08 for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 13:59:41 +0000 Received: by mail-wm1-x344.google.com with SMTP id f18so11698414wml.3 for ; Thu, 16 Jul 2020 06:59:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fj2Sj0XBOTrpGgH9u3LbiKzQE/KWClevdkHkCrkv1Yg=; b=PM/T9mUg57/CuVzSIuFJHVpwMZAsIApx9CGqyg4/eDIC/7dh9PlknGvhE+A+c7966q XybA6myfzfBuH/Qh+OX1ITKny8XjO5LLjfsFV/fYTP9VMB5rmlvpW3iQsQuj8CITWU3h jx97ObdkSLVlMbtORCmzu6vjidAYr+koJ+vGxd6udM4RZnXcrx2mGhZkzYwCBntnXg3e mW/gVTm2uoeLOtllsIa/q8FTPSiXXd9ce7yyleepQoME4liFOQn5OUlCWrbtmqkK3imr URy4fSosY1s0usmRsDFnkdkpLHNHYKXWKI9DgAhON/D+z9hadcuNobUG+pSlu75aJuQC 8Tsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fj2Sj0XBOTrpGgH9u3LbiKzQE/KWClevdkHkCrkv1Yg=; b=Ng2vR/UskBhO874jzURq+5QRvg1gV4pHeb2mbjf3mg7r2e157/VczLhz34JOjZQRab J19+6H4qdXJlb4kQUjRQ+QPdc/sjWoO5SAkC7up+KOomeMcSvH6xsBfnxwYrokOT++6Z c1OGJjW3o+FOS4rH/pogC2Uo/dWrJWPl8aBNVs0IYnhZS6c/PMef06uuTZBvqIGNxR/7 H8Xq0S+SZIcG7jkP5N2UZFMJXII7mSaNQcPf2cJI3R1uKPO6RQ9Rub1yCaI2z3LvTpdd ieevbBec5Ey0R20cNJiBbBdBUT0TyP1VhxCRN5wwSnrkgzHp5RAdC4wdaDGoHzQxQqyO RA5w== X-Gm-Message-State: AOAM533AdU5YMeOBFKds4lvUyKplD2QYBYdlleH8LtUMsoM3OphtMgTM 8SRrAKyFXwUOybRZhxlKR2c1WQ== X-Google-Smtp-Source: ABdhPJyySGT29h69n7yXJV4PeAehRLjC+H/BTtk2NLBpgHq2750weLnkYpp73TD509FUkx9aIrc1cw== X-Received: by 2002:a1c:14e:: with SMTP id 75mr4753360wmb.151.1594907979060; Thu, 16 Jul 2020 06:59:39 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.06.59.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 06:59:38 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 06/30] iio: adc: ad7923: Demote obvious misuse of kerneldoc to standard comment blocks Date: Thu, 16 Jul 2020 14:59:04 +0100 Message-Id: <20200716135928.1456727-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_095940_095016_7683DACE X-CRM114-Status: GOOD ( 12.39 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:344 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Patrick Vasseur , Michael Hennerich , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Lee Jones , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org No attempt has been made to document either of the demoted functions here Fixes the following W=1 kernel build warning(s): drivers/iio/adc/ad7923.c:159: warning: Function parameter or member 'indio_dev' not described in 'ad7923_update_scan_mode' drivers/iio/adc/ad7923.c:159: warning: Function parameter or member 'active_scan_mask' not described in 'ad7923_update_scan_mode' drivers/iio/adc/ad7923.c:202: warning: Function parameter or member 'irq' not described in 'ad7923_trigger_handler' drivers/iio/adc/ad7923.c:202: warning: Function parameter or member 'p' not described in 'ad7923_trigger_handler' Cc: Michael Hennerich Cc: Patrick Vasseur Signed-off-by: Lee Jones --- drivers/iio/adc/ad7923.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/iio/adc/ad7923.c b/drivers/iio/adc/ad7923.c index 1d124c87c6ace..2a11bc7fdb567 100644 --- a/drivers/iio/adc/ad7923.c +++ b/drivers/iio/adc/ad7923.c @@ -151,9 +151,9 @@ static const struct ad7923_chip_info ad7923_chip_info[] = { }, }; -/** +/* * ad7923_update_scan_mode() setup the spi transfer buffer for the new scan mask - **/ + */ static int ad7923_update_scan_mode(struct iio_dev *indio_dev, const unsigned long *active_scan_mask) { @@ -192,12 +192,12 @@ static int ad7923_update_scan_mode(struct iio_dev *indio_dev, return 0; } -/** +/* * ad7923_trigger_handler() bh of trigger launched polling to ring buffer * * Currently there is no option in this driver to disable the saving of * timestamps within the ring. - **/ + */ static irqreturn_t ad7923_trigger_handler(int irq, void *p) { struct iio_poll_func *pf = p; From patchwork Thu Jul 16 13:59:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667599 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6BB0E13B1 for ; Thu, 16 Jul 2020 14:03:00 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3FC65206C1 for ; Thu, 16 Jul 2020 14:03:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="WUx6g10m"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="LBq+wAly" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3FC65206C1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=h9ZDckcK8+N3YscqmhUBSm6IC576uQY3yDdVufB/lPE=; b=WUx6g10mDubDgUmxSArXNY+HJ VP4JIchNkLJ9CqFoj4vcMn9qvABuCp+K3UDwgTYCZeK0fSCHGCSKxrHEmQOxvphkI711+3ig7IS7t mMdCmLZ93338BTW5PrSuJchiXOIviCIVNdL+JHARPpvwQdhn9brQbAvf29gdtpMn3uApWCDdmgWFz GdO99calijsn5p5EslUTFFuBoVt8biXQ70SL/F//VLpyL32AGA+qBaQlt2gTmcSh2aO8k3mUzTLZX NX8A3zgziayaKXooqXX2UBBogI6MFNNWyKXRoBc/0ve63vE9uqyil1dLBheTs2lN9RLBB1zMowrIx MF6KFZtZQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4RX-0004Ot-GT; Thu, 16 Jul 2020 14:00:59 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4QH-0003rf-Tj for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 13:59:43 +0000 Received: by mail-wm1-x342.google.com with SMTP id o8so10402224wmh.4 for ; Thu, 16 Jul 2020 06:59:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/50EGrtFWRegK5lMk9s0po818SOAgTGmFH82qJKUi/I=; b=LBq+wAlywu8+D/xsZk/Cs41V54ogsSAD0symhkOQYpLjrmqFC+uJYxhqW0UP/c5E1A HlqZ5qywOollM5+myR2LqfRsc5+Alvhl5bHRZ0Z4QnismbaeFRT/esVAVg9hGK6aliq4 /X/srN2wM3FTqHYr90UMBYB14yyyPrBPCny4IBkBKhPszAsPg5emDstBgUGnpf0uqJ52 RSyIenLpfqHEKS/hHGWhy1BGzEm9FhL4Lfc65738Gvuw+UMhsJnaWv4lx/DM9ttGUcO2 GmvThV397PbiqHdicaNyoJUo0DEm0RLW5k2O5DeYF3AL06StH8q2G/1fwNokG9guyMCF DNYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/50EGrtFWRegK5lMk9s0po818SOAgTGmFH82qJKUi/I=; b=syBlMCqXMV2Oip8weMalW4Tct967hi/22ZgvxOoLhvOTbj26VYSrtCz0ke7dUHZlVC NpUIQTe4KwVWyk+hFBuCv9eFmlMbqS+avZg/OQLXz0HLBbO+zJdVbw99wbQWcpX2AfFL 1YRFQo5wynKDRHVOnOe6CG/ttcwFUOzmFuFPDaayOLc10kaUc/2CJgcBw4UTcsf1AkXU shChO6uwxoz2eNOUyDzASmIuN4TFKJAACM8wFbqWLXfZXQlo/f34/V8qAkzZrPCH+VEH MzerKk0JYnJtXyHlPYGmUFAUAuJi0fz0axXIa+L0GlbkpZYq1/cgI0q4EymGcZg2aQ3J yUsA== X-Gm-Message-State: AOAM530S7F/m3jnc4CMzbHQzpQpE68E9CkHip4VW2zf2x7mGjhJ7LDu9 6n3VusBOOmTUIm/KfUDzZ69cyA== X-Google-Smtp-Source: ABdhPJwTXEWVIoqKpOfpR0giULN1Ul3cws+HaMeoV0tNTI2jQekaFtv3xPzB4pUvgA61vDc3bIkKEg== X-Received: by 2002:a05:600c:2253:: with SMTP id a19mr4302911wmm.136.1594907980735; Thu, 16 Jul 2020 06:59:40 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.06.59.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 06:59:40 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 07/30] iio: dac: ad5360: Fix kerneldoc attribute formatting for 'lock' Date: Thu, 16 Jul 2020 14:59:05 +0100 Message-Id: <20200716135928.1456727-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_095942_035960_5901EB2C X-CRM114-Status: GOOD ( 12.50 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:342 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-iio@vger.kernel.org, Michael Hennerich , Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Kerneldoc expects attributes/parameters to be in '@*.: ' format. Fixes the following W=1 kernel build warning(s): drivers/iio/dac/ad5360.c:89: warning: Function parameter or member 'lock' not described in 'ad5360_state' Cc: Michael Hennerich Signed-off-by: Lee Jones --- drivers/iio/dac/ad5360.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/dac/ad5360.c b/drivers/iio/dac/ad5360.c index 3e0c9e84e8dab..e2a2473bfed77 100644 --- a/drivers/iio/dac/ad5360.c +++ b/drivers/iio/dac/ad5360.c @@ -67,7 +67,7 @@ struct ad5360_chip_info { * @chip_info: chip model specific constants, available modes etc * @vref_reg: vref supply regulators * @ctrl: control register cache - * @lock lock to protect the data buffer during SPI ops + * @lock: lock to protect the data buffer during SPI ops * @data: spi transfer buffers */ From patchwork Thu Jul 16 13:59:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667601 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8A93013B1 for ; Thu, 16 Jul 2020 14:03:34 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5E956206C1 for ; Thu, 16 Jul 2020 14:03:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Wz4jqwTe"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="l1cUvi9D" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5E956206C1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=MrMg+wgdB4OBiykyHvvTkBPbG4w2tvj7YHbYyqJbwNo=; b=Wz4jqwTeR7jW7PzTghWENyPdo fAsGi8BpWOiwnSAtTD6rZ85JJuiruBTjVUIrhE7zwkx6coRLODeoqZimM0v4QLoNxehP6JN2xZdxn bf3ZoZSF3Q46jAEk3ol9LogJf0Hyrl8JRo4vU2tYPCIu9cNYY6RAI2ov1VHCVO762pbC/k2g4Z7Kd tSlJ1THP8G3tFzEWIZeLihCo5C1DNXUuOryLuzLsGWTCp0odiiqfzjhZ+oni3ue4/Vzdix9W/Pl3L sZmyxqCZkcA+G3N3mIFQq+yiNOvbOIeeAuBZMQ1U8giK5R/8ntEEwifa8Lv006/E8bQ1Sp2PQteda UWjdqR71g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4Rn-0004Ul-Kd; Thu, 16 Jul 2020 14:01:15 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4QJ-0003sd-In for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 13:59:45 +0000 Received: by mail-wr1-x443.google.com with SMTP id f2so7167858wrp.7 for ; Thu, 16 Jul 2020 06:59:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=I6tPdMdWiD4Qi1X6+E6dYGvKrP/4qwx+lTrQsk0OB80=; b=l1cUvi9DzNooWydgiwAXJ3EvdllfPdK81HJHQTfYJLuUsXl8Kf/fd8y6hFhg1Z1f0A 45k/X2ml559Gbn6EYeF7uEC65VhHiartqH8lCVH8dkge+vslC+kU7GL8GA18R0tpmxC2 iDJEU658Q3q39qK6nxXKGIXC5sorhMzi/Xm84CAlSdG8l+EoQQrj79HydyXJGt1jYEcx ovOx6fZLa2ASySNTpStzisxYspX7Fs8qWqESyw+/+pud0ygIrr/U6sIplTfF1dW1xrWA dXapNnMW6LxSokJ69c73pw5TN/S7YfTsPkNRzu544rAmvMNP9+vyhAKRnh1nDyYcjjCg VRiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=I6tPdMdWiD4Qi1X6+E6dYGvKrP/4qwx+lTrQsk0OB80=; b=iinQOYn/XtYVrzplr5CIJTzgDYsR4HakXwhx0sLKCEbYQ4k/BDMFBTqKiXcQEZEq2J 3ZpJD/U2HzYNfnt+irFrMJ/UoUNnENOM+A47x911RRY+t10bcZaZsbV3cwn1DaqC+i6J ym+BnPGxdco5EyaKYKrhEl+CWJClwsGQA3If0AxEi+1QxvSPPN0nVhKdwut19V0yaTMY mbvII2UV7axoSbjuU4n/K43uX0QN8+jh3dyv4Xk45soO2H3gOevje+sXnZoxy7JeTEzl SBz4/CYYzz/4LGlQDzybUFh9cWHnowoR7nabBYiVIdJcvQ9sIjIWWDQ3IEsvhdv6lg0A m7MQ== X-Gm-Message-State: AOAM530QMCQAQ1bkoJGsgLXBPORRkC45OfoGeU+Q3SnXN8pc6em6keAM DU4FrHlO7Zd+g0jK/Hb088aELw== X-Google-Smtp-Source: ABdhPJwYTN/Ya6SFin5ezgh1ja8CD257ThAKP/2N7ElG9M405oMbsirgjkjS+mAPBxcvfsJAQ/dU2g== X-Received: by 2002:a5d:66ca:: with SMTP id k10mr5162752wrw.244.1594907982569; Thu, 16 Jul 2020 06:59:42 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.06.59.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 06:59:42 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 08/30] iio: dac: ad5380: Fix kerneldoc attribute formatting for 'lock' Date: Thu, 16 Jul 2020 14:59:06 +0100 Message-Id: <20200716135928.1456727-9-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_095943_697495_B05B6A6B X-CRM114-Status: GOOD ( 13.02 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:443 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-iio@vger.kernel.org, Michael Hennerich , Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Kerneldoc expects attributes/parameters to be in '@*.: ' format. Fixes the following W=1 kernel build warning(s): drivers/iio/dac/ad5380.c:64: warning: Function parameter or member 'lock' not described in 'ad5380_state' Cc: Michael Hennerich Signed-off-by: Lee Jones --- drivers/iio/dac/ad5380.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/dac/ad5380.c b/drivers/iio/dac/ad5380.c index b37e5675f7162..fd3358cccc7c5 100644 --- a/drivers/iio/dac/ad5380.c +++ b/drivers/iio/dac/ad5380.c @@ -51,7 +51,7 @@ struct ad5380_chip_info { * @vref_reg: vref supply regulator * @vref: actual reference voltage used in uA * @pwr_down: whether the chip is currently in power down mode - * @lock lock to protect the data buffer during regmap ops + * @lock: lock to protect the data buffer during regmap ops */ struct ad5380_state { From patchwork Thu Jul 16 13:59:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667603 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 18DD8618 for ; Thu, 16 Jul 2020 14:03:52 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E45D8206C1 for ; Thu, 16 Jul 2020 14:03:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="v0WlEvv3"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="RHQeFYL/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E45D8206C1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=7tXGEO9h5hpY98AET5flUJ2SdR7A6tYwEnYFf+GK2R8=; b=v0WlEvv3NACCB2kPv1sCIhXwH sAaUKOxmQLpmvGc4mBNjVGZAAev8fjrTikmzuH48N8tN0vHE+L6EOLF0ecwI9Xz27hK01sXAo4rKX qq81dNfjHgZY521VEuTZq7MieiKfzgzNQVr4y+nW9fQAWHEN4Pd//mDCfu9sA5ua9VmLdyg7zgSja hPXHKFLvsBsSyyRqUqYAh85Z9L5IC3Lx/4e44Vgb1fhaJ73MRqESNWPwFYak11TgfBWPC96FP9nWZ xt8Zqoh2GGl35MoPETJC6k1ZEIv2M6rkS7PsqLdBILxo+gj+2Gy6JgsxPzgSl+HHXppr6Xj6N6ZUM Z7kcF6wmg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4S1-0004bz-Bv; Thu, 16 Jul 2020 14:01:29 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4QK-0003t4-LG for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 13:59:46 +0000 Received: by mail-wm1-x344.google.com with SMTP id w3so11706775wmi.4 for ; Thu, 16 Jul 2020 06:59:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9Eaol5OJho4x5OhdGBezivs0c17Lo7ITBf48jP3v0yo=; b=RHQeFYL/OmK16RHx2LSLSKLrhLMmhA0CaejXG1HaWnEDt7K50YHifx5xJLClwMV/wS TCNPelO8eMk3T7G/lqrywMaTLydA1aYBQ+vT84ZILA8314FO5/NhEqsMBRUSwbRc7uFj Ri1hVY0VecyEy05MzOC6BKwOhgx6Wkpn3b07Ng7i9rz//IMICEXzlereQVymFXUSY5w+ R4o+NlvdsFomvyGSH+LWwNa+MqcZ39O/aAsNef5bP1tW7AY5GTtEa0J42pRPUeGIiHdG 8NlLf8q3Hzr1Mc11aUqeb6pWZ3qwmhMd4exbaW1nUR3jKIZJen/6eIasClPW9M3IHePW 5EaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9Eaol5OJho4x5OhdGBezivs0c17Lo7ITBf48jP3v0yo=; b=XJG99eqagOItEOf2ALd+DPLRsnq04vhbwbo3pHsRlnmo9Z4hB/tlKDUaJwCxuUYttw 5wTPwrcwuqtd3+HnbXra87D+ILsCJ7S6HrDPttNCazRSg8jZcsOaVaNOFrdq+0bLAGrf xe64vFSDCS2LQwiJye4ybRN5tq0ioUUhdtsMwrp49y6nfgm1oZox+UCErVSkqOuObOkd 2QskQnQqBKCiDNKQJibzNoprfESKRid734drtmXnfpgnb89dywWLPuKWdQPIQTvKMfQN RvqbTDr82V5KK0kDC8gPpUWbKv1hpGsvY2rbwH8N0pTbqsegRm01D5U3ceUNF8WQDM+e +ghA== X-Gm-Message-State: AOAM533pGvVzEayoVTR3WWsOCLaVbCreKB9DyYcwyYSq1llduLWD9XBl Ehj6TJSr44OFVrVPeuiDveVHDg== X-Google-Smtp-Source: ABdhPJwanyU3zpVxpnfrGhUaYF6MgwV6z6GKysPVU7d5bkqGLUbbniCS3mFBPRMuxoy4Z7WLfIZhfw== X-Received: by 2002:a1c:7e44:: with SMTP id z65mr4400925wmc.52.1594907983670; Thu, 16 Jul 2020 06:59:43 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.06.59.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 06:59:43 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 09/30] iio: dummy: iio_simple_dummy: Demote unworthy kerneldocs and correct misspelling Date: Thu, 16 Jul 2020 14:59:07 +0100 Message-Id: <20200716135928.1456727-10-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_095944_783151_5DF172DE X-CRM114-Status: GOOD ( 12.23 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:344 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-iio@vger.kernel.org, Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org File header comments are not good candidates for kerneldoc. Neither are generic comment blocks. Fixes the following W=1 kernel build warning(s): drivers/iio/dummy/iio_simple_dummy.c:26: warning: cannot understand function prototype: 'const struct config_item_type iio_dummy_type = ' drivers/iio/dummy/iio_simple_dummy.c:564: warning: Function parameter or member 'name' not described in 'iio_dummy_probe' drivers/iio/dummy/iio_simple_dummy.c:564: warning: Excess function parameter 'index' description in 'iio_dummy_probe' drivers/iio/dummy/iio_simple_dummy.c:700: warning: cannot understand function prototype: 'const struct iio_sw_device_ops iio_dummy_device_ops = ' Signed-off-by: Lee Jones --- drivers/iio/dummy/iio_simple_dummy.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/iio/dummy/iio_simple_dummy.c b/drivers/iio/dummy/iio_simple_dummy.c index 6cb02299a2152..be66b26373723 100644 --- a/drivers/iio/dummy/iio_simple_dummy.c +++ b/drivers/iio/dummy/iio_simple_dummy.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only -/** +/* * Copyright (c) 2011 Jonathan Cameron * * A reference industrial I/O driver to illustrate the functionality available. @@ -553,7 +553,7 @@ static int iio_dummy_init_device(struct iio_dev *indio_dev) /** * iio_dummy_probe() - device instance probe - * @index: an id number for this instance. + * @name: name of this instance. * * Arguments are bus type specific. * I2C: iio_dummy_probe(struct i2c_client *client, @@ -687,7 +687,7 @@ static int iio_dummy_remove(struct iio_sw_device *swd) return 0; } -/** +/* * module_iio_sw_device_driver() - device driver registration * * Varies depending on bus type of the device. As there is no device From patchwork Thu Jul 16 13:59:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667651 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6F90313B1 for ; Thu, 16 Jul 2020 14:21:17 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3F922206F4 for ; Thu, 16 Jul 2020 14:21:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="G7ofVEAj"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="oumlQEnI" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3F922206F4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=0vfW3fbbyfvXMt94U3PQ5RDUlR90MkapqNJNuqqMH4E=; b=G7ofVEAjokS8BSS0NiaGPItUv SgYjKJvlIjrL5W7M+09ZiId008+KGS0pOl7QpXweebTW5vPolh0AfT4H2Y/pZ6HdRBR82VIbVCRU+ WYu3y+E3JH7EHH6383okevCTxsQFVVq3tUaMGo8TsRsqaXIb98cfYpv2ywP/bSNUlrYSsh0ZVZf9E vW2iDqZAXdaMEtvwCCplM+HQj6G5hmXdo8g164Z+Mdh9TkWE0VZs6fVmM3511RfcBVQBVufMNvvro iK2mJH6iOzlXjfkFerDP5LDxN5oPf0cSEsbSLFKt8tQaKsvSEnooT8mBaVGqaXmNj85iw0vBj9Pim 6Y/UhgxmQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4SS-0004m1-9V; Thu, 16 Jul 2020 14:01:56 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4QM-0003to-D0 for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 13:59:48 +0000 Received: by mail-wr1-x442.google.com with SMTP id r12so7094052wrj.13 for ; Thu, 16 Jul 2020 06:59:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Cb+wSympQ/t7mvjSrlchyDpaG5lOzmi7hZ5OiAi8Mno=; b=oumlQEnIha+gPZ486gfCpU6mSvsOEk0BcYWvK8/hsanQRyIRhlTtGw1XHd1ZKAntb3 zDCnA15Semh4CaC/EsmkpiGdRQuSj3HgP1HhW3Qv/aHf5Td42D9Z4s/uVHYp4Fjz1XM1 OCw8fiy1rDDE/qdrqb3Agd4WT/q9uKQc/RTWRkahnyGhccuQbTeTdywSX3gDFBt+N6RP DaFDmvWjnPap3vH8zCePAv8eTD5BA3XtcLMJHhOkJsJKl+VNjLZYQmU18Xd05QLMfFk/ Y1tiTBVpPgEEjfvv8u3az3bSjHw7AHyPFTQ8fjW2rJ/PXcQiEzZfbNXbvkPrCkOxV1R1 +g+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Cb+wSympQ/t7mvjSrlchyDpaG5lOzmi7hZ5OiAi8Mno=; b=HO7LjR9fcFoZAcLSRXCPSU8eovUB8rppjTt9tDLuYI5WbNUGtOZJQMvP5HerpbUDRy sI1E11LlJLswg7wynol3H7/RInD3jEdECEvHgM/wDG53jet5IaY7WcwcwNY3ZbSk/nMe yHyn9rMjWnAPRfe8FKM3ZYz6CksBHUetRobESBs99MEebnbwuubc1z+/6REiapQgtZb1 ZXisneFvyVX/BEiOZIANRyMoh92QJ3S2bv4sUG0rYj/AplNK2N03TFjtUigXfGOtGrRX 4vf9Eq17K10Eh48keBlxkK3rfpC4jGxAAdKGnprquuDDvT0MHBdFC4TQR85Vsl5TgR54 nqUA== X-Gm-Message-State: AOAM533W2UXK32kXvfbIZEQjZuenG2jsdCoY4xo7hfboksqcjbcQlcmz oN2/h467K8Ovlqy+ElbcqxZS/Q== X-Google-Smtp-Source: ABdhPJzTCQ3Uui/xfkaXvBiqKU2DEubjel0BONeoSaNK/ek/9whacXXXBE4S96ii0ZuJ6/6OxW817g== X-Received: by 2002:adf:81c7:: with SMTP id 65mr4973510wra.47.1594907984888; Thu, 16 Jul 2020 06:59:44 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.06.59.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 06:59:44 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 10/30] iio: dummy: iio_simple_dummy: Add newline after function-end Date: Thu, 16 Jul 2020 14:59:08 +0100 Message-Id: <20200716135928.1456727-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_095946_536889_2FADD8E4 X-CRM114-Status: GOOD ( 11.08 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:442 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-iio@vger.kernel.org, Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Fixes the following checkpatch.pl warning(s): CHECK: Please use a blank line after function/struct/union/enum declarations #46: FILE: drivers/iio/dummy/iio_simple_dummy.c:690: } +/* total: 0 errors, 0 warnings, 1 checks, 22 lines checked Signed-off-by: Lee Jones --- drivers/iio/dummy/iio_simple_dummy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/dummy/iio_simple_dummy.c b/drivers/iio/dummy/iio_simple_dummy.c index be66b26373723..cc4335963d0cf 100644 --- a/drivers/iio/dummy/iio_simple_dummy.c +++ b/drivers/iio/dummy/iio_simple_dummy.c @@ -687,6 +687,7 @@ static int iio_dummy_remove(struct iio_sw_device *swd) return 0; } + /* * module_iio_sw_device_driver() - device driver registration * From patchwork Thu Jul 16 13:59:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667795 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F219C1392 for ; Thu, 16 Jul 2020 15:31:01 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C88C2206F5 for ; Thu, 16 Jul 2020 15:31:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="0RlkwBKE"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="lQmJngfq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C88C2206F5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=o8bbqKC1PSmqq9YkNXlBlmooT0JboBq5iYJKMzm3ELs=; b=0RlkwBKEPx7yvVmCYWCpKLx81 MZXIaZIYyiNwP43sxFppBjKS1U8HHwYErU8C7txswOAKKck7O0ddVUSkw2wKOSEj/3xGLHa7SC0Nf OQlwM9csclur5I8aNr9tqTct1Cm8gFZGwnBAbvqqLKnOa7MawWMaP9dwzq7eMDPQnyRa08EWXKSK/ y04/skyjpKpe2YSaBoWEvfLfEUBm/KsHkeCluOqhbZh6amus17IQx5metSddiR0lJ/imy0r57LlCC YcRNFgTpH/XYRjxfcWMjChUI1yfupC/D7A2h+iDnvPx/d9bH3KYa3ChyZz9WthqD/Ckx3msaDy6Eb TmOWkUkKg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4Sc-0004u2-Lo; Thu, 16 Jul 2020 14:02:06 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4QM-0003tv-Sm for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 13:59:48 +0000 Received: by mail-wr1-x442.google.com with SMTP id z2so7210941wrp.2 for ; Thu, 16 Jul 2020 06:59:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lGrcjnEba4YmUzXvP3P2zNGvEOSHSw6x9xTgs1m5AS8=; b=lQmJngfqH1aydCD2CnW8Em4hBhXABb5MazDgBqwCCwd2smh1BADTX8C4W44klKhuIR s7q3p7w3/5E34p6dUWS8OxsggHHaWxOeckNSL6JLpfN03S9/7EscD/vI2OD5//EZggxa 5+I5R2Ekxty6wybtZr6hq5UAHV5ffsWaUdBOHHtfYXbd4gx+PjJl7fwPI0dc1NKOHzwS Y5+A013Kn6FGhhZAvtOyEomv1m/5fXSzfYKVPcwzcJ5nOVRwKU3qgxHcViZUtmHIJ4t/ LbYJb+CbMPEPWPo6pDw0ztFMhmNd+c4X0A/0xSHI8ZJrQ72UYMrY998IBvm+WQLhCbUA bOzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lGrcjnEba4YmUzXvP3P2zNGvEOSHSw6x9xTgs1m5AS8=; b=Xm0Crh3tPk3a7wvMLWXrViE/s5KNUJ7ZH1xkych/6R7sQEF2s7LzBTZvYlYG7i2pI2 b2ETT1QZIzc24eUz7yvVc1d2uJg7UwCgZGMXpWfM/vM+lUWCPtARBp1nPiesCUKMyeLI ZoWiG698LcraozRaaWD4zFz3abaJSqFgtKhnIwK8qKUpk1dPb6QpiSxXRG/90prW8t+u XeKbut9Pn5Hnd7l8w7wO/AXfcgLpFM0OMCDZFnEJ4RVZ+lCC2A5OmMp0MabuwEOSkZD8 Gm9bHCOVVYBiPTrJEtKJQEmTOKeHsSO3pk5HTNC7b8v0AWREMYYPor9TOnG42UIn4LM4 Ax5A== X-Gm-Message-State: AOAM532J+0PxSrdhc/3ASH2rbEdZpcdHyIIoJicR40hAUReAvHZBa2iI 3w3ZWt5hGVOUSSGpDGI9omQEuQ== X-Google-Smtp-Source: ABdhPJzUuBHxEah7hrW8HxzzlwiEOHPkFSOu1MyX/ERMrdFJ/9pZmIYHwVXN+xfGtF2imKJbqKuNxg== X-Received: by 2002:adf:ee0f:: with SMTP id y15mr5129073wrn.76.1594907985925; Thu, 16 Jul 2020 06:59:45 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.06.59.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 06:59:45 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 11/30] iio: dac: ad5421: Fix kerneldoc attribute formatting for 'lock' Date: Thu, 16 Jul 2020 14:59:09 +0100 Message-Id: <20200716135928.1456727-12-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_095947_017133_9BF91E86 X-CRM114-Status: GOOD ( 12.78 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:442 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-iio@vger.kernel.org, Michael Hennerich , Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Kerneldoc expects attributes/parameters to be in '@*.: ' format. Fixes the following W=1 kernel build warning(s): drivers/iio/dac/ad5421.c:82: warning: Function parameter or member 'lock' not described in 'ad5421_state' Cc: Michael Hennerich Signed-off-by: Lee Jones --- drivers/iio/dac/ad5421.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/dac/ad5421.c b/drivers/iio/dac/ad5421.c index fec27764cea88..95466c86f207a 100644 --- a/drivers/iio/dac/ad5421.c +++ b/drivers/iio/dac/ad5421.c @@ -62,7 +62,7 @@ * @current_range: current range which the device is configured for * @data: spi transfer buffers * @fault_mask: software masking of events - * @lock lock to protect the data buffer during SPI ops + * @lock: lock to protect the data buffer during SPI ops */ struct ad5421_state { struct spi_device *spi; From patchwork Thu Jul 16 13:59:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667755 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4596F6C1 for ; Thu, 16 Jul 2020 14:58:32 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1CE19207BC for ; Thu, 16 Jul 2020 14:58:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="sxYLs+cL"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="wS0BLgIo" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1CE19207BC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=iDk/HRIdt76PdXnO4zqPjx01GN/rEjlqzPRg5Brldjg=; b=sxYLs+cLSatOTORwa4nt52dzr y+HTlzRJLa/VmLBn8nycm1T0KgbEt50cnxVcsjh+Ogt2TAC93Mzf8fY2brrOW4c+9THFtLxAY178H bS+CE5SJTHFuTA7PCD8bnqeB8FGWgbsRytRGQRL9g7SenkZTk7EEx/UJpFOD28GwVYDEnPNYwyhmb uqzWsqcPD5MCwq3ULPEA0z35q6ENnv/I5cWXPVaBwOdHxCULi8qZAyMrq90U4a00k6SYCoJUTCydQ BwyounM4rtJhztDuMx6w8U+nLTvW5JBRQeP04iVp860DWJ3PezrXk1RjfL9cQUhrvF/pj0tNDYebt 2FY1LHOdA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4Sm-0004yT-53; Thu, 16 Jul 2020 14:02:16 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4QP-0003uX-5w for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 13:59:51 +0000 Received: by mail-wm1-x343.google.com with SMTP id f18so11698956wml.3 for ; Thu, 16 Jul 2020 06:59:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=flrJT/YcyExs3gnOvBVqb7JaX/eYc6iKr9Cf7OgkhEk=; b=wS0BLgIoPnbCQkZrXfPKQCSXFoiUZxoYipHxFRAE33/mAvOLnVu7yFQ5sbwKriIkUH HaqdPg5/jKLApSB0peSU5MC0FZCwGmuMay52MFsdLeYRMk7Qh18Xng369QJt9Ahq4qFt O5ZZU6Ub98tlZzMphocP7D8hIjr0+FT/Ic/BfMDkHBqjL6FAGRWylXn+QtE3iRFQt/rX 1Q1eoCA2b0VKZqUL8pDfo6odHkw/AJ62+lrV1CZeDeQ5spwTNIzc7Y9LSZM7gNB8BwAw Z+FO/WtjUgVU1bZbffGf+QlocR7C/OaUmwg/Bf8ratfG9EO83NM8jfmI1+J+T/mrMy8q Q8bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=flrJT/YcyExs3gnOvBVqb7JaX/eYc6iKr9Cf7OgkhEk=; b=QvY3fNJxSRr2Ajoc+Q7lJ5rEp+i77JUyDdVblNsjbw1iPWpL9BRU+GUEmVUQN8CV6t NY740M6Vqxl78LCdyOAqiQ6oRzQ83HoUuDThePlRMHQXGjKAExwZ+lBJP59olbnjgGG2 QyWoKBShFZ4/UAtZXzuQ5A2QpYCu7oK9JlH19Nk7tV+3pq+ge3O8kMFTbeGorQj2YmqR jCPlRwRQwy9FyIYxKk5d0tSxQm2wPnMbBMURdtvyVRMco1Paoe1CJRMyL1k9D3uJ7KE1 lr8sfar+q1WS8o3izCeuND5j/6sSE2cXldrb16bfKracYLNYDZeMfjmj6E9NaCxMqLeh lb5g== X-Gm-Message-State: AOAM530sSD29EYPNxTELtl+R2dUH3fXmD4N2Mj82ghFvGVo1uR1CYya8 NSOAowQcqesjvnft/d+TWEoOhw== X-Google-Smtp-Source: ABdhPJx/50JaeJmar/WoY888whwoEjYLb4pSl9pY8jhlqdCaKnqD/sdyxRSfozZ617lS40LrO4b9jA== X-Received: by 2002:a1c:44d7:: with SMTP id r206mr4303416wma.7.1594907987075; Thu, 16 Jul 2020 06:59:47 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.06.59.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 06:59:46 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 12/30] iio: gyro: adis16080: Fix formatting issue and compiler attribute ordering Date: Thu, 16 Jul 2020 14:59:10 +0100 Message-Id: <20200716135928.1456727-13-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_095949_306049_277884DA X-CRM114-Status: GOOD ( 13.08 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:343 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Hennerich , linux-iio@vger.kernel.org, Barry Song <21cnbao@gmail.com>, linux-kernel@vger.kernel.org, Lee Jones , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Kerneldoc expects attributes/parameters to be in '@*.: ' format and gets confused if the variable does not follow the type/attribute definitions. Fixes the following W=1 kernel build warning(s): drivers/iio/gyro/adis16080.c:49: warning: Function parameter or member 'lock' not described in 'adis16080_state' drivers/iio/gyro/adis16080.c:49: warning: Function parameter or member '____cacheline_aligned' not described in 'adis16080_state' Cc: Michael Hennerich Cc: Barry Song <21cnbao@gmail.com> Signed-off-by: Lee Jones --- drivers/iio/gyro/adis16080.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio/gyro/adis16080.c b/drivers/iio/gyro/adis16080.c index 1b84b8e112fe1..f38f9abcccbb5 100644 --- a/drivers/iio/gyro/adis16080.c +++ b/drivers/iio/gyro/adis16080.c @@ -38,14 +38,14 @@ struct adis16080_chip_info { * @us: actual spi_device to write data * @info: chip specific parameters * @buf: transmit or receive buffer - * @lock lock to protect buffer during reads + * @lock: lock to protect buffer during reads **/ struct adis16080_state { struct spi_device *us; const struct adis16080_chip_info *info; struct mutex lock; - __be16 buf ____cacheline_aligned; + __be16 ____cacheline_aligned buf; }; static int adis16080_read_sample(struct iio_dev *indio_dev, From patchwork Thu Jul 16 13:59:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667819 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E87B9138C for ; Thu, 16 Jul 2020 16:01:42 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BF0D62064B for ; Thu, 16 Jul 2020 16:01:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Wb4gcirO"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="CZneTPsX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BF0D62064B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=cStdJBO6cbdMeZnZP2/hZB0FKKkBKCYcOd8BhVZdtkE=; b=Wb4gcirObdmbXyqvrhC49fxqQ AdQqq2xiMthuLhetyHxGeU8I99ZZP+xHukxU7gKUkK+SH72ANhYHKALywSxm6+z+K23mlL/AauQ6x Nox+FpDbnyG4gU6az1B92RGNrXGltvMYs9ZpI+9fkVsuUX8ZHpyLOvIZxK8/cnsFRid4uXB5IHYHv Io1Mx+4VoiGZFNerMdPVSFE/08N8ccgSE6KNJ/4KxpozXU5yejjOhqKp5J96YvOm4aln3k8LUZ8OK yF+HYFmfnQkfocjBk+0fhwyHZ3HoRiwkkt1xaq0ueuPN/l5yxsv5E8H+1DzRgtTxpGSdLCm/vdQtC JlV4wW8mA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4St-00053M-J5; Thu, 16 Jul 2020 14:02:23 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4QP-0003uq-5G for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 13:59:51 +0000 Received: by mail-wm1-x344.google.com with SMTP id o8so10402641wmh.4 for ; Thu, 16 Jul 2020 06:59:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ocpmprgzmWGZxJ5zL5R7ftXluU21C0wPbP88cIep754=; b=CZneTPsXS9uqp5nPgc28Vz17b6BEQDi442w3rkHr9tDiPIC8oXfbXnyy5t0zYJaeSB iPDQM+PZ7JnYsCFI9kgXY3Wl7QIXxII1h6qVnp3QscfnTSPsOHYxia4UuunI1tgrvD0G gayKddwj1Ga4q7iyZP6r/sc5mExi2zmxJZbOE3goJHrkJkHeTrecbIABUECTmnB8ztby 4vVwtqub+b1iscTXmg4GlsQb5AQdEwTwB1OMqlOHyEWIJR/uHfH4mFJlhQnhDGGtVEMo E94XWJGhZP5zbino255dTYXeR1G8COZK0D2sNNWTFgm/ee0VffX8nkeSIyb5VYy8n82/ cDfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ocpmprgzmWGZxJ5zL5R7ftXluU21C0wPbP88cIep754=; b=qlcQ8kBLU5MwSERE2XE3L7+SnlWQtM51yeIbwGSxZAk3Frhs08qXqPSVCYhXLSaGCL RbAezLvVFdJPpcQVgR4RJHgrm5Uvp6Bw0+9/zX6pngL7eiix8qIxE99H2kFKuBmFZ3xa HDBoczzR0rb8if+DIoHBfXOB98QvVvwxZLFhDMEgmV5r6mUOvtxKbHbJP1rzlt5kRmk4 tUl8pqAvbCHmmgymbzyHjefmpy+gOw3nPhbbqNUV/0JzGTy+Bu2TmrwfFjBWfige4Ijs 1u34ctgzIBJ9/G8x704LJHp6ElaaIgHFm97TxaJl+1o7JOh5mM0kW6N5goyIzik3W0fH fOZg== X-Gm-Message-State: AOAM531Lq9/jAA425IlOZrqyT1i3LYJ36YpjDUUW11nx8QgoZNF/Nx7x 3ZpADnNvqaeP8mVLvuRM+Sm4CFLSzX0= X-Google-Smtp-Source: ABdhPJysvKtOyj2iTio5knKzxJhexTSe2SR/RxB3NYtbN7/a417Z2IcOI3EZ8WcHL2WI8hxW0dYezQ== X-Received: by 2002:a05:600c:2219:: with SMTP id z25mr4828299wml.154.1594907988041; Thu, 16 Jul 2020 06:59:48 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.06.59.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 06:59:47 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 13/30] iio: dummy: iio_simple_dummy_events: Demote file header and supply descriptions for val2 params Date: Thu, 16 Jul 2020 14:59:11 +0100 Message-Id: <20200716135928.1456727-14-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_095949_381109_51ECC981 X-CRM114-Status: GOOD ( 12.28 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:344 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-iio@vger.kernel.org, Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org File headers are not good candidates for kerneldoc. Fixes the following W=1 kernel build warning(s): drivers/iio/dummy/iio_simple_dummy_events.c:21: warning: Incorrect use of kernel-doc format: * iio_simple_dummy_read_event_config() - is event enabled? drivers/iio/dummy/iio_simple_dummy_events.c:34: warning: Function parameter or member 'indio_dev' not described in 'iio_simple_dummy_read_event_config' drivers/iio/dummy/iio_simple_dummy_events.c:34: warning: Function parameter or member 'chan' not described in 'iio_simple_dummy_read_event_config' drivers/iio/dummy/iio_simple_dummy_events.c:34: warning: Function parameter or member 'type' not described in 'iio_simple_dummy_read_event_config' drivers/iio/dummy/iio_simple_dummy_events.c:34: warning: Function parameter or member 'dir' not described in 'iio_simple_dummy_read_event_config' drivers/iio/dummy/iio_simple_dummy_events.c:123: warning: Function parameter or member 'val2' not described in 'iio_simple_dummy_read_event_value' drivers/iio/dummy/iio_simple_dummy_events.c:146: warning: Function parameter or member 'val2' not described in 'iio_simple_dummy_write_event_value' Signed-off-by: Lee Jones --- drivers/iio/dummy/iio_simple_dummy_events.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/iio/dummy/iio_simple_dummy_events.c b/drivers/iio/dummy/iio_simple_dummy_events.c index b3abaaca6f5ef..63a2b844be508 100644 --- a/drivers/iio/dummy/iio_simple_dummy_events.c +++ b/drivers/iio/dummy/iio_simple_dummy_events.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only -/** +/* * Copyright (c) 2011 Jonathan Cameron * * Event handling elements of industrial I/O reference driver. @@ -107,6 +107,7 @@ int iio_simple_dummy_write_event_config(struct iio_dev *indio_dev, * @dir: direction of the vent whose value is being read * @info: info type of the event whose value is being read * @val: value for the event code. + * @val2: unused * * Many devices provide a large set of events of which only a subset may * be enabled at a time, with value registers whose meaning changes depending @@ -136,6 +137,7 @@ int iio_simple_dummy_read_event_value(struct iio_dev *indio_dev, * @dir: direction of the vent whose value is being set * @info: info type of the event whose value is being set * @val: the value to be set. + * @val2: unused */ int iio_simple_dummy_write_event_value(struct iio_dev *indio_dev, const struct iio_chan_spec *chan, From patchwork Thu Jul 16 13:59:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667771 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 81F0B60D for ; Thu, 16 Jul 2020 15:13:55 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 59BC3207CB for ; Thu, 16 Jul 2020 15:13:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="HlL+OL7f"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="xxL5Ag3I" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 59BC3207CB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=oRSZ3RGpLdKRDjXZzp2ybUsP7cJDjySUfYgfMyyak8I=; b=HlL+OL7f2Cav2kWbtGv4Z8JGY XNAr441sJanHBT5YFtr/55ELkT9z4TEaehjOw1qeIGCQ3iqeT7uJWvMG2KeVm/3ijc2lMv9SwBZDi dIPdsj+AtefPlFwa2O2QDGJEpMq6yNbB/LPSRTxP9/TPtg0kxZpFLvEnnKu37x9vpghimDEovVxMW EL6AoCm8ayyrDm1SaNVOfvV1wfuOM9jXcxSYaqgbnZ65ZYw598xbwdsDK4pT5ekTKe2zakTNBXdrQ WOHZYMCFv7MbGHfkujdiObB2UTrBpYzM1QgDqt7EaDnFHKfHbQD35d83Lfi+KNuYnEXIUSe30If3/ jdTZmxBpQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4Sz-00056y-KW; Thu, 16 Jul 2020 14:02:29 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4QQ-0003vr-64 for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 13:59:52 +0000 Received: by mail-wr1-x443.google.com with SMTP id a6so7195405wrm.4 for ; Thu, 16 Jul 2020 06:59:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=xS5iaY7lfvInFgzdYtfbJOMULW0PjIgmtSXBGbeSKP0=; b=xxL5Ag3IresWgQw0UNbgMhC8UUPDoSjfaeodJ14sFm3DDAPplrnoea1LlKXlrLmsSQ H+ViunaN8TaBXhiQ42uSBOBQRJ/Tj3qVHVpYLEHkqg0B+ykx75a69k+HK9wM9pxRgzbQ msvRRgeMRBI4z5xmbL1p8sMLUjz13LItqneeEcZ+WBLqTS+1BQsTTyVb80iy6I5fQGkq bT1NyvWPobGdkt7RYGfQhv6DWxOF/p3vcoVx9zOS4/MtVofe2FEDHLt2LmNX6JLbRvuE o0ycpNrLICFEj+hNnlyYRW2z3KmklAnWHiES2PuwZrizhLE/6BmBbWfXLW6nYaeQedpB yxuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=xS5iaY7lfvInFgzdYtfbJOMULW0PjIgmtSXBGbeSKP0=; b=aZO2YwlAIPELv1GNsXgG+W2FOn/qWQmFSDBvrZA5bFIOKkH2N7l1F0pv9eJF9jGBMq 2syUrq6+SD4zpauHO++j6MdlBC6CwCXeehcekTbX0zKVB80WvZYauPlcJymqAJHFJroM NN9+b4mxHbGgSSSzWmEalK0uJIIULe7Nftiu3mSzQBLcKD4mmZi2ZpZ85ddML0fobEIF ZgB2buogPlzuJ7p3wNyWzP4LB0iCaByzKm7HLbXrAFtH6DAxUDUP0LqiMHCQv5Rgngla g8LKHfY+OULj7/nB77CWGPuzyZ7riEZ7Tl8qfzeFeKy6E+FkhVlT6rqHu2cLnU/YDU0i Xg6A== X-Gm-Message-State: AOAM5313ImtPgATtCklWd2i6MYiecj23CPD0mgHlVqhzTVxEXbQ0+ZlK C2p/JMdcez2QMeMv4iYk1ToUEg== X-Google-Smtp-Source: ABdhPJz+3bOsT4wSiHZeM6v8NBbP0nQ87ipkThT9NtG3fkIz00axC34VQ9CXjTVwPymWMRsbdcNijg== X-Received: by 2002:a5d:6412:: with SMTP id z18mr5144226wru.310.1594907989226; Thu, 16 Jul 2020 06:59:49 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.06.59.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 06:59:48 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 14/30] iio: dac: ad5064: Value returned by ad5064_vref_name may not be 'const * const' Date: Thu, 16 Jul 2020 14:59:12 +0100 Message-Id: <20200716135928.1456727-15-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_095950_333260_2C1FFC6E X-CRM114-Status: GOOD ( 12.23 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:443 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-iio@vger.kernel.org, Michael Hennerich , Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/iio/dac/ad5064.c:790:8: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] 790 | static const char * const ad5064_vref_name(struct ad5064_state *st, | ^~~~~ Cc: Michael Hennerich Signed-off-by: Lee Jones --- drivers/iio/dac/ad5064.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/dac/ad5064.c b/drivers/iio/dac/ad5064.c index d33642de9720e..303f6d1a5f311 100644 --- a/drivers/iio/dac/ad5064.c +++ b/drivers/iio/dac/ad5064.c @@ -787,7 +787,7 @@ static const char * const ad5064_vref_names[] = { "vrefD", }; -static const char * const ad5064_vref_name(struct ad5064_state *st, +static const char *ad5064_vref_name(struct ad5064_state *st, unsigned int vref) { return st->chip_info->shared_vref ? "vref" : ad5064_vref_names[vref]; From patchwork Thu Jul 16 13:59:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667789 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 614C06C1 for ; Thu, 16 Jul 2020 15:22:04 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 385A32063A for ; Thu, 16 Jul 2020 15:22:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="0Fv56PzH"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="YF6DGOzv" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 385A32063A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=UCzF9l0j8IB2wiEF0hJnH5R8ggXZaygG98kNBh2PnjU=; b=0Fv56PzHlnf8hryLL2XqbBcXF NTaeyvVuQZyncBf3qfZBIFbP+OamuxRIqd5+YCEwIV4G1nb/JHJvOXKc6MQRZqWzlJafVKOt8RthQ IRe0A52IbE0pDC8/kIHsHwy5FcFqPZ0bxZSah1MG9zDbci8+79A5Z1wrx0gFPjG557k/FF3TnKynM Rnh2robrfE3N9fdEe0xHiOAdS2uzXnPF6a3r0NINaWuDwSpRzRHYmlrLd2uF8jc7Srsr2hbuw6sue /LaITpZiM1L+VHi5hJcZ/6TrscYQFwvzP4n6oTCugzKCuEjcutDoOX8ETlQjlcnykPNpm0nJR9ZNz ryGmiERWA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4T7-0005CU-Mj; Thu, 16 Jul 2020 14:02:37 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4QR-0003wG-K5 for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 13:59:52 +0000 Received: by mail-wr1-x442.google.com with SMTP id o11so7173186wrv.9 for ; Thu, 16 Jul 2020 06:59:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yEDHcQixmRplGH8qNHcfA8UvDCGb3hBlRKYBVkzPSos=; b=YF6DGOzvWXwjmcXxIzZUFAmsdA5heVnu9aShEi8rkD0j/TNT8wZuLJMOvDRzajTvu3 EZ9bTrqWqgDJBUX1agYozSK+ZJnf9PgQkShRJZHA7Ws9e7H4FGsZdVbfQIUlX5mjrKba fll3JV4KPJkSLq1yYyR9CiRBCcJw4bnyRIn/BXaWM5gYZ2SHxSseCfkr17CpZ1g93SiM L1qvDjd6jhvmp4erh3iWa7niWF1IxIU1P0qyMqzJ0YEdrTdkh4Ur46vuYJ77gEx4dbVJ y1CYx0aoTnQbiTTUrafBbYcDxQyZexTCVzZbN0Ggt120qIUmpTS1r5EWSKoV1tvSIFHj TRdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yEDHcQixmRplGH8qNHcfA8UvDCGb3hBlRKYBVkzPSos=; b=iAIesslB59+fqUHQtWzvz5ghkm4QmvakEe3Vf1My74ywHsc0tRX30oa4KH8ZsKKBEU MnPq/u1tovIF3VLLhWEXhIUsVogivi7U1RtPd4Kx+anTFVq9xJP2bRiXRZ2GtZOfyrjy 7LagFAjEtebGywhVwGEJJUHAQA9OhoR8SQzvruH+A5pIZB7m4IFQC9V/Og2BZzeuWXdO h19LxWh30f8WAdtrJmYZ9eUVU8LrGUxrqXjiGmi+st8G7gCjvvzj6JtU0q/2wuV/T3QR X+jjKe5OheqSFCk4w1FDl+hiBcnV1IBK4iTggjCq9s9dLFV2KVG+xQwz3fiuQwKrK4km UimQ== X-Gm-Message-State: AOAM5337WYloMd2bwymybHV8ezN0f6PW0PuNXLbyvG7djiU0/GfN8kjl ue1vtg56TmkHGHOuzKpc1Czzng== X-Google-Smtp-Source: ABdhPJxoUsWtSXEkwMRRz3h+uwsnqGWeXsnl39jFf61Fm9YhnvLTfGANxYoAUCDpYNm0FXBYzcBa9w== X-Received: by 2002:adf:cc85:: with SMTP id p5mr5124004wrj.273.1594907990336; Thu, 16 Jul 2020 06:59:50 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.06.59.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 06:59:49 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 15/30] iio: dummy: iio_dummy_evgen: Demote file header and supply description for 'irq_sim_domain' Date: Thu, 16 Jul 2020 14:59:13 +0100 Message-Id: <20200716135928.1456727-16-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_095951_754809_6170A1E7 X-CRM114-Status: GOOD ( 11.73 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:442 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-iio@vger.kernel.org, Marc Zyngier , linux-kernel@vger.kernel.org, Bartosz Golaszewski , Lee Jones , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org File headers are not good candidates for kerneldoc. Fixes the following W=1 kernel build warning(s): drivers/iio/dummy/iio_dummy_evgen.c:30: warning: Cannot understand * @regs: irq regs we are faking on line 30 - I thought it was a doc line drivers/iio/dummy/iio_dummy_evgen.c:42: warning: Function parameter or member 'irq_sim_domain' not described in 'iio_dummy_eventgen' Cc: Marc Zyngier Cc: Bartosz Golaszewski Signed-off-by: Lee Jones --- drivers/iio/dummy/iio_dummy_evgen.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/iio/dummy/iio_dummy_evgen.c b/drivers/iio/dummy/iio_dummy_evgen.c index ee85d596e5284..1febbbff0ded6 100644 --- a/drivers/iio/dummy/iio_dummy_evgen.c +++ b/drivers/iio/dummy/iio_dummy_evgen.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only -/** +/* * Copyright (c) 2011 Jonathan Cameron * * Companion module to the iio simple dummy example driver. @@ -27,11 +27,13 @@ #define IIO_EVENTGEN_NO 10 /** + * struct iio_dummy_eventgen * @regs: irq regs we are faking * @lock: protect the evgen state * @inuse: mask of which irqs are connected * @irq_sim: interrupt simulator * @base: base of irq range + * @irq_sim_domain: irq domain */ struct iio_dummy_eventgen { struct iio_dummy_regs regs[IIO_EVENTGEN_NO]; From patchwork Thu Jul 16 13:59:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667811 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7B807138C for ; Thu, 16 Jul 2020 15:44:05 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5357220787 for ; Thu, 16 Jul 2020 15:44:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="JbG8PnN8"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="e6LcB+3p" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5357220787 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=UjkrW9xlXLaqeCAdnumC7xVsz+cFoPfq81out+8+2oY=; b=JbG8PnN8bQ+Xha8m47oZfdyLn sO65bHaqfNFnJeCHK3XyVZPA1DOaexXxPYIRZx8AcoIVfhYfd438mIF06KKYygU+O0gu9tkVz2ZGW m3z1k+2rveLcq6BeuGisW0LReglAcvQCtMKn/FlFa+gDeOthUsMcttnngFV7Le1UK+D85WzC4yoXy cnWEWOWlGJFq9jenVFQc9LPg9iAq5QxnNVQQJoL603IFbW8F/kuhpkdLy5iJwrDb54sBhETpDjqPQ 3RX4vN3HnCtDXc0JryjNly6mcF0D0wx/YAmtGGncGxfRUDYKpnH0X/gOmcTERT2fA+zuSwL6kzwnc S0yEkqWHA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4TQ-0005JJ-RW; Thu, 16 Jul 2020 14:02:57 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4QS-0003wX-Ek for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 13:59:53 +0000 Received: by mail-wm1-x342.google.com with SMTP id 22so10407517wmg.1 for ; Thu, 16 Jul 2020 06:59:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UrH3kHLe+dExzck//Xs9WC4y12BnMG39PRZDgQtY4y0=; b=e6LcB+3pAZokM37jcPJ93LQeC/I0DhPbBDogTHulpprvOqEfVf//SPgEydAg3NXncF kwIfObXF5wnxkCMdvqg6xSHqaIZ0Emf8L/Q5YPPSB9SrpdsGo7hfFc5zvsOJBodpl7it LNub4EOvVQ6m6R5nmNVMx85hf00jH6o1yhlnfGpvhQz/ycvC+k64ZjN2OerS8I2h5RD9 IVM6pfM0ncc1lKjy07LgeJ25/vLSijE51CBZdL4AbM8l1+SYpyBJUD58O14yEOSAKwGF /lw9NT7IcLZeqFGH7cceRbcVE/KeiLXdtBGAm+yoDaSItjNPWxnBZ04yBjVJXDorQHPK RdQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UrH3kHLe+dExzck//Xs9WC4y12BnMG39PRZDgQtY4y0=; b=VYRqbQkjgCGoWVyDuPqQim48tHzZuySWpfb8XPDJMYabsmOh0E+azdzOpvE+3ubLzQ cUILaoe+LIHsNSOT0n+2ywjM3oai/e5yaQrr7Jc4oC3hKARVlN8MJc2jVQjZ9aI+CNSi GDurbWOSsJoJQddyFfkQpGtJdwMkSLYIpCv6ZUciDCdceywd7d0Rcpb2kk5aAf18pbRd gz8Argsf5hDrnwKlmHxT1nf0qDzcPkuD/mD/kvZJKAzj64odYL39vLmRpiwHrKllpR8V /UaiITpCahM1R4lDkcZxZ5wTy7nUshXV6tnF5DiGEA2HszC8Ik/Z2hVSdegVTsMI9Mjs ybQA== X-Gm-Message-State: AOAM533+Yl3fPFpoUiHUPjKNl7S5O3ksQlii3YRqkpzH8Ub7vQluruIR 81A1kC7dGJuASNahGAFcJvHUiw== X-Google-Smtp-Source: ABdhPJxuAnC+YGPWsxb+HKSvBTdc0WVR0l7V3uIrjXGnax3Yqf58atXa+3JP5r7A1VqoflQxuZgvPQ== X-Received: by 2002:a1c:4d05:: with SMTP id o5mr4456320wmh.130.1594907991365; Thu, 16 Jul 2020 06:59:51 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.06.59.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 06:59:50 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 16/30] iio: adc: ad7887: Demote seemingly unintentional kerneldoc header Date: Thu, 16 Jul 2020 14:59:14 +0100 Message-Id: <20200716135928.1456727-17-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_095952_550286_61EB74E4 X-CRM114-Status: GOOD ( 12.77 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:342 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-iio@vger.kernel.org, Michael Hennerich , Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This is the only use of function related kerneldoc in the sourcefile and no descriptions are provided. Fixes the following W=1 kernel build warning(s): drivers/iio/adc/ad7887.c:119: warning: Function parameter or member 'irq' not described in 'ad7887_trigger_handler' drivers/iio/adc/ad7887.c:119: warning: Function parameter or member 'p' not described in 'ad7887_trigger_handler' Cc: Michael Hennerich Signed-off-by: Lee Jones --- drivers/iio/adc/ad7887.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/ad7887.c b/drivers/iio/adc/ad7887.c index c6a3428e950a9..bbaa0a3daea3c 100644 --- a/drivers/iio/adc/ad7887.c +++ b/drivers/iio/adc/ad7887.c @@ -109,7 +109,7 @@ static int ad7887_ring_postdisable(struct iio_dev *indio_dev) return spi_sync(st->spi, &st->msg[AD7887_CH0]); } -/** +/* * ad7887_trigger_handler() bh of trigger launched polling to ring buffer * * Currently there is no option in this driver to disable the saving of From patchwork Thu Jul 16 13:59:15 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667765 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 76D5A60D for ; Thu, 16 Jul 2020 15:10:54 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4C0BA20825 for ; Thu, 16 Jul 2020 15:10:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="3jz7zdHP"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="laIysYMM" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4C0BA20825 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Ri6JBgFW16TAAP8uvxCfFg5ol7U3jEA1PGD6mO0THmw=; b=3jz7zdHPI4PFq/0YG/jy1AoBS 74LVlfE9gJk0yhNWsq7nC6F7bahHpZQiEyTtYqqEcfu4XJWXAGCiW679aYtPN9AHQZz+5VVaQNwUD 9Nc3jEEZi/2rnMTbKOkSFkxbA5HBPzgMP9gA2dXP+AyRff8bGqS50L8XUXqiGP79aPi3g/1AMDJ/l FYPDHXeKmrS39ejOomh43uI3mYl0smREaZQRwWdHHusH+XSlkN7CT8kweJ8pg87gF5qS8QeKH8xmK 6wSpoJPWUgFW3rUEDmEBbGoQ6gPPlqA/qBAj+oz4Iv3wb7NfyHPww4L+sR5fOpayuQfPcyLVZJscr ifXIzo6dQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4TW-0005Rz-IH; Thu, 16 Jul 2020 14:03:02 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4QT-0003xZ-KU for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 13:59:54 +0000 Received: by mail-wr1-x444.google.com with SMTP id a6so7195610wrm.4 for ; Thu, 16 Jul 2020 06:59:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HmsMpTwfL7pGfzUHY+3b/NowLtKwAcX5ohfQKTrGvPA=; b=laIysYMMocgn89Hv3NkjP1Jq0QAhgj4ZVjNxfrrMJwCnUv/WsLO4F2Nkr/wHPuNIUg mP+NeoGVihsczpizzfCPJKw6wPE1V3cKXk5EpzHoeJ1HkZIaOS8M1t1xog85/GqpcNLf WexHvrrAju7qfYLVBi1PbvzLB9kTTalqx47jC7JWPXtX7GskIYX4SkzKYNXvrXxTSg66 6NeHZk/b09GWq23D5NuCfI/3AdMEZnxvbXGwWmnihzJjUR5U5YqbxYeswhqywylnmJeS C2zHSDSrJsXvxTwdsS0MrWavEpFi2BTcNF9FhUmK2BtFH+nJwzguJQM4Edwc9txNVjvf O6WA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HmsMpTwfL7pGfzUHY+3b/NowLtKwAcX5ohfQKTrGvPA=; b=h6NbuRHhM4RrOW2sjUNa5dQxg3HxfuvgyaKIQSGYcHifIberLfRvbQuNHuMbLgkAwO 4+5jVABnfXC9wwGCgfaK8QHX6Sf4y8TjH6/AichH1SqdaTjZ/3Qw07XKZu7sgK6oP0jP T1kxDsrJg4STJRYZPtc+9uyz/AG4fyIRRye2HVDX6lDXdh05/bSvrnARGyXSEa+phDYP UGfNXtLMDp/+tVxrbfheeYQ1WxHhbVfTeAMuB9mYIGD4tZDVSuxgto7i7DtZVMEuUNUk mfUvLnRnqcd4wMRm28Wnhqd8zl6qL1ZWTjsp8xEwcx5ivjKhzo0/Vl41vu9KcGfz11AV INUw== X-Gm-Message-State: AOAM531NDXVo+gzX3A5tGieQStfHSqFSk7BZUFqz9pOC49uOqZ91mahx tDEkNGuDYE3zrvtmJYUXGn4l0w== X-Google-Smtp-Source: ABdhPJx3xo8ont4fyIRFtPaHaTq3DoVh4R/yBthdWhJ+fV6UOuEkvSnBzCLHALtNNJeLVQx1vYiUdA== X-Received: by 2002:a05:6000:1190:: with SMTP id g16mr5000111wrx.286.1594907992627; Thu, 16 Jul 2020 06:59:52 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.06.59.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 06:59:51 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 17/30] iio: adc: ad7949: Fix misspelling issue and compiler attribute ordering Date: Thu, 16 Jul 2020 14:59:15 +0100 Message-Id: <20200716135928.1456727-18-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_095953_718036_1E22199F X-CRM114-Status: GOOD ( 14.20 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:444 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Charles-Antoine Couret , Michael Hennerich , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Lee Jones , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Kerneldoc gets confused if the variable does not follow the type/attribute definitions. Fixes the following W=1 kernel build warning(s): drivers/iio/adc/ad7949.c:58: warning: Function parameter or member 'indio_dev' not described in 'ad7949_adc_chip' drivers/iio/adc/ad7949.c:58: warning: Function parameter or member '____cacheline_aligned' not described in 'ad7949_adc_chip' Cc: Michael Hennerich Cc: Charles-Antoine Couret Signed-off-by: Lee Jones --- drivers/iio/adc/ad7949.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio/adc/ad7949.c b/drivers/iio/adc/ad7949.c index 2c6f60edb7ced..a3fc42617feb9 100644 --- a/drivers/iio/adc/ad7949.c +++ b/drivers/iio/adc/ad7949.c @@ -39,7 +39,7 @@ static const struct ad7949_adc_spec ad7949_adc_spec[] = { * struct ad7949_adc_chip - AD ADC chip * @lock: protects write sequences * @vref: regulator generating Vref - * @iio_dev: reference to iio structure + * @indio_dev: reference to iio structure * @spi: reference to spi structure * @resolution: resolution of the chip * @cfg: copy of the configuration register @@ -54,7 +54,7 @@ struct ad7949_adc_chip { u8 resolution; u16 cfg; unsigned int current_channel; - u16 buffer ____cacheline_aligned; + u16 ____cacheline_aligned buffer; }; static int ad7949_spi_write_cfg(struct ad7949_adc_chip *ad7949_adc, u16 val, From patchwork Thu Jul 16 13:59:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667785 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B03FF6C1 for ; Thu, 16 Jul 2020 15:18:27 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 86BEC2063A for ; Thu, 16 Jul 2020 15:18:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="z0A6xMF9"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="BZXkuoMj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 86BEC2063A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=lYLwfKhbUAnygJOnw1SPRPgGbdAgI6qKoCqeceh8lx8=; b=z0A6xMF9R+PQunS1LaIU+dZU9 bd9uqN5b47quSENfwKQd4mvFz4oN44aNRMSldw3nmnQEEbZ5dkmksCRn2GljEjrgB6llaJNfNESkc 5Wx2wQBmRWtjwCroU9B+hOW3DN9ofeOoyzYgG6uMUffbOIBS7U+QJ5HRuLwe/l5Q7eXgB+wJVXH0a h2foQwky8Z8tJq2ji9tSK9vO/ni4HQa30k6eiBrUIdD5UGAnonwiodCRt0JlqOBHUn3TDEIhQDz9Y JnVjc0akdAaW7+a8oGj/unq1zm6fQNVgZQJQddwryge3VOln++SOfCCjIFxyaMZzeIGROS1RFIFCt rp6ug5iPw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4Td-0005Uj-Kx; Thu, 16 Jul 2020 14:03:09 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4QV-0003yP-V3 for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 13:59:57 +0000 Received: by mail-wr1-x443.google.com with SMTP id a6so7195712wrm.4 for ; Thu, 16 Jul 2020 06:59:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GqxOwYWYCKbxRiFIfO8mQJ17c9E08hm9vRAt2tUzVrE=; b=BZXkuoMjqIRTS0/6QPnet0VkxaR+ZYIEPXHFKOFQCy3pYZVAsy32j3Drec+Le6Hkco 8tc+9B8okcwu97u594OZnlUdlxm4otXS2uR8C726JZp7H4RoaQI9EYdpp1VWJWyynggL IBthvy4QEsA6VEnviiixeZxU2qiEyr8lwutFFtMmUR8ValadGnwQynlH+ACf9OZwx6d8 3JTCFEI4quzR5QCrEyz/BrA+HTgjGdKGEergDADidFrMB1Ijpx65zyxJQsYnMcPo6gG4 lK9Urh6g5WoxHoqZ5AJ93s15VWvqo1seLUdp+x5zW8uxoT205CgLvV13yM9QiC8cwl0h NlFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GqxOwYWYCKbxRiFIfO8mQJ17c9E08hm9vRAt2tUzVrE=; b=dm6Cf1kM1szcAY2k+PfuZ5+x6oSPUbef0nd5khDzLRALwd59nET8KixvWlRScEvsyO bsSUibmWbfbEfiCAgegYaGAPuXXQxEoHIZYadnDr2dV1zQwV4kzzh67DbLPnZGzyg4DQ f436/TWwSFhj8C5Ihz5MyQMxrMeYCnjXkDx0/ltsxCGGdVtpjRwGuFpZ2mjIe8KcHCkZ xiMiHRPb4D3ZaHw5btt202SEPLectMdiO2V6HUS5PEeFiwq5kKWTVbFdkTnft2KCDARi GDg8m+k66Op8WTK7vOR/UcWCZWY+1KvS7ZgPYWWG/OkB4C+Lzk73hnT1qzNAeg4orqOX LcFw== X-Gm-Message-State: AOAM53291t982n7GH5mAa8rPscVrKjSd1N+bFYLEJHxGjfrMt4KYAeRh iQXqYSnVQCtiauy95pEYpM22Bg== X-Google-Smtp-Source: ABdhPJxYVAtXV1LzuFoU5IKqF3NfGCSxjIjAn6JnmZMWcEXVylAgyiNuD6x/dKuh428/yUB0CybypA== X-Received: by 2002:a5d:66ca:: with SMTP id k10mr5163414wrw.244.1594907993734; Thu, 16 Jul 2020 06:59:53 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.06.59.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 06:59:53 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 18/30] iio: dummy: iio_simple_dummy_buffer: Demote file header and correct misspelling Date: Thu, 16 Jul 2020 14:59:16 +0100 Message-Id: <20200716135928.1456727-19-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_095956_125972_5DD1A05D X-CRM114-Status: GOOD ( 12.33 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:443 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-iio@vger.kernel.org, Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org File headers are not good candidates for kerneldoc. Fixes the following W=1 kernel build warning(s): drivers/iio/dummy/iio_simple_dummy_buffer.c:27: warning: cannot understand function prototype: 'const s16 fakedata[] = ' drivers/iio/dummy/iio_simple_dummy_buffer.c:185: warning: Function parameter or member 'indio_dev' not described in 'iio_simple_dummy_unconfigure_buffer' drivers/iio/dummy/iio_simple_dummy_buffer.c:185: warning: Excess function parameter 'indo_dev' description in 'iio_simple_dummy_unconfigure_buffer' Signed-off-by: Lee Jones --- drivers/iio/dummy/iio_simple_dummy_buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio/dummy/iio_simple_dummy_buffer.c b/drivers/iio/dummy/iio_simple_dummy_buffer.c index 17606eca42b43..40d30c0a60ce5 100644 --- a/drivers/iio/dummy/iio_simple_dummy_buffer.c +++ b/drivers/iio/dummy/iio_simple_dummy_buffer.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only -/** +/* * Copyright (c) 2011 Jonathan Cameron * * Buffer handling elements of industrial I/O reference driver. @@ -179,7 +179,7 @@ int iio_simple_dummy_configure_buffer(struct iio_dev *indio_dev) /** * iio_simple_dummy_unconfigure_buffer() - release buffer resources - * @indo_dev: device instance state + * @indio_dev: device instance state */ void iio_simple_dummy_unconfigure_buffer(struct iio_dev *indio_dev) { From patchwork Thu Jul 16 13:59:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667825 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1E8481392 for ; Thu, 16 Jul 2020 16:14:36 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E980E2071B for ; Thu, 16 Jul 2020 16:14:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Q8GEm7Sv"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="dbPBBqXN" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E980E2071B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Ku4mnJQUU8L4Sk4BvwXEkrxwgMr9Xbh30b/qIOycSvs=; b=Q8GEm7Svic6mr0G41erIR1EGa mqEcs3Hum8rMzkdAsv1BZ1DfK++3QqonINyfHTX5PCq6vNZWDIlDDP+VDyveLvz74PhIv+cT8jrAp DeP9/aGwi/wGtkQFs/YsxPZtY7sqixH/T0E/75RAAD/W9DBUh2+C9MnV/DuqlXvq0yNsb3XFkaAHz GvKg0JPpaneVdgPO+PkNXnY0XFZXeLk16X/qv5YbDnm4fF0kP+UXLmdkjivNbmK2t8bIAQTGXkbNK CVZt8VE5Hrg1HsUW7GB30WTGDnDJN129TH+FCXu/fB8s09p7nH0exyFNmM1kFiMm7f9oC0GhCTw1p I/mmIcOYg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4Tp-0005Wg-0y; Thu, 16 Jul 2020 14:03:21 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4QW-0003yv-Rc for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 13:59:59 +0000 Received: by mail-wr1-x442.google.com with SMTP id z15so7163175wrl.8 for ; Thu, 16 Jul 2020 06:59:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5dhqQ4NUqiUF2Bq7q61YfGoR1xp2l5qeEphpBIwviqw=; b=dbPBBqXNQxXcdUjhThIupcj7hUT6HiWHQxF6DtZKhLxNXTxrJyHDZvy567mnJlko7K VmE/hBekbLstojqruJZVxnf54PwhVekIh/XpObFkAdGyJwnGImKh/34abAImwKgm5Qov ZfjW3T7836AVQjZzbwFVCqo+988ZUTbc87SV1+coaF05IaNm7YROzqhNIfSbv9IKmzRR Z5QLdS18fe7zcOUEVJc7RvYfYvCEoL1gwXRNpBvC209ybypJLdV+mN9YvMQSPdk8Ah14 XTQCtff8XV3rpAXhCEF8VJKAezSkguRXjzpkXz7Do6lpcB37Q3aXv98Vt55GDPwaqB0R QEzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5dhqQ4NUqiUF2Bq7q61YfGoR1xp2l5qeEphpBIwviqw=; b=DQe9FAVB2zvft5b5QIDf8ZO1pWt/RibImLbifrdZ0GmdMUhbJxrV+6Fvrl77LIaGSM VF1F78i6MhcKMXV/80utLVWCQopFa3GRTXpaF7SwPkSa1z6W4fR2OdPvjL3pC2looRXa KmBCTWShi9As0T5J/v+NVZI0OMSk6MwhD9JbgG0XZ0pYcVxrzksVSrkzAd7VuCch4x4w pOSKCTw8j5fOxUvz1twoOh+60og2tT7ov7PoME9hxLuZ8VXPreXYpF/dfgqY9XRGkVEo 9ypezelncY2Gx72gUu0YlruLrIk2QwnRcxagE2MqHweDoDXUDBvbOhI5ojmjVMTz/Nwe vS5Q== X-Gm-Message-State: AOAM5314xORbErfG2gndJ0vpgZMdxPoNplWjbqgHJ1yiMruOZ4tBjDEW oqQx/L8vrmS9w1e3FkISDrTfEA== X-Google-Smtp-Source: ABdhPJz7hGYComCkdeZkkyqBGf5Dge6AU5ApxQjr/rt5vC1UMsucySFQGpPQzmN4Uk9auol+JJ7QQQ== X-Received: by 2002:a5d:6990:: with SMTP id g16mr5122440wru.131.1594907995889; Thu, 16 Jul 2020 06:59:55 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.06.59.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 06:59:55 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 19/30] iio: dac: ad5064: Fix a few kerneldoc misdemeanours Date: Thu, 16 Jul 2020 14:59:17 +0100 Message-Id: <20200716135928.1456727-20-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_095958_019809_3FA80092 X-CRM114-Status: GOOD ( 13.05 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:442 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Hennerich , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Liam Girdwood , Mark Brown , Lee Jones , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Misspelling, missing description and compiler attribute ordering. Fixes the following W=1 kernel build warning(s): drivers/iio/dac/ad5064.c:71: warning: bad line: internal vref. drivers/iio/dac/ad5064.c:83: warning: Function parameter or member 'channels' not described in 'ad5064_chip_info' drivers/iio/dac/ad5064.c:125: warning: Function parameter or member 'lock' not described in 'ad5064_state' drivers/iio/dac/ad5064.c:125: warning: Function parameter or member '____cacheline_aligned' not described in 'ad5064_state' Cc: Michael Hennerich Cc: Liam Girdwood Cc: Mark Brown Signed-off-by: Lee Jones --- drivers/iio/dac/ad5064.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/iio/dac/ad5064.c b/drivers/iio/dac/ad5064.c index 303f6d1a5f311..d7109f8f52efa 100644 --- a/drivers/iio/dac/ad5064.c +++ b/drivers/iio/dac/ad5064.c @@ -68,8 +68,8 @@ enum ad5064_regmap_type { * struct ad5064_chip_info - chip specific information * @shared_vref: whether the vref supply is shared between channels * @internal_vref: internal reference voltage. 0 if the chip has no - internal vref. - * @channel: channel specification + * internal vref. + * @channels: channel specification * @num_channels: number of channels * @regmap_type: register map layout variant */ @@ -98,6 +98,7 @@ typedef int (*ad5064_write_func)(struct ad5064_state *st, unsigned int cmd, * @use_internal_vref: set to true if the internal reference voltage should be * used. * @write: register write callback + * @lock: maintain consistency between cached and dev state * @data: i2c/spi transfer buffers */ @@ -111,7 +112,6 @@ struct ad5064_state { bool use_internal_vref; ad5064_write_func write; - /* Lock used to maintain consistency between cached and dev state */ struct mutex lock; /* @@ -121,7 +121,7 @@ struct ad5064_state { union { u8 i2c[3]; __be32 spi; - } data ____cacheline_aligned; + } ____cacheline_aligned data; }; enum ad5064_type { From patchwork Thu Jul 16 13:59:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667615 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7118E13A4 for ; Thu, 16 Jul 2020 14:07:29 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3926D207BC for ; Thu, 16 Jul 2020 14:07:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="WmC1rA97"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ZAvEsaeF" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3926D207BC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=VR0ZwW8xlcIpPDM3+6gdHyHhS8W6FDxCJE+9Mzv31wI=; b=WmC1rA97b96ula7tydU14QaaC x55Azr5foUjf8rETbzuoc4bW4HEBgyUnMhoHNIm16b/tQ7D1jOQC3MiwLjNc57EcowO+eDRIcPh1R aQ+QyqZDXnJ1UdlWAcHs84Rz6sEDPqRLdPogV19KntnTaA5w6KmgeYl6f1PLHVzvNvMJvuPY69Kr8 MNmswJPvme61zqPiVIbGUzV5S5WMiQjnbKRI0B6pxCoMIYxcg+hJk2Yil8BfEH1RI9rJDUVxTbn8I MMvC1TxaoDJD8cPIJcdtT/F+D1/d2hOzgozzLZyfR4xtX23fjFHC6yseG7O7FG8W3CaqnNBBUzM9X b8ycsmO6A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4Ty-0005am-Iz; Thu, 16 Jul 2020 14:03:33 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4QX-0003z4-S0 for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 13:59:59 +0000 Received: by mail-wr1-x441.google.com with SMTP id f7so7214085wrw.1 for ; Thu, 16 Jul 2020 06:59:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1SUhdNLbgzPAWgw1RQZwdPTaqr6bugMt+fbr6rtma0A=; b=ZAvEsaeFkwq5GcgDYK+/9rJcCLF1cuHMRI3FgfRAhfFpy2lSpeAOVYuwnpiWnp0j/u sodd9cME6J+7QQLoK5/xcLsLofod4oprz+mrBGP59qMiTR052FLl2aEyPlxrSmqz2H/Z 7evmx8t3cXfDTu2Zib3ya9hwIeg8ndWeLJ0UcSwl8wB+vZHcD/ePhbibd7Bs+Bq0gdcx 9w0dFgkWDfV3gxs9rw0mDHIKpZd7wYTXUiXE1P6DYVjJbfWxQrJo6nGgDMWd4cSHsfh4 W460RnonrWkqaNjrv7vciSSLANEpDQCyy9BjJE/VYE2Oa7rRev585J4xrIiecbtPLnHU dqqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1SUhdNLbgzPAWgw1RQZwdPTaqr6bugMt+fbr6rtma0A=; b=qp+7fj/93QFjqjzeH65SnOwRtCuuNgn/PulIvVUf8RMC1uPSK2o3VseZFLL0YK1IrT 0locz2UZbfRXrY9IaUPn8UiKuEKgiNf0hJFdBlf/KEEjd3cffki85dPaMlrm+8LHFk+h NHtxCt5p9qWivGWJOpZ2nfvbn5SgmgzD/v8ExW19hvY2q8b/QNcqjPAgAWnb3wG+fQj4 cZLX6OQ2e6NV+6ZjiKVy98eOrwP6TtHuRZeqt5OKcb3HNjWwHeHtiCPWY8swIcEFjssK xKPaolYt3Uv8LIBMaxB97S3vuOBRgvZAjON0Dtyw2sHD+YsT135x5TONa3SOckrI/f1j xHzw== X-Gm-Message-State: AOAM532GMt+pPm41c9O+0JP0IlnEhrgSwhTr9Pq489Z+QtWWwwPAnaZO iRtjXsO47vpNlToBq0vI2Z2+7nU3V2E= X-Google-Smtp-Source: ABdhPJzmqEBOwvn53W4FP2sjwDCd5ej/MlGX+VNRjOmTyGRQcbKaLe3I4Ls1WV4amb5DWzEuFZxDGQ== X-Received: by 2002:a5d:4b45:: with SMTP id w5mr5010385wrs.4.1594907997025; Thu, 16 Jul 2020 06:59:57 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.06.59.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 06:59:56 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 20/30] iio: dac: ad5446: Complete 'struct ad5446_state' doc and demote unworthy kerneldocs Date: Thu, 16 Jul 2020 14:59:18 +0100 Message-Id: <20200716135928.1456727-21-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_095958_029281_8DC3DE98 X-CRM114-Status: GOOD ( 11.61 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:441 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-iio@vger.kernel.org, Michael Hennerich , Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/iio/dac/ad5446.c:48: warning: Function parameter or member 'dev' not described in 'ad5446_state' drivers/iio/dac/ad5446.c:48: warning: Function parameter or member 'cached_val' not described in 'ad5446_state' drivers/iio/dac/ad5446.c:48: warning: Function parameter or member 'pwr_down_mode' not described in 'ad5446_state' drivers/iio/dac/ad5446.c:48: warning: Function parameter or member 'pwr_down' not described in 'ad5446_state' drivers/iio/dac/ad5446.c:48: warning: Function parameter or member 'lock' not described in 'ad5446_state' drivers/iio/dac/ad5446.c:323: warning: cannot understand function prototype: 'enum ad5446_supported_spi_device_ids ' drivers/iio/dac/ad5446.c:545: warning: cannot understand function prototype: 'enum ad5446_supported_i2c_device_ids ' Cc: Michael Hennerich Signed-off-by: Lee Jones --- drivers/iio/dac/ad5446.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/iio/dac/ad5446.c b/drivers/iio/dac/ad5446.c index 8f8afc8999bc7..15c314f08a007 100644 --- a/drivers/iio/dac/ad5446.c +++ b/drivers/iio/dac/ad5446.c @@ -29,11 +29,14 @@ /** * struct ad5446_state - driver instance specific data - * @spi: spi_device + * @dev: this device * @chip_info: chip model specific constants, available modes etc * @reg: supply regulator * @vref_mv: actual reference voltage used - * @lock lock to protect the data buffer during write ops + * @cached_val: store/retrieve values during power down + * @pwr_down_mode: power down mode (1k, 100k or tristate) + * @pwr_down: true if the device is in power down + * @lock: lock to protect the data buffer during write ops */ struct ad5446_state { @@ -313,7 +316,7 @@ static int ad5660_write(struct ad5446_state *st, unsigned val) return spi_write(spi, data, sizeof(data)); } -/** +/* * ad5446_supported_spi_device_ids: * The AD5620/40/60 parts are available in different fixed internal reference * voltage options. The actual part numbers may look differently @@ -535,7 +538,7 @@ static int ad5622_write(struct ad5446_state *st, unsigned val) return i2c_master_send(client, (char *)&data, sizeof(data)); } -/** +/* * ad5446_supported_i2c_device_ids: * The AD5620/40/60 parts are available in different fixed internal reference * voltage options. The actual part numbers may look differently From patchwork Thu Jul 16 13:59:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667791 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CC557913 for ; Thu, 16 Jul 2020 15:28:36 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A484C20672 for ; Thu, 16 Jul 2020 15:28:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="FOKj1x/O"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="sPXdRyUr" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A484C20672 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=gMHOXv6Noev+4gQLaTqZ+B+oXgVrnboW7MSyXB3OFTM=; b=FOKj1x/Os7+USVAbkj222hjMR 5duvvN/spe3zgvuAwue+x0ghoKJqsYkbA7QkOkGP/nbo8rMYo6+uB/dzIY0c96WEyUOuqkDQShbBk 9+7bb6NU8XKc0X71QF+whqXoVeZR0EdOl4bmYEKXokSgKiWGGX9LxBrb4L+4a/PRU2Kmdd0XkoMzK 28zjGv7KwtFYqKtSAkNk26kvRRyamaDmT9SeqKMXzOTRVSQVOfdjDha8beRoNzit4Rc6hlB3W3eoI xqgRSU+/42ykaQOaYXScxo7pRm8cc7z4wfQWzDCNMyD9GslQdxVnsoK5HNBOQtcdZ06U5H/ekmnNf HUlI27cEA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4UA-0005fC-2V; Thu, 16 Jul 2020 14:03:42 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4QZ-0003zu-9S for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 14:00:00 +0000 Received: by mail-wr1-x443.google.com with SMTP id f2so7168680wrp.7 for ; Thu, 16 Jul 2020 06:59:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Fxti/ROfl2G3M6gtYz5bbB24uIJ/yIrzz6aDgoU+YhY=; b=sPXdRyUrAhHuTpuewy5VfCaU8QEjM1NaNAfcP84fpBcu50J3lpb1HY52y8zutzFjFN YmTSRpW8jZX5AGVMjqgoEerb2+UU3NqVNXsAsjWipg2eVPj+HGNB1gHrBV4Ec0zkHEIr Ak7tX6sy9RzXsd9VjDh+j+5xKbEU59b6nwSPNF4E44nUFe+voE+UfA0Vkn/sdH4XUfta N8I0u5FcCE9ARjwwDsGwhdrNgdnXKrhIfxyff6Wu/wv9WqOsfspMeko4vS3BXmUCCMkc +V/AWxJ7GsxvErjrTV0s8qlTXYu1ocvWMkvzUzOO3QRbTECQyOc3eizmnKqLv7m1eiBh zprw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Fxti/ROfl2G3M6gtYz5bbB24uIJ/yIrzz6aDgoU+YhY=; b=NDWcGndtJBrw011UqGxawoaQ53F72AYq3sutnkM+l1unqfD6jiFCjYtK/xUYYFjRZM 8uP6zbbhXpvSUHLshu7Bq82HqVAxE4/4Nc4gezOvUHxrttcy+ondZ8MemOjX0/R62Vcm f0U8OnUCMAnI1+UIS83a/w3RwZOCcUJz1R2/oDbZaAabCMj073em9iFwFj2UhcPGp6cF QafvYEXrRvzs2C9BugsQWZcDqGQPnoR+gW9XXFj2uvON+aE76pVTIGpa+C3U5DXiT58S xohFuwemHE8MCXieKEGwpAAb1FirtdD7bZ0aJCZr15zvoo4Vyh8K0l4/8q2sE0PZJ0C3 wqVg== X-Gm-Message-State: AOAM533hIVcIMHd2yIcCK3CVikb+0Z5VaMwxL437ovAYvOSCJ00FEPkb laBpt2zg8zo2wfVeuaYDQZrSJg== X-Google-Smtp-Source: ABdhPJzM/jUx9vNqBhmh4/2ZUSjp3tre1unOwqfSVQ5aaqX4Xt96FB0tgeJaU8jAp7Fs4XGKDQQLWw== X-Received: by 2002:adf:f452:: with SMTP id f18mr5192867wrp.78.1594907998275; Thu, 16 Jul 2020 06:59:58 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.06.59.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 06:59:57 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 21/30] iio: dac: ad5449: Fix kerneldoc attribute formatting for 'lock' Date: Thu, 16 Jul 2020 14:59:19 +0100 Message-Id: <20200716135928.1456727-22-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_095959_464968_BB323B05 X-CRM114-Status: GOOD ( 12.99 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:443 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-iio@vger.kernel.org, Michael Hennerich , Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Kerneldoc expects attributes/parameters to be in '@*.: ' format. Fixes the following W=1 kernel build warning(s): drivers/iio/dac/ad5449.c:75: warning: Function parameter or member 'lock' not described in 'ad5449' Cc: Michael Hennerich Signed-off-by: Lee Jones --- drivers/iio/dac/ad5449.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/dac/ad5449.c b/drivers/iio/dac/ad5449.c index d739b10e52362..e9530835479af 100644 --- a/drivers/iio/dac/ad5449.c +++ b/drivers/iio/dac/ad5449.c @@ -56,7 +56,7 @@ struct ad5449_chip_info { * @has_sdo: whether the SDO line is connected * @dac_cache: Cache for the DAC values * @data: spi transfer buffers - * @lock lock to protect the data buffer during SPI ops + * @lock: lock to protect the data buffer during SPI ops */ struct ad5449 { struct spi_device *spi; From patchwork Thu Jul 16 13:59:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667779 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 753C860D for ; Thu, 16 Jul 2020 15:16:26 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4C5E92063A for ; Thu, 16 Jul 2020 15:16:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ORImM1Tn"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="YFHjdhb3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4C5E92063A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kg3Hr1P4b9a8D+tiRrd4A9UWoMjfJ7bhNq1VKLKyMaI=; b=ORImM1TnQh9XLqu7s8SUpHQjR TTTu3mK7yyT+6oatJn3GY+R6j8xhCSZL2L34Bu7pSjaN8xsZkg4fjuBthSL0VrSnLozTXlYR5ALxh NG9lhusZ3q4VV2xp93PyLoqf8dYL9JTzspFyQyzBwJZvNRCJrYM+ZRjRpsC1H3ziGMFBeByzslFF3 s2lbl3xJ8dxiSxSr+XcQl2Ey6oMxjn44vq9AGUterM7oVITgTj2VMqo/rdCzR4GIWTvF5OPcaJDsr CMxKJLJd1o07/LCn1otCVmpGMCEhpC+AmkTNo999ZaHy0kahHwV6mkmP/shOerCDo5yuLLtbYhmQ0 QbS+sDKPw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4UK-0005mw-TH; Thu, 16 Jul 2020 14:03:52 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4Qa-00040U-DO for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 14:00:01 +0000 Received: by mail-wr1-x443.google.com with SMTP id j4so7149020wrp.10 for ; Thu, 16 Jul 2020 07:00:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yhAlYdV5Ne68CM+OfBERNX54x9vjQJ2ipPF8jNzEsTE=; b=YFHjdhb3nz8ipEzJ5Z806+yAFjm+JnCtifCj6oH7xDw7KtUOJ803J24ZjjOOOhC5SY If9NQFbI1uNzn53+X4WA3nqiVRBvRaKaoXJM9NtJWkvQn6GgpyaJHFkcYmUdivz4Tnak 9LrnSDlGMHCPbNeUqzcR7y1eiZCJI+3+i3g5AesZsCYEfEPIAHZ9Sv80NNIflvXhbZFF trvIALQsI4z7xNXWhb5jZsiTVhHjN8z6ugz7+X67NnBZ9XEH0+HKETaP+WHDLLkgd96L fUqTlXxcQ0wjCzXjsdNA8mYUHYEPIJRbgB6GQfu3GsNkpy1pZcuZXu/pEzf7o+2i5du9 xBJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yhAlYdV5Ne68CM+OfBERNX54x9vjQJ2ipPF8jNzEsTE=; b=rYDMS5Xbj9U6ZMR3SKJaFZJZL626FT7CfkkomVkD6wd/889lvmTp96LXJmR+Xkiurt u/xuuhikRDuD9HBbic4yntiaQFFkcb8Z5gYYgEeJxHBjAInfJX1LF8QT8SATkJ89MiOI sEGBryqZ6VveMIKFMdnwUcy+nY5xH7RN6HsmEwrkkT/SJ7MiRZdY04ND1eaK8DpgO/bv y4h/+8nCxhd9D8Hm1M1IeOuLsJRILLPNWuKpexPD2sQ7sjTU8qqAFVavEvp5sCVfn8CV l6lZFIzi6qEPD6Lfvy2rLDlH8b7xmVeUMonlK//3FgVuknyVWSEgJfP/nlNeFusD0pJ4 NSPQ== X-Gm-Message-State: AOAM532AKDBZHyPMOKb5gh4xZ8GwsGjmZ37zNm2Ke9LthnyMGdDhFs2n PENLpVZ1YclSi8qOm7erYVsslw== X-Google-Smtp-Source: ABdhPJwCAMel7xrEfrRY7L+G7+cweQnfelaWTowsT3p/jtlurNSyRj2+Bif0CrPV/qz9AQShAUeY8Q== X-Received: by 2002:a5d:6412:: with SMTP id z18mr5144810wru.310.1594907999384; Thu, 16 Jul 2020 06:59:59 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.06.59.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 06:59:58 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 22/30] iio: dac: ad5755: Fix kerneldoc attribute formatting for 'lock' Date: Thu, 16 Jul 2020 14:59:20 +0100 Message-Id: <20200716135928.1456727-23-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_100000_584831_FE042A31 X-CRM114-Status: GOOD ( 13.07 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:443 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-iio@vger.kernel.org, Michael Hennerich , Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Kerneldoc expects attributes/parameters to be in '@*.: ' format. Fixes the following W=1 kernel build warning(s): drivers/iio/dac/ad5755.c:105: warning: Function parameter or member 'lock' not described in 'ad5755_state' Cc: Michael Hennerich Signed-off-by: Lee Jones --- drivers/iio/dac/ad5755.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/dac/ad5755.c b/drivers/iio/dac/ad5755.c index 7723bd313fc6e..bee4ed0ce91a8 100644 --- a/drivers/iio/dac/ad5755.c +++ b/drivers/iio/dac/ad5755.c @@ -82,7 +82,7 @@ struct ad5755_chip_info { * @pwr_down: bitmask which contains hether a channel is powered down or not * @ctrl: software shadow of the channel ctrl registers * @channels: iio channel spec for the device - * @lock lock to protect the data buffer during SPI ops + * @lock: lock to protect the data buffer during SPI ops * @data: spi transfer buffers */ struct ad5755_state { From patchwork Thu Jul 16 13:59:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667625 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3F17813B1 for ; Thu, 16 Jul 2020 14:08:00 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 16109207BC for ; Thu, 16 Jul 2020 14:08:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="A9YGBUJB"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="S1ggKKr4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 16109207BC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=R2oTvtOKVSrOhvAEs24dLd76xn/mRAxR1VrhW598FNg=; b=A9YGBUJBqK/g71beyC0/dOy01 372Ny5vM23nfLVPCQXd1pFN/IS8ZbG1xE7LrNAOgLTpn4w1W0NcwmYb0OXYOcXMg0vyyt5WW+vpAq wh2DNVwvlFkrkkT4zZ1Uq6v9fYmbRAUACFn0FuJxdG7q9BoKDsxzv5U4UHjfY0jy93SUreSipdVHC OI+yRUr142P8sGxNCLWA+klEniTHppcqQmv+CRSVzpfNUZpn86WKz1guukHAIHDJ8sxXThaqLJl4n UeDSVEuAvuYuPsaLSH3oN2DYOAsrQZwCFZaYO5kiuJtoSPgB/ZtVqlhqteT4wjpHP98dpKDYjvTqL AcUi9C1nA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4Vu-0000JV-In; Thu, 16 Jul 2020 14:05:30 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4Qb-00041B-Jz for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 14:00:03 +0000 Received: by mail-wr1-x442.google.com with SMTP id f18so7226758wrs.0 for ; Thu, 16 Jul 2020 07:00:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bkghzH4FwjGUVQFUZPoQ97cOQabOY+KdLhABNUZLqIk=; b=S1ggKKr4PsJt4mnmFy83hI5iE2gJWJql1bB9gOk+PK5KznVZKiv0CzTg8eyKCXNTcP Hb0EIspfFfeYzKpt/O41IvcFTDh7L52KazjEkdupAVnk2gJ8bPVCLzw9Ph6/P+/C67Le W65BHf1ymoCwyGb+rT7YXibxWdGo4P3Zg3gmUGEMdVwGeb991gHdRaFrLN+cpM6Ni59f 87Q3djAnHrpsXS14Q5Gm0Lp+kobOspNfNsFZ5emHq5g6uEsULserGcgTBSBvFcOuNdtN PnClSEw4/vzH4Z0eS+TjeSTu+aH4FHY1tiBDLOjG6WSO6Gmj9B0R0OtHEK9eW5OJlD54 fmXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bkghzH4FwjGUVQFUZPoQ97cOQabOY+KdLhABNUZLqIk=; b=gx7d6aEw8OUhohPtYPvqL1Ufe91FqaE8KMxPe5AW6Un4BeKT6Ni1jKegBdQiTAU5uS 5UzR3JKJfyceEwmDY6u6bzrY+m16rYseymqaeBaW8GI6RDDOWjhxjlaxC2E1tpaQRYv7 92XrpxmCcAGVSJOQQdkOyc74EClQ++xzy/D+3auOQJyamT74IS4UIWF2Fr08yRjrtcwj QFhhCa6JPR+E96IkAMO2Ns1UaFfUNsLTuqsb4HIAZKv7uU6gPXYZ+V6LA9cD8UXnrZwR /jIBTDgPqyDF6H6NpWo2N0PrVdGT1iCwd1Q919A3ax1IGdEXNY/Qifwy64qi/GdhtMux Fnyw== X-Gm-Message-State: AOAM5318X6O7hH26IbFBuOirNuvb4DmzudE2m0VgnUburMStl4Yku031 yzF/u4RlF5ydqsRKE4tSdmbN8w== X-Google-Smtp-Source: ABdhPJzeVMIR8thnmbqfUj0K3saB+lmylMEVfVpRaOION/gNn16Ry4C428YCMr2eRk7YrRcwvvAk/g== X-Received: by 2002:adf:9c8c:: with SMTP id d12mr5059867wre.369.1594908000543; Thu, 16 Jul 2020 07:00:00 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.06.59.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 07:00:00 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 23/30] iio: dac: ad5758: Move and fix-up kerneldoc header and demote unworthy kerneldoc Date: Thu, 16 Jul 2020 14:59:21 +0100 Message-Id: <20200716135928.1456727-24-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_100001_789902_07F6D453 X-CRM114-Status: GOOD ( 11.66 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:442 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Hennerich , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Stefan Popa , Lee Jones , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Kerneldoc headers need to come directly before the function/struct that they are documenting. Also fix some missing descriptions and misspellings. Fixes the following W=1 kernel build warning(s): drivers/iio/dac/ad5758.c:111: warning: Function parameter or member 'reg' not described in 'ad5758_range' drivers/iio/dac/ad5758.c:111: warning: Function parameter or member 'min' not described in 'ad5758_range' drivers/iio/dac/ad5758.c:111: warning: Function parameter or member 'max' not described in 'ad5758_range' drivers/iio/dac/ad5758.c:122: warning: Function parameter or member 'gpio_reset' not described in 'ad5758_state' drivers/iio/dac/ad5758.c:122: warning: Function parameter or member 'd32' not described in 'ad5758_state' drivers/iio/dac/ad5758.c:137: warning: cannot understand function prototype: 'enum ad5758_output_range ' Cc: Michael Hennerich Cc: Stefan Popa Signed-off-by: Lee Jones --- drivers/iio/dac/ad5758.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/iio/dac/ad5758.c b/drivers/iio/dac/ad5758.c index 475646c82b40e..c34740d2c89a1 100644 --- a/drivers/iio/dac/ad5758.c +++ b/drivers/iio/dac/ad5758.c @@ -92,24 +92,24 @@ #define AD5758_FULL_SCALE_MICRO 65535000000ULL +struct ad5758_range { + int reg; + int min; + int max; +}; + /** * struct ad5758_state - driver instance specific data * @spi: spi_device * @lock: mutex lock + * @gpio_reset: gpio descriptor for the reset line * @out_range: struct which stores the output range * @dc_dc_mode: variable which stores the mode of operation * @dc_dc_ilim: variable which stores the dc-to-dc converter current limit * @slew_time: variable which stores the target slew time * @pwr_down: variable which contains whether a channel is powered down or not - * @data: spi transfer buffers + * @d32: spi transfer buffers */ - -struct ad5758_range { - int reg; - int min; - int max; -}; - struct ad5758_state { struct spi_device *spi; struct mutex lock; @@ -122,7 +122,7 @@ struct ad5758_state { __be32 d32[3]; }; -/** +/* * Output ranges corresponding to bits [3:0] from DAC_CONFIG register * 0000: 0 V to 5 V voltage range * 0001: 0 V to 10 V voltage range From patchwork Thu Jul 16 13:59:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667629 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 752AF13B6 for ; Thu, 16 Jul 2020 14:08:01 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4C955207BC for ; Thu, 16 Jul 2020 14:08:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="TSjk+Y4U"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="rViawsa3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4C955207BC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=6OIkFisOCHgAyQtmjHbMqKOaaKThFYQZbxhUIzffySg=; b=TSjk+Y4UEi9oXm9kGIoJZJx6S ehWIlODdzLdL5QLvhwf7yenmzH4tyAiPXV/kiu8zO9HO/kfdh9fju1SBCX+20BLpYqANOsidLrwuj /3w0BzgP9u+sKKk8LIYcWktPL1hXx9LTvnCnYd5Ghu5y8Ix7BggOLPIZnCg6ydjQQD7JLO9KIYXm8 erAu4EGOlrq08b8Np9EcG6gnJ55aFibYoNhRkJfod94GB55epm//1V+E7y57A32DHWs7wjEpNvYt5 //sRI0rsh5sBIc/H9hdJiHmGtDVKD8cDBQCi66Qp2FpfbH3u2eXPnDttR+tI2yCCm6uhAmmRlgtag UBa2NL+Xg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4Vx-0000KM-Nd; Thu, 16 Jul 2020 14:05:33 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4Qd-00041s-NS for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 14:00:04 +0000 Received: by mail-wm1-x343.google.com with SMTP id g10so5414981wmc.1 for ; Thu, 16 Jul 2020 07:00:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pKASaRWXf6Jrobw8UPiL6AmNdIp32mR3nx4dwq7oKAc=; b=rViawsa3WdUpkRJOtl0hbcb351+pPz2u3LYDiLi2tj2Ho8sFnTR0UeVIzIlT4WNSe0 aWrCkXQTRZuZV62OU0aKoery/BgPcT9Cncw7J80KMSq1DT4pYfbguTpS20woVdRkCD7D LfLqYlW1iQt5zc8KOxLJksfLxvlWEH8dZyROEPD2GTgtGFUDbYEELOkcbsrRm1kGDcjn xZXAB+bzOKURjqKnKOxTlouXKBGDpyFlNoTtjtzsp3P+VW0y5iqv1PRaCNazUW9qcDjs kHKBeqZrBSSh5KF5NhI/pPFsyx5Q+cTaEC/PXB43aKMHlBq5ZtxJON+AIcuZNNtIpiYq hhxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=pKASaRWXf6Jrobw8UPiL6AmNdIp32mR3nx4dwq7oKAc=; b=X9c6f5yGBw/3eOYypQnX8bJlglAG4Ph6aDrmOrHbYucco/thExGYg5YbSIlKC4F6SR hz5CA7yyLgN0ld5FC0x1gsM8Y4xIUHnEW5oHKPrqRo4A8YuPYq0WzHySFgl3xRjpkrHl dsxiG0j64SR0Xm3kfqK2pn9tyjZN6D1HS7nH3HwwB354thrb5q+9Sxdk4OtxONqTtvdd bjUs5UuNDogjfL95R6/MrEIP4GsH68d7T3BJbJT1JzgHfw1C3g/HvW06PZVaDWcCPE3E V4dK2LvXqgszXP6uxFXT5xOfnwBKHLz4cHJztBl2LRJMg2ZBrLfFH3CuMn5HhTqe4QP5 RB9g== X-Gm-Message-State: AOAM533cLIS1OaVKjQBZu+iXciqIiD1AuzhIE5wNTYulQmm0eBwDkp5W mTOa2MJ8se7+CcDQRD4PUhm3/w== X-Google-Smtp-Source: ABdhPJxpaB51Ov3WuPfHAs0mfsQamBGiC60+2uEATqjVFq6kqZxUaJ+4h6Ae7gACMzlfdCrLLD6BHg== X-Received: by 2002:a1c:2905:: with SMTP id p5mr4712437wmp.91.1594908001865; Thu, 16 Jul 2020 07:00:01 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.07.00.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 07:00:01 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 24/30] iio: dac: ad5761: Fix kerneldoc attribute formatting for 'lock' Date: Thu, 16 Jul 2020 14:59:22 +0100 Message-Id: <20200716135928.1456727-25-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_100003_890771_D5445224 X-CRM114-Status: GOOD ( 13.16 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:343 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ricardo Ribalda , Michael Hennerich , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Liam Girdwood , Mark Brown , Lee Jones , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Kerneldoc expects attributes/parameters to be in '@*.: ' format. Fixes the following W=1 kernel build warning(s): drivers/iio/dac/ad5761.c:80: warning: Function parameter or member 'lock' not described in 'ad5761_state' Cc: Michael Hennerich Cc: Liam Girdwood Cc: Mark Brown Cc: Ricardo Ribalda Signed-off-by: Lee Jones --- drivers/iio/dac/ad5761.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/dac/ad5761.c b/drivers/iio/dac/ad5761.c index 67c4fa75c6f13..1d9d0e22d6f44 100644 --- a/drivers/iio/dac/ad5761.c +++ b/drivers/iio/dac/ad5761.c @@ -57,7 +57,7 @@ enum ad5761_supported_device_ids { * @use_intref: true when the internal voltage reference is used * @vref: actual voltage reference in mVolts * @range: output range mode used - * @lock lock to protect the data buffer during SPI ops + * @lock: lock to protect the data buffer during SPI ops * @data: cache aligned spi buffer */ struct ad5761_state { From patchwork Thu Jul 16 13:59:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667617 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0633D13B1 for ; Thu, 16 Jul 2020 14:07:52 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C49E4207BC for ; Thu, 16 Jul 2020 14:07:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="zrWOunvc"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="PUoZ+kjf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C49E4207BC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=slegCHQ2aOzbUNYCXd4sdYk7BwQJoUAU+wzj33Q9N7E=; b=zrWOunvcfeI670FvJ4qxVI0bn UMN4iWY6QI0pNfp89oW38joBdBFRLvVx07UGJQYR0+KbTz6/Pq2xLPOh/e8cuM0Nd3Z8VnHhbt0TH Ubx8maZwnN+avOuJV6NYitB4nkt+pECJbw8oNdwMLN2evzQeMS72sEfRKmXmiamB0H/ywSsnkjBju rRwOAAByOyq/6yCu5M2fonhed+7QzqgciMbdaROj1g2aJdEZLHbFgkyco6pLx9EqgRl5XTtkvpxR6 J/RUCkfRzsGgZpkdlByB83kfG2fvekzbwIc9bYBf//JBW0Dw+gh7YpSjLzfw5fbzw99DSLdi6THeD a3hqPA+CA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4W0-0000Kc-Ku; Thu, 16 Jul 2020 14:05:36 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4Qe-00042S-8K for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 14:00:05 +0000 Received: by mail-wr1-x443.google.com with SMTP id r12so7095077wrj.13 for ; Thu, 16 Jul 2020 07:00:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7Zqjbhr41mFcuxqFYTmtQRdbWtEY5mhva2FxvIlylMM=; b=PUoZ+kjfsG82Ntq8kXFJfLh56Snfmmn8k1IU3BDK0t0ulTX7ghosaJx/XI+qK/ZdZt i+oqbw0ftNTxD88caU4Y+3QKALiJNbW2x1Sfcy6KcIhCF+p6X2bO2sPN5t39nYxeOOh6 8x+ACpIeHkGsXmrJKIiOn1/noFzvRmQ4/ZeEUblFuiNFRF6HXK1aLMYZhmzv4hQQOht4 MwzHi6g7tvyX0nlNad2s1zwPH3Ckv+HptxVoBjBABU8qKfLwEIBRuWZWaMJaGa8BBj/P 8qWe635b+zu59V1K2w4uv2FpusVkJ1EjI/ZGfWz9Aq6ksWcosneBunT+r+xImyTSBThJ ylEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7Zqjbhr41mFcuxqFYTmtQRdbWtEY5mhva2FxvIlylMM=; b=S3vNH+jc6+pmtXi9VeQ9wlGrT+UdrTlzbKT6TrjtEKilsaTSLhdKJXUwjZdcR/1PNW 6pl4X0v1uCgCGm9LYlUf6bbLoYP2T0VqNJ2HHFS8iuxoTqZORQAgEuXpsAGVf+Bp5L0o EsAh5KyKGDks64VsbzXFHTyuwWbUMdqwxxrrq/StKJwmFlyduPmXmzxPN0f8yi1doI1H gNSHO9SveRZuHGF8mgfxpIvrJQDIVKw2syuwN0rgP5CaOvmmbWLqS9hzV5L7T79TqS3z KTEjPw0LOEdSCIlxPLregm8bY4iiMeI9R3PmR80XB7G8689QjMScRC0H6k4UwqX6IXqR UUag== X-Gm-Message-State: AOAM532KxdpGUxyNKAOG7b1xqwJOfhyRhdUImAnTbI8t9xQ9gals3WKH D8JtXQsCBbRN6YVbijxbmhf4Og== X-Google-Smtp-Source: ABdhPJwvMNt0x0XmHey72Trxma7/tiCQqWEKjnfToFouTqsZD0Ln5yHNxJrVKA/QTX/ZMNVd0ANjDA== X-Received: by 2002:adf:ef4d:: with SMTP id c13mr5088520wrp.315.1594908003134; Thu, 16 Jul 2020 07:00:03 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.07.00.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 07:00:02 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 25/30] iio: dac: ad5764: Fix misdocumenting and formatting error Date: Thu, 16 Jul 2020 14:59:23 +0100 Message-Id: <20200716135928.1456727-26-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_100004_417114_64FBA816 X-CRM114-Status: GOOD ( 11.50 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:443 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-iio@vger.kernel.org, Michael Hennerich , Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Attribute descriptions must match the name exactly. Kerneldoc expects attributes/parameters to be in '@*.: ' format. Fixes the following W=1 kernel build warning(s): drivers/iio/dac/ad5764.c:42: warning: Function parameter or member 'channels' not described in 'ad5764_chip_info' drivers/iio/dac/ad5764.c:67: warning: Function parameter or member 'lock' not described in 'ad5764_state' Cc: Michael Hennerich Signed-off-by: Lee Jones --- drivers/iio/dac/ad5764.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/iio/dac/ad5764.c b/drivers/iio/dac/ad5764.c index 5b0f0fe354f6b..1e16c464241c4 100644 --- a/drivers/iio/dac/ad5764.c +++ b/drivers/iio/dac/ad5764.c @@ -33,9 +33,8 @@ * struct ad5764_chip_info - chip specific information * @int_vref: Value of the internal reference voltage in uV - 0 if external * reference voltage is used - * @channel channel specification + * @channels: channel specification */ - struct ad5764_chip_info { unsigned long int_vref; const struct iio_chan_spec *channels; @@ -46,7 +45,7 @@ struct ad5764_chip_info { * @spi: spi_device * @chip_info: chip info * @vref_reg: vref supply regulators - * @lock lock to protect the data buffer during SPI ops + * @lock: lock to protect the data buffer during SPI ops * @data: spi transfer buffers */ From patchwork Thu Jul 16 13:59:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667619 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 772C113B1 for ; Thu, 16 Jul 2020 14:07:54 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4334D207BC for ; Thu, 16 Jul 2020 14:07:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="lClPdrl9"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="S/EfrnxZ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4334D207BC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Ovj9NsvU0DjLGOyN3m2Wxn0UZiuSIKrLIgxjcJ8GNfs=; b=lClPdrl9iZxRWnEFgOF2rbUt4 XgQjCgM/2D4V+JICGwKdkpjEVnrk+pirQLgci6bC8Gpp/NPgOFnVrh9VNjq5YlRKGlhtHLyjwZXmO 13xiRzSgos5O5CBSKHa1TTNayK4DawIHkEyCHWPxJWRakWnGwRmpoZireH9dLXVf4wmfgjjHS8tdJ yztrQ1ECzFw6zITcTX5QdZIo+WWnbdGd5Mp5N0NRB11hYBsv0Y3JEEuARNZ4yP9ZE9k/VYGw0oTmY WdtQTGa4xawZelx66a2VUQYqN49FbeCYIBkh4wnh6inIZpsIBQWUuFE2l6FJpcjd2St8wWivXYP2G wbDrAOjyw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4W3-0000MB-EF; Thu, 16 Jul 2020 14:05:39 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4Qf-00043I-Cm for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 14:00:06 +0000 Received: by mail-wr1-x443.google.com with SMTP id a6so7196328wrm.4 for ; Thu, 16 Jul 2020 07:00:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nXEWebe+sS+XiqWoQoRxhD9v/xPZIfBCkXrtYalx/AE=; b=S/EfrnxZYjtTtkIkqrTiVNAO5OH8CmVkGRufQpyGIg77dlImgq1h6B0imzE+9ppb0M 6HvNo8NcLmQOxsp6ag7w/kdzHmCBs96zl8c/zEgOU2ACSfiWCBalio12JP88lb93I95f RdSW/antLiyXbEPKnfErgset/xg3Xj1q/fGytgXXTvtC178ieanq6DkjBYmV54DukpI9 BUX1jhcPwI/vEm1dMhoiQlMxxjG6NChp1HKmc+74KOYiZ4nRuPqIttGsWWOOlDUJIDGz aX2dLkiI5FHZCcXmc9wk99oVxwJB+cRRo0L5je04QWne9mO7X3yQxjTwIUj1E85VfVoT btjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nXEWebe+sS+XiqWoQoRxhD9v/xPZIfBCkXrtYalx/AE=; b=QKYbEa/LDPUPH7QnrAAJfSub0PuitJvVW9y6L6iMqEaz1PUn3X62GPFWzENDGf0r+J wxRMy6w3cv7IzLRdzL6tyWbPW+9hRwR02PBM8+RPhKyHzg6vCOE4f7Dtu0CufzfVXFvm HF/QeYCyi/CaZdiVAqpp4J87YTfrMFlcHGL7YnairqqqiYhcJyehRHEkpTb9AR0a612F Sh5BrmgTVtb3kazGUPAVmFQnA8UcH+7gQiLX8bXYrcIlBP2zMlKmUh4lIn+Let7s8j30 3zx4gy4O3XnZaBEFniBcFiO5gKTqGhXSMmQ2iWfSazOngOusQh4aiaRLe6rgCNZppBBr jrmA== X-Gm-Message-State: AOAM530aII+ec5YPqYACIce9fJKWbc5dRi5aiP1lqZJE6WfKzrG2Xa/z do/aFv9qqo9vWN9j60jX02sdgQ== X-Google-Smtp-Source: ABdhPJxhU91vXkoK1eVdGWHiSEri1q4qS0BOtilZAXAQsoMS3FeyQ/3NdGqlOwnMCMBnpqIzSK5oiQ== X-Received: by 2002:adf:d084:: with SMTP id y4mr5079554wrh.161.1594908004260; Thu, 16 Jul 2020 07:00:04 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.07.00.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 07:00:03 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 26/30] iio: dac: ad5791: Complete 'struct ad5791_chip_info' documentation Date: Thu, 16 Jul 2020 14:59:24 +0100 Message-Id: <20200716135928.1456727-27-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_100005_505494_C0B13551 X-CRM114-Status: GOOD ( 10.97 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:443 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-iio@vger.kernel.org, Michael Hennerich , Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org ... and remove seemingly pointless comment. Fixes the following W=1 kernel build warning(s): drivers/iio/dac/ad5791.c:97: warning: Function parameter or member 'ctrl' not described in 'ad5791_state' drivers/iio/dac/ad5791.c:97: warning: Function parameter or member 'pwr_down_mode' not described in 'ad5791_state' drivers/iio/dac/ad5791.c:97: warning: Function parameter or member 'pwr_down' not described in 'ad5791_state' drivers/iio/dac/ad5791.c:97: warning: Function parameter or member 'data' not described in 'ad5791_state' drivers/iio/dac/ad5791.c:103: warning: cannot understand function prototype: 'enum ad5791_supported_device_ids ' Cc: Michael Hennerich Signed-off-by: Lee Jones --- drivers/iio/dac/ad5791.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/iio/dac/ad5791.c b/drivers/iio/dac/ad5791.c index 1d11f39ed0474..d8485004b1010 100644 --- a/drivers/iio/dac/ad5791.c +++ b/drivers/iio/dac/ad5791.c @@ -76,9 +76,11 @@ struct ad5791_chip_info { * @chip_info: chip model specific constants * @vref_mv: actual reference voltage used * @vref_neg_mv: voltage of the negative supply - * @pwr_down_mode current power down mode + * @ctrl: control regster cache + * @pwr_down_mode: current power down mode + * @pwr_down: true if device is powered down + * @data: spi transfer buffers */ - struct ad5791_state { struct spi_device *spi; struct regulator *reg_vdd; @@ -96,10 +98,6 @@ struct ad5791_state { } data[3] ____cacheline_aligned; }; -/** - * ad5791_supported_device_ids: - */ - enum ad5791_supported_device_ids { ID_AD5760, ID_AD5780, From patchwork Thu Jul 16 13:59:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667621 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F359A13A4 for ; Thu, 16 Jul 2020 14:07:54 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CB11E207BC for ; Thu, 16 Jul 2020 14:07:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="yYgqmFai"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ziAfVv30" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CB11E207BC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=TEtKTWWsQdCOlXlA23+vfsuXD8IPV/PuEQQNZfvEdz0=; b=yYgqmFaiPh5Jd0xsTsV6VYvZ3 CywHaB0K4hpasNUAdVqS+PFNETAHd491B704xaX2GBs5zIictyObSOo/chezcEmzBN7eGwiV0dXHG TzQcEldcvqAbuCh8ZX7exPbv6boPwfnWzP5BXBiIfHRd4E0kxup++l1NVhAE0SaWx8r2bZ+1BunFm dS4hzWoucnaSTbkceYSa0yoSDL8qOr1yBaPXf5uu2mWRmBEHOdZ3nOTOKSGuYHf7F4es69m/v+cv7 vA1+dVFgC9HJz0ZhE8TQKcDGYTMt6IvbzTu8LIvz5JI/YTfum/9P6mF4Y++3Cd/WO6ZFBHVrYdLs2 Uu63t8DsQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4W5-0000MP-O5; Thu, 16 Jul 2020 14:05:41 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4Qg-00043r-M0 for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 14:00:07 +0000 Received: by mail-wm1-x341.google.com with SMTP id f18so11700008wml.3 for ; Thu, 16 Jul 2020 07:00:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=h9Q3bTJZX3NDvreJxnZXUAz4v4ayzBXDJ3tm0mtPNPY=; b=ziAfVv30fXS8ze8sJobKL6Wnl0wB5LcRq5zYNZN7QBBRgefFsBvPnonlKcGj9LW/0s Fz7UenrYVPmXFgcF6XEJI2lPgfmp7byFmPMaRc0P8v23DRrDMHjwL55+nx4BpIOMxvXe YGUFcKGaNCuAnjQ8nNUaRlHfwr9OP2T4hPh7mxIj/qkhOjp8hMbOmW1NLsQ1q5lMN3Z6 d+3ibLeltB8dbDdNJOmHStX3p+QvjgvOBjlMOt4FLsqCFiRAy5MO7emnTiZ0c3cjo029 G9mUyJCdjavWgZ4cG7vDvrQoTSzY4qyzr9qDXhy8IiPByiEMLJbsbqpXRv7baOPJQzjY NBXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=h9Q3bTJZX3NDvreJxnZXUAz4v4ayzBXDJ3tm0mtPNPY=; b=C2eVAg1NW+UppNpi++rw1CemjmvHkEM+FU7wgxqxpsX3jAA0eoqk5TQSIwKTxIrHBV cAkYCODhuxy1eHTVPg44oDceKA0qVctRfRpnNNbgj/sHXo2N5Pznv0C5oJHlsd+pVKUg xCbRgVGujRzYQb/xlmqi/7YAyWDx4YRS+exhXqhQm8ZYbJFfYnPG+FHj3pKYFaJr7QSr 4jhulrGSKdAVzyvkaaO7nto36f3KLzeEX8VAcgHhekMQP8E90OSWumX6VNFuJa2u2a4u +5fmertKWN3iMse/H60abwUijZJ44A7reVNOi1cYokOCaUjuoPq4npibSgr2PeZGjqpF fDGA== X-Gm-Message-State: AOAM533LbfCIfIewQeMTfYd/BydnLwfZYR1zWePCorTu+1G6hFQc+FxE MAFS2QyoQjz4FMrVY/wCcazQNg== X-Google-Smtp-Source: ABdhPJybrr9cAklwujn3fxx1mowY6xGoBHDpPn3WqQCQ9G7qVh+ValpUYqPhWju9zlFPKh56e05p8Q== X-Received: by 2002:a1c:790c:: with SMTP id l12mr4442466wme.50.1594908005504; Thu, 16 Jul 2020 07:00:05 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.07.00.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 07:00:04 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 27/30] iio: light: cm32181: Fix formatting and docrot issues in cm32181_acpi_get_cpm() Date: Thu, 16 Jul 2020 14:59:25 +0100 Message-Id: <20200716135928.1456727-28-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_100006_824971_E99BDFD1 X-CRM114-Status: GOOD ( 10.87 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:341 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-iio@vger.kernel.org, Kevin Tsai , Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Fixes the following W=1 kernel build warning(s): drivers/iio/light/cm32181.c:107: warning: Function parameter or member 'dev' not described in 'cm32181_acpi_get_cpm' drivers/iio/light/cm32181.c:107: warning: Function parameter or member 'obj_name' not described in 'cm32181_acpi_get_cpm' drivers/iio/light/cm32181.c:107: warning: Function parameter or member 'values' not described in 'cm32181_acpi_get_cpm' drivers/iio/light/cm32181.c:107: warning: Function parameter or member 'count' not described in 'cm32181_acpi_get_cpm' Cc: Kevin Tsai Signed-off-by: Lee Jones --- drivers/iio/light/cm32181.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/iio/light/cm32181.c b/drivers/iio/light/cm32181.c index 160eb3f99795e..9764099faef9a 100644 --- a/drivers/iio/light/cm32181.c +++ b/drivers/iio/light/cm32181.c @@ -93,10 +93,10 @@ static int cm32181_read_als_it(struct cm32181_chip *cm32181, int *val2); #ifdef CONFIG_ACPI /** * cm32181_acpi_get_cpm() - Get CPM object from ACPI - * @client pointer of struct i2c_client. - * @obj_name pointer of ACPI object name. - * @count maximum size of return array. - * @vals pointer of array for return elements. + * @dev: pointer of struct device. + * @obj_name: pointer of ACPI object name. + * @values: pointer of array for return elements. + * @count: maximum size of return array. * * Convert ACPI CPM table to array. * From patchwork Thu Jul 16 13:59:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667627 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 14EA513A4 for ; Thu, 16 Jul 2020 14:08:01 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E192F207BC for ; Thu, 16 Jul 2020 14:08:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="dlT/CKLu"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="rWWjgp5y" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E192F207BC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Trb8n/DL0Vbmn2TcMP7sq4cLOxZzk97PqePt9VrUB24=; b=dlT/CKLuwmspXQoHrkatmr59b /dP6gkPAlBvG9B5SvlF6i5jlp2HrytNVxFzpJjytPN7WnXMD7oljYPrWyd9O38e8zMlEF3Xy8xew1 Nu1rHTtsy0gcaItmC/RitRnVLu/eYO5VHPryv5FU/nGcEb2u+gNQQXUrN2gRyJhcMw6+FJfVwiDvQ soJBIgnAfO0UE3olml2EK4jhc0Gsfytua5BRCcC2E9a4lrn5omv/Td331EcjTfx3p33GJOqc+EJj2 Fu0SPP+FqU1PjrUXWyZ7psI6nkikDqnh47jFqxeC8PvcoP9wedqKOU6Uyc5wq8wL+677sgH4AcHSQ PYYtKZZvg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4W8-0000Mc-Av; Thu, 16 Jul 2020 14:05:44 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4Qh-00044W-Hw for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 14:00:08 +0000 Received: by mail-wr1-x442.google.com with SMTP id r12so7095342wrj.13 for ; Thu, 16 Jul 2020 07:00:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Y8klAYyQO0XUjk+Uaf4FLOiJI4lE5n5MAvDNv6XD4s4=; b=rWWjgp5yi06+2DXZJxAsdNxCG5tnt2dYAi2ahRNYwJCTEx2h7BaK0uNb3OI+uFFNyh rW0mcah5d6ueSxyqHunSJApOSDMbOw8svgfMysK+ef56M57UZEWyiERgsTCLoeZ0I4dL 0i9nCcefv3Kcv3GZ0/FXR4XgsNlcllSu4RtbhWzs8ev7swk9RY1WdQxAefYUvFLdyunL im1eWm3xazGIKw8hNGzSpqXKJId1ZLKkXuk1ORJZfvGHIVF8IpAGH+iYcGDfWnAdVluG T2jmNNFhJrOgkDRBXKvZYHj46aRArO9pzKt2YQOiFuLF+8GAj9NDN7Sxbrae1ISzy+Du XLfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Y8klAYyQO0XUjk+Uaf4FLOiJI4lE5n5MAvDNv6XD4s4=; b=Tb55ZQmQWeRr5/xI4R9NDO0qB4IyS7dDmTAqvw8F2TewmyS9SmX8cZNcU5ng4SbiUZ zPi7u0Fu3M5PY8qh97lf5DKP28Y3TohmE9QlP8DeqpmUAT1qsjt2fVLiQ0/T5LgYwVUH Fo9QABaE/6HdAyO8uROyTnezMBNzbCrRIHBa2h/qwbT6Jhe+mRY7gq2fadTm7wImLlRu lDE79PGNMJNwmKeoEDYefVtjCivB0QrRqGZrEXJDjmrFglROR4O+pIJIGTieBlpH4qQG K3EItmSW78AxOjcoR60V8jNgfKDtWtw0e9CKfq/tup1ismr690nFQrOQoOCW/iJnhZGi qIfg== X-Gm-Message-State: AOAM532kz+aFN9P/iW/tR98NGAIMwXIs6GGV+Z9lrXDP2MJPNs/FWiy6 gZlsXcxvuCYdztxFG8HrcAngaQ== X-Google-Smtp-Source: ABdhPJweGCB6iQJoMayzb0bRmwsZwfnIpzosj+nfPpw9Qop4m4IZjfYVe4ImGbZKXoNiKwe+O00u3A== X-Received: by 2002:a5d:6802:: with SMTP id w2mr5036571wru.88.1594908006570; Thu, 16 Jul 2020 07:00:06 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.07.00.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 07:00:06 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 28/30] iio: magnetometer: mmc35240: Fix function header formatting Date: Thu, 16 Jul 2020 14:59:26 +0100 Message-Id: <20200716135928.1456727-29-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_100007_648339_AB70522F X-CRM114-Status: GOOD ( 11.87 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:442 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-iio@vger.kernel.org, Daniel Baluta , Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org All lines in the header must start with " *". Fixes the following W=1 kernel build warning(s): drivers/iio/magnetometer/mmc35240.c:304: warning: bad line: compensation for output value. Cc: Daniel Baluta Signed-off-by: Lee Jones --- drivers/iio/magnetometer/mmc35240.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio/magnetometer/mmc35240.c b/drivers/iio/magnetometer/mmc35240.c index 1787d656d0094..19e46b1f4ee81 100644 --- a/drivers/iio/magnetometer/mmc35240.c +++ b/drivers/iio/magnetometer/mmc35240.c @@ -300,8 +300,8 @@ static int mmc35240_read_measurement(struct mmc35240_data *data, __le16 buf[3]) } /** - * mmc35240_raw_to_mgauss - convert raw readings to milli gauss. Also apply - compensation for output value. + * mmc35240_raw_to_mgauss() - convert raw readings to milli gauss. Also apply + * compensation for output value. * * @data: device private data * @index: axis index for which we want the conversion From patchwork Thu Jul 16 13:59:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667623 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1600413B1 for ; Thu, 16 Jul 2020 14:07:59 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DF342207DD for ; Thu, 16 Jul 2020 14:07:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="LlDN7t5G"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="apJ1u6/f" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DF342207DD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=AQJxFjX3+mDzSAIlAws4Z9eTzZK27VgPyAOaLTn+rSg=; b=LlDN7t5G43ZWQcHuwOJ7Dttnn TWq8AgDGjov1e+dI8gCAD6djobMEMUsZZJCuqQHAJlrpFdbkXn8Z7ZdYneFGzlck3Qgp9sBpQ4SW5 siVJ/fcitVsqLzfWz1++XbjnhgaO+oOtzdWUjZvT9+TJPaGkWfBHXVKr63oosIonUsQ8EOi8i0ID5 I0hCN9igQLI4z0apAawdLBFYFj7vwoDYaBI9EYNKvT8ZtHdef213f7/67XMxzmskiVWYxLKjZSBYD heh0Eb1RGUhrb9CuTW9iRj63V5qBUc17De6l8/IKIEbSr4RfFmV2kR+xxe/zl/ySJwcuDJNEu83N6 uidOCqfHw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4WA-0000Mr-JZ; Thu, 16 Jul 2020 14:05:46 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4Qi-000454-QA for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 14:00:10 +0000 Received: by mail-wr1-x443.google.com with SMTP id s10so7130406wrw.12 for ; Thu, 16 Jul 2020 07:00:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YB4uXEBe5ZV1fIYVAbMMfG0chbMfovgz8MVZY4BzIb4=; b=apJ1u6/fLV5zsisO/3CfZLtBf89rOnUM3/E1nIaW8guRoktsMjTZj5vgsV/m5hc+fX eVDFfiaMEFaykLhFeV+KU0ilAx4kSXh4w3UvFa4JWehEcZmdQvzX2Q1XuFrdJ5tZ5XLD Qv8FZxZyW9rGxd7735Hmwgw73TCZx3Jj5HZFcLuudFEIXPYVeIuaMDlnDdaqta0ph1QE KCsCVlSmxyyQvBiHGKMR097EuHHWvk1wZ2BhPZW9px2WhCdAg1alQvnKZ8207dxi8xb1 roex8vcYWmf+2TcLGmWcP+e1bVB1X8AVlpWoO2JXKDgCTVR24iZ2k5OwIeM9pfeaR/C7 Uswg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YB4uXEBe5ZV1fIYVAbMMfG0chbMfovgz8MVZY4BzIb4=; b=OmNeo1mZBoLQho1PW11pc6ei9/NayhbUIjcWvG2MF9Am+do2/pS0EviW/FXohWD+rr oUG7aUsjGAs/ExRoaaowzT7GgTSPiWVgpRFssyNlNpYi7gRG1nPaQRKFXLiVCUB3WMhv chXNDm8zJJ44P+y8Zl+lc9n/PGpUPgJQb8/jgHhC8Z4xf18bkjDy7dnFaQsKwn9Ybs4s PdTx6ChQX9ztOXJHSP1I8n4fE6ihLpE+UsoO+/VCnIzFEOE2ILBWJRhd31g6XZxkcBcr BjblOYL8Heq8kM+B0V63fyRSH5Zj5U81bCWtt0sUyaSGiTK1BPc5u2S7Fjg23g4MS29v lwuw== X-Gm-Message-State: AOAM532YzBiZ3CJiYCWqhJzmalLGcehx/PvMRy949vgYFRGFcWqkkwKR hddAkMytG0c6jFBsFtZuI7rlAw== X-Google-Smtp-Source: ABdhPJxHXGiSrMDXMcitHrAlUihoFBjlD5vbqRk01ClPtaIinGTqc8/QCQ1dXJOMmq0YVKMNsV9jsw== X-Received: by 2002:a5d:484b:: with SMTP id n11mr5021487wrs.320.1594908007721; Thu, 16 Jul 2020 07:00:07 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.07.00.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 07:00:07 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 29/30] iio: imu: kmx61: Fix formatting in kerneldoc function headers Date: Thu, 16 Jul 2020 14:59:27 +0100 Message-Id: <20200716135928.1456727-30-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_100008_919960_DD2AA54C X-CRM114-Status: GOOD ( 10.53 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:443 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-iio@vger.kernel.org, Daniel Baluta , Lee Jones , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Kerneldoc expects attributes/parameters to be in '@*.: ' format. Fixes the following W=1 kernel build warning(s): drivers/iio/imu/kmx61.c:327: warning: Function parameter or member 'data' not described in 'kmx61_set_mode' drivers/iio/imu/kmx61.c:327: warning: Function parameter or member 'mode' not described in 'kmx61_set_mode' drivers/iio/imu/kmx61.c:327: warning: Function parameter or member 'device' not described in 'kmx61_set_mode' drivers/iio/imu/kmx61.c:327: warning: Function parameter or member 'update' not described in 'kmx61_set_mode' drivers/iio/imu/kmx61.c:731: warning: Function parameter or member 'data' not described in 'kmx61_set_power_state' drivers/iio/imu/kmx61.c:731: warning: Function parameter or member 'on' not described in 'kmx61_set_power_state' drivers/iio/imu/kmx61.c:731: warning: Function parameter or member 'device' not described in 'kmx61_set_power_state' Cc: Daniel Baluta Signed-off-by: Lee Jones --- drivers/iio/imu/kmx61.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/iio/imu/kmx61.c b/drivers/iio/imu/kmx61.c index e67466100aff4..d0cee2e09884d 100644 --- a/drivers/iio/imu/kmx61.c +++ b/drivers/iio/imu/kmx61.c @@ -312,10 +312,10 @@ static int kmx61_convert_wake_up_odr_to_bit(int val, int val2) /** * kmx61_set_mode() - set KMX61 device operating mode - * @data - kmx61 device private data pointer - * @mode - bitmask, indicating operating mode for @device - * @device - bitmask, indicating device for which @mode needs to be set - * @update - update stby bits stored in device's private @data + * @data: kmx61 device private data pointer + * @mode: bitmask, indicating operating mode for @device + * @device: bitmask, indicating device for which @mode needs to be set + * @update: update stby bits stored in device's private @data * * For each sensor (accelerometer/magnetometer) there are two operating modes * STANDBY and OPERATION. Neither accel nor magn can be disabled independently @@ -718,9 +718,9 @@ static int kmx61_setup_any_motion_interrupt(struct kmx61_data *data, /** * kmx61_set_power_state() - set power state for kmx61 @device - * @data - kmx61 device private pointer - * @on - power state to be set for @device - * @device - bitmask indicating device for which @on state needs to be set + * @data: kmx61 device private pointer + * @on: power state to be set for @device + * @device: bitmask indicating device for which @on state needs to be set * * Notice that when ACC power state needs to be set to ON and MAG is in * OPERATION then we know that kmx61_runtime_resume was already called From patchwork Thu Jul 16 13:59:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11667631 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7B82813B1 for ; Thu, 16 Jul 2020 14:08:02 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 52A32207BC for ; Thu, 16 Jul 2020 14:08:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="BiZCUWvs"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Dx8Pbe1u" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 52A32207BC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=b3P1eVZoO6KXVup0T6II6yVdRgYRRtnlsbenNyHLzVk=; b=BiZCUWvshG+hC+Z61MqgcGuuY nfQfojGaJzuI+GWXGBNVpO/EyoVPAs9DmUoTpxNFNCRhSH2gSCy+YiK+mrafGDgW+dUIUMyO7MIq4 Fj1ZQATrx0fdS5QFZCkWbE9AAn8JYpnFRMBMvvwf2dwszCoaH2+lZvBSfIZ7AaCyccmGNRfV4o/Kp RI+fGi/PWTYP53wrxUBatbOj8l3/qWzU/eAKyORRZobQe82G9Q2H5HHcRI+mf7YimXCxK+81ahmrf 0L5koFeyaDg66OiSrWFP56tDsEQPQ7mXgtYFH0SzJCkUkexH6k4xXXwD1ffbCipqGtcPSf06j12z6 bmFgpbn9Q==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4WD-0000N5-Mq; Thu, 16 Jul 2020 14:05:49 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jw4Qk-00045s-O2 for linux-arm-kernel@lists.infradead.org; Thu, 16 Jul 2020 14:00:15 +0000 Received: by mail-wr1-x442.google.com with SMTP id k6so7204393wrn.3 for ; Thu, 16 Jul 2020 07:00:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=WOHIdvlIidd+7p2sHDTKra83ef6B8ha7cc7/PdUBPbc=; b=Dx8Pbe1u4vM+hm4azGpSGHrCAbBXlqqYV05Tul1Kzq1JT3U54J/G6KRSVP6psj774j 7oF9rHqwtNNlwsOEGGs5GQTJ/Jah2QI/U1HMKvR9lfK3lqmU4diL84p/6v76SPvJf4pT HuqqF+xlt7X2q2iLgC2m01XLwMZcZ9D31mgL5QdP3KrF1fAFnso5wW9jhZnOlQ4jO7zw RRGiQ8SPWNA0g7vRLZJFrccsYKdCNZCW9rwOrW+T/UiuU6J28Hlk5JiwGGLP8bRatMlI RxgJ3sqhtpQdQGak2/oAX3DJ8jv+AuzlgjMdzW5aLUluWovEMlFybQWPRcDj3Hs2qVWb DJDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=WOHIdvlIidd+7p2sHDTKra83ef6B8ha7cc7/PdUBPbc=; b=ds6kgAbfSH0B0pryEbl5fMLuBQLkVd0HArAEOFh2pvNOPg56Hh9VeSJeW0Xr3lKjKY hbEiS2Mqbxis8lb4GAaW9otbLE55Il6Qdirz7Tf5dYfjLBHpx9mxJ1lolB0v+m+ua+ZA /E7NSouBKhoZhrJnFh7cMw9elZfTYD5cWKLpbQgxJ9cGyvGJ5oMPxaeIixcofybg0Jmn HxHqT3wW6R/92u2a0fIxyerHnVkdxdXQRBPdPV/bt3dasZeRKbhCFGkNPyjta6Tku8yo FVFZ1R9SiXROmolS6A8uxY0xo9sNQ1x6buK8L+lXHagawxbsDYtCa6eKafd2iNMj8+QV U6OA== X-Gm-Message-State: AOAM533cJdtLTqNRMI+BYrOYkYaa+awSZevk8I26bWqYLcUmLCSZWnpK /Y/VpnxWvIW04CTBT1jQ0ehfLQ== X-Google-Smtp-Source: ABdhPJwAX0gWGkhPX0tfMguJK7Zm8LpXZMXfhfkclKhURxrQJenM8r8bQA/v5LnHqNQaiAeripPq4A== X-Received: by 2002:adf:8521:: with SMTP id 30mr5018695wrh.238.1594908009398; Thu, 16 Jul 2020 07:00:09 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id x18sm9351001wrq.13.2020.07.16.07.00.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Jul 2020 07:00:08 -0700 (PDT) From: Lee Jones To: jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Subject: [PATCH 30/30] iio: dac: ad7303: Complete 'struct ad7303_state' doc and reorder compiler attribute Date: Thu, 16 Jul 2020 14:59:28 +0100 Message-Id: <20200716135928.1456727-31-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200716135928.1456727-1-lee.jones@linaro.org> References: <20200716135928.1456727-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200716_100010_917386_576321CD X-CRM114-Status: GOOD ( 11.77 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:442 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Hennerich , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Liam Girdwood , Mark Brown , Lee Jones , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Kerneldoc gets confused if the variable does not follow the type/attribute definitions. Fixes the following W=1 kernel build warning(s): drivers/iio/dac/ad7303.c:49: warning: Function parameter or member 'vdd_reg' not described in 'ad7303_state' drivers/iio/dac/ad7303.c:49: warning: Function parameter or member 'vref_reg' not described in 'ad7303_state' drivers/iio/dac/ad7303.c:49: warning: Function parameter or member 'lock' not described in 'ad7303_state' drivers/iio/dac/ad7303.c:49: warning: Function parameter or member '____cacheline_aligned' not described in 'ad7303_state' Cc: Michael Hennerich Cc: Liam Girdwood Cc: Mark Brown Signed-off-by: Lee Jones --- drivers/iio/dac/ad7303.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/iio/dac/ad7303.c b/drivers/iio/dac/ad7303.c index 15af8a1cce3eb..05d8dc88d4fad 100644 --- a/drivers/iio/dac/ad7303.c +++ b/drivers/iio/dac/ad7303.c @@ -29,6 +29,9 @@ * @spi: the device for this driver instance * @config: cached config register value * @dac_cache: current DAC raw value (chip does not support readback) + * @vdd_reg: reference to VDD regulator + * @vref_reg: reference to VREF regulator + * @lock: protect writes and cache updates * @data: spi transfer buffer */ @@ -45,7 +48,7 @@ struct ad7303_state { * DMA (thus cache coherency maintenance) requires the * transfer buffers to live in their own cache lines. */ - __be16 data ____cacheline_aligned; + __be16 ____cacheline_aligned data; }; static int ad7303_write(struct ad7303_state *st, unsigned int chan,