From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 04DC3C433E7 for ; Thu, 16 Jul 2020 14:00:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D1F62206C1 for ; Thu, 16 Jul 2020 14:00:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="PUoZ+kjf" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729291AbgGPOAp (ORCPT ); Thu, 16 Jul 2020 10:00:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729019AbgGPOAE (ORCPT ); Thu, 16 Jul 2020 10:00:04 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67116C08C5DC for ; Thu, 16 Jul 2020 07:00:04 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id b6so7137972wrs.11 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=hrFdm2W0+Krid2FsIdsRaitK9S/1IEYUJFERd6U4/RQNzP1YvMMNExEVfz1pKfYWqE A4EKiKSWq3hE4aQPAnPdf4TZHwmJVWmFYDcGMiipFfw8PAoqkcF6A0r8uASCpL6Ay6Zc YNn+XOgTgW+9EF5e3OJKF2uNLC0muT78/PPE1nj5H0k4bJFYB0tbX8pWvmqXXyqFPa0n Xs7d6ESapNboO1qwGxAcwTBY8afIZxQ8XqlUBxDYJbiAy1a0aA+EdNEg6AWMw54L6o8G ED0bOY0GR1OS3hD/103CShBPPMQI6/b9lXUsW+XXw/6nWK07RoleUw+GOmpzK9UUXE9d DQ8g== X-Gm-Message-State: AOAM53359NdETIssIQOQgNNbtfrWn5NCRWliNTsTZFARZAmGGtqZ+Aft 9OImxYGGJRuoidqPSrpOuSsfnA== 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, Lee Jones , Michael Hennerich 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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 */ -- 2.25.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 492DCC433E4 for ; Thu, 16 Jul 2020 14:07:45 +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 E9A93207BC for ; Thu, 16 Jul 2020 14:07:44 +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 E9A93207BC 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+linux-arm-kernel=archiver.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-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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.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 */ -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel