From patchwork Fri Jun 26 13:05: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: 11627581 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 7F51313B4 for ; Fri, 26 Jun 2020 13:08:25 +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 50FEF2080C for ; Fri, 26 Jun 2020 13:08:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="pqSEf/vl"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="V7IxkQgf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 50FEF2080C 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=zl0PT9q+bZoHpMtT7SJnuDmu1meEHt2WEoiz55Zy2UI=; b=pqSEf/vltOqpZ3fXw2cSu0jGY EVPTGfmuqYlt+Vimi+Q7O7/EzQPmEJH56f55w5vmTMhMaEPTWc24VElo5HzUtww89qOiLvf8WygZj qJVjY5J3/vqXYg6aTDN9kV8jwUqTeMEfU4WzKK+HeT7ayzSNvNK902yCErA3KhzHkzZXRnpdRiTnJ hwK/ixa6mKA8yyUlVY2OklZ43doaknjHhc+VXIF7SmVeGR7lPXmraBugc7BA8LRBWsjhyavf/Yq6q VXuL0fbsfDxc3h7a1iMo9+wNnoPeIEpgu4PH+uwaVFMInpvMjsbHaSlzCzWgmeSL8d6aN7mfFK7nm InVFjjsfg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1joo3U-0002rc-JG; Fri, 26 Jun 2020 13:06:08 +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 1joo2z-0002hJ-Eg for linux-arm-kernel@lists.infradead.org; Fri, 26 Jun 2020 13:05:39 +0000 Received: by mail-wr1-x442.google.com with SMTP id s10so9408290wrw.12 for ; Fri, 26 Jun 2020 06:05: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=Z9egOal3uN/e6e9MaOrNvFSxzzJuszdkWNRmQ29ZgoU=; b=V7IxkQgf7wGz0DpEojoH/IUl8uhIPCLkWJcfgONzZXJQVqVWNiIkbffuTbRAzPsnaG 9B1MG1NxVnNlGAQ7Mb2IRUomTjwKPNYs/NNjEMEg5Ell+59PWbiub25e5fGlfIp/zm8d mkSITkB56G89qfu4DsDCxXOi8Q2tgL3PdogZGF0I5DSPiZZV4vA2RJoR60lJKfOViKoQ O7Xt6Wgb2yb9DxMOZMKMif7av87+AOB42O+/wDA2KleCph7PaR4mGo4p0BssrOUq94Ou ONN2LOo2d1+N81ZKjzCA3lxoXNmQe0K9vq4z09zwrnMSFncvknsqjTeShfjj2Rcv99s+ u/xw== 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=Z9egOal3uN/e6e9MaOrNvFSxzzJuszdkWNRmQ29ZgoU=; b=AtRP5hPwmm9/6s1nA8NVOUdz0RYdXSPdlJ2aytYYEn6jxN8fn35g/VsCefT/RU1/sr GyHydLiKFILeED5oKoF7izvHAg6vgjqJyswDMjDQwBCTJ6r26BLKp8WeRfYH0Ir0J+re uhhU//ewNoOn4kQpYgi8rD7eQkbbZM3Geb2fqMdiydj895b5iyLdnnfjXwHX7HpD+Adc XQFORHg0K71jcsXJgvzzG8JRGBOMpZUq6tDxU3PCHIP4+mU8VngJcZCONGrvUBb5BExO 6vyBKYuwO7LXfjwBkzG6Q/VtolWxzDwaIr+TeTT1ftsUkZklTuG57s8km5SokLSK0l8P Dyvw== X-Gm-Message-State: AOAM530/+3z2JM25M2lwkRbinXi4AhtCJs5BfaHoflx1s5WM9Q/0j3Fg Jw3B3gNQrgB/d4A/8ezI7TsXOQ== X-Google-Smtp-Source: ABdhPJwm4pLJby/llKlKk2pTQRstc6jX1VxdYEZilS6bFSSooSi0Sw/2PixW9k4WiLO2WnWEAkMYKw== X-Received: by 2002:a5d:51ce:: with SMTP id n14mr3716291wrv.155.1593176736454; Fri, 26 Jun 2020 06:05:36 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id u20sm16746904wmc.44.2020.06.26.06.05.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jun 2020 06:05:35 -0700 (PDT) From: Lee Jones To: arnd@arndb.de, gregkh@linuxfoundation.org Subject: [PATCH 06/10] misc: eeprom: eeprom_93cx6: Repair function arg descriptions Date: Fri, 26 Jun 2020 14:05:21 +0100 Message-Id: <20200626130525.389469-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200626130525.389469-1-lee.jones@linaro.org> References: <20200626130525.389469-1-lee.jones@linaro.org> MIME-Version: 1.0 X-Spam-Note: CRM114 invocation failed 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_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -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 Message has at least one valid DKIM or DK signature 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: Wolfram Sang , 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 Copy-paste issue. Looks like the kerneldoc style descriptions for these functions were taken from existing functions with slightly different argument names. Fixes the following W=1 warnings: drivers/misc/eeprom/eeprom_93cx6.c:239: warning: Function parameter or member 'byte' not described in 'eeprom_93cx6_readb' drivers/misc/eeprom/eeprom_93cx6.c:239: warning: Excess function parameter 'word' description in 'eeprom_93cx6_readb' drivers/misc/eeprom/eeprom_93cx6.c:280: warning: Function parameter or member 'bytes' not described in 'eeprom_93cx6_multireadb' drivers/misc/eeprom/eeprom_93cx6.c:280: warning: Excess function parameter 'words' description in 'eeprom_93cx6_multireadb' Cc: Wolfram Sang Signed-off-by: Lee Jones Acked-by: Arnd Bergmann --- drivers/misc/eeprom/eeprom_93cx6.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/eeprom/eeprom_93cx6.c b/drivers/misc/eeprom/eeprom_93cx6.c index 36a2eb837371b..9627294fe3e95 100644 --- a/drivers/misc/eeprom/eeprom_93cx6.c +++ b/drivers/misc/eeprom/eeprom_93cx6.c @@ -228,7 +228,7 @@ EXPORT_SYMBOL_GPL(eeprom_93cx6_multiread); /** * eeprom_93cx6_readb - Read a byte from eeprom * @eeprom: Pointer to eeprom structure - * @word: Byte index from where we should start reading + * @byte: Byte index from where we should start reading * @data: target pointer where the information will have to be stored * * This function will read a byte of the eeprom data @@ -270,7 +270,7 @@ EXPORT_SYMBOL_GPL(eeprom_93cx6_readb); * @eeprom: Pointer to eeprom structure * @byte: Index from where we should start reading * @data: target pointer where the information will have to be stored - * @words: Number of bytes that should be read. + * @bytes: Number of bytes that should be read. * * This function will read all requested bytes from the eeprom, * this is done by calling eeprom_93cx6_readb() multiple times.