Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp552912ybt; Fri, 26 Jun 2020 06:06:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2FQ7R+nVdur3XhUNYu7jb+O5TjKgVY7Cz5Ze3jhEX9G87X/K5cZ0ZCToRYAjcgSLT92Km X-Received: by 2002:a17:906:254f:: with SMTP id j15mr2421984ejb.162.1593176812973; Fri, 26 Jun 2020 06:06:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593176812; cv=none; d=google.com; s=arc-20160816; b=Dl2teYrGbZRwjvVZyIaok1PFA91yUtIuSZf5KtQoS1RM8uFVOhC1eQB+BDace84VfH xt2tJUHy+h9jF0mVi1Ekt4P38UeYPlr+7Z1PF+0i7AiJc2s7N8TiJLLqxYej3iYBXqaJ K54zjaRlT0HcVG1FO4jgJRXSFrJ83cQNqH4QX46O31ANDA1+LN1wPd186xSo0PBVtvNY XMbwtPivIi+rBJiCzZhEdEpXUUAWE7lntdJC4NRCQVQrmKvzvhr9T8Y0mkMvibYCTLIK 8tm2zwFiVeElCCptJkwxflPzcNMQBDHaGWxzXKVpb3cLJNPtzZBOArXFVH2S6EDAckfq 9NWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Z9egOal3uN/e6e9MaOrNvFSxzzJuszdkWNRmQ29ZgoU=; b=Y/ViMpk3liYcT7Za4oD2caVrQ8yOv8teAMZ5J5VWUQLRP83tQxnYX26Eisu0NY3Edh Bo9d5yGJLLLoajo/CI0D+T6Zoh5WPHYWNM8zurNlD59L9XDi4i6IsVDHXUg46+zCUWuw tndweeFSt1bZjO8mtThCrFlAjAeQ5HasDevMG6CJVKm0jeDhkxSBDhj2ZeOk752QelJQ 5BHEfTsovElMHQzeWRAdO/z7O1wSpDC0aat66DvToGHCFD56KL8VlDwQOAmYLBVIQ6TG UY6kdhdjNkn6IoRZ84eXkc3dslus/FUosvdSV3Q0j2nsm4/1Hk4CEMBl7z+0m0RJSygL I5Pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V7IxkQgf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l12si9960497edq.180.2020.06.26.06.06.05; Fri, 26 Jun 2020 06:06:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V7IxkQgf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728146AbgFZNFm (ORCPT + 99 others); Fri, 26 Jun 2020 09:05:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728069AbgFZNFi (ORCPT ); Fri, 26 Jun 2020 09:05:38 -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 B05FFC08C5DC for ; Fri, 26 Jun 2020 06:05:37 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id b6so9419998wrs.11 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=LE9aL4Y5I4cd6zg+ZURzf5IOG9CG90U1tod1v36/2QOMnE9aQhN3OqpLSHZex4baCL buH0diqmaFEq/ArpHGQVN4MSP0b1PMjC1HBxCO16x5OwjMpVw2ge5Uq73mcmRHZuqme6 Ip1izRLoLNjOSrFNR9SWAJfJ3sJrY6M6kxTZEoJ+sFKITtr9Osol7MMmUx3sL6bm+Nnw DQfowyVIvH+3z/4rdpqb+ChJ3ml362Oqx5HmDnyT/WQ+2qIKTF7tS0/UKEH791dyFLNC +XQ/ohcRYWHHa95gSZk2coEAbiFN60BIdUUE1YP3P84JhAKx8cscloqzn1yY7oQSYtel 1hjQ== X-Gm-Message-State: AOAM531Q66RwsSDt/UwtD39dhbOC2hDhqFusQ+vZtOZksICDYCtmwlwm c+znfIKxCbi/1Ex1j2bqK6AieQ== 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 Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Lee Jones , Wolfram Sang 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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 --- 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. -- 2.25.1