Message ID | 20210317091230.2912389-10-lee.jones@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp294335jai; Wed, 17 Mar 2021 02:13:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxleQi5z0I7z6MrBT6ErpW+7mmgH2fODBQ6t7pcED2Sqfm1xxSbIYFiFScDov0gvMz3AWeL X-Received: by 2002:a17:906:f891:: with SMTP id lg17mr34533692ejb.69.1615972413471; Wed, 17 Mar 2021 02:13:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615972413; cv=none; d=google.com; s=arc-20160816; b=G06cukrrtkr++4j7pRfcyUt8oNOzhZywK433AJO6lqcnD1nf/MEYkh35uoIrRf5ZQM Hin9Q0cc6GLw3L7qDfKue3IQ9vbqJ8qnFzTsNUbiAnIrt0pBAmwY9tAm0TKRRhx51Pko e5mCR4CKJ6PJNVnSIr4TvhziB6Ju/1H+cK3eP9CC8urg7+Cq0nXLo0vu3AFpNcFBR9rP 1QK3ofgkr8Oz0rZPK+B/x+JZhKtHLu6IAcC/8SRc7hm0z0VxmwH9LSjROYYW32/Zw5lU a83q35uP/6vi5Jyh6tfRBfejIYTzRV3lW07vnFKFDUf8Uq48gtmMjaYXCdp+VhoE3Msv 5mlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+cTXQTsH/Sbo5QzGWeCU2MjhmNBDgdRBi7pc9b8SsmM=; b=N1rE13AwCBKIMhTgxBg5SBDQxe1DuJlgmOZvYXd6gXIqQEUkodjF0TZVMob5H5KS0L HPTFf1O0bQBkJYHto5nAh83cFirXPz7OavUljiTQQ+Mdnu+gUK4MSHMJzcMUk6fkrqut 2zay7LsL1b3S/ib/0d61NulaPrD3MswDhqap7DKZoFxskbVIrXvyoo6vT8ziuW4hjzXy 6WwYSb0cNFDZ10QSCxnluNwXxygubViFAKOCQEOw92H3SRSA0Ky6Ek6E74smo51daqvf 3LeQ7sVjKsVasp20sbsL3uq8y9RlztLhNa33sQ9/Ytte37DCiFi74ng7eOU9RJfGgrEF 0B4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VYhSNkK+; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-scsi-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t15si15461864edq.164.2021.03.17.02.13.33 for <patch@linaro.org>; Wed, 17 Mar 2021 02:13:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-scsi-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=VYhSNkK+; spf=pass (google.com: domain of linux-scsi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-scsi-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 S230236AbhCQJNF (ORCPT <rfc822;patch@linaro.org>); Wed, 17 Mar 2021 05:13:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230196AbhCQJMu (ORCPT <rfc822; linux-scsi@vger.kernel.org>); Wed, 17 Mar 2021 05:12:50 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06FD8C061760 for <linux-scsi@vger.kernel.org>; Wed, 17 Mar 2021 02:12:50 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id d8-20020a1c1d080000b029010f15546281so616967wmd.4 for <linux-scsi@vger.kernel.org>; Wed, 17 Mar 2021 02:12: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=+cTXQTsH/Sbo5QzGWeCU2MjhmNBDgdRBi7pc9b8SsmM=; b=VYhSNkK+JDvxaEmc3cWAiu0oGoUR+6g+rSTKcBpFdz8wa43BR/IgIZj5E8XtoWoQpW SquXLOqc70jaB0HmeT4WGikLKxwDP4k8D4xwliE/brjI+/xnZ9hIM/juN/LNu3xw+Xnf A1Ok6qqfvoV7mRusCOcAGvafZNT3c1mIRTMmvew9G+LEtUisK+e+SfPTBDJJBCv8ZQ2e ssINX80lsZIijxEIMMtgvf9lTfLJO2j8ZVYWvHZOuLw404fiTjkOgePdQRnVsJrBHm5N TbPMQZrw798p5fPCCJkf4I4Z+oSumTsauziu0BvMYuSHs66hyMpTmkp7aKTAdEAN+nP8 OERw== 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=+cTXQTsH/Sbo5QzGWeCU2MjhmNBDgdRBi7pc9b8SsmM=; b=qH9i2yTnO9+IKGtI1O6r0DRWmGAi1rUKaBL8dLNo5D+9CShcbtijQkdY9oLfxYYyjD UtTYYsnoPogaf3wz/EGUmCWlBLM2afM1Bq3MfFtnUL5zuEIIpIcSQ581jYRj7E+cp9aV 2/FNYQ9tBImIJYWHtCJcfv3NKldXPLdQ6XcWBxBi3EJZWxEGz3vSOyNbRe8DSnSlz7/n IRKvwLLYXEcWuUPMAG/d7UWZrFTs/iaLHC8UnBwAPtjliTo+0zzDRMiiyvCAwYWA/esg H2/17xD/27BKYk/ZEax8AqB3p5xOGs3bGCLp2vB+ZwXbtlzBOj+S53UNPefPuuE0+1qp FpGw== X-Gm-Message-State: AOAM533JmX1WFcibtwew9ZclcI9PkprJJIJMffhYx3txIKTTQVKdxvvu DNSr7xz8Hb91rfyAekT7EJbn9g== X-Received: by 2002:a1c:7519:: with SMTP id o25mr2646901wmc.35.1615972368750; Wed, 17 Mar 2021 02:12:48 -0700 (PDT) Received: from dell.default ([91.110.221.194]) by smtp.gmail.com with ESMTPSA id e18sm12695886wru.73.2021.03.17.02.12.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Mar 2021 02:12:48 -0700 (PDT) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Oliver Neukum <oliver@neukum.org>, Ali Akcaagac <aliakc@web.de>, Jamie Lenehan <lenehan@twibble.org>, "James E.J. Bottomley" <jejb@linux.ibm.com>, "Martin K. Petersen" <martin.petersen@oracle.com>, "C.L. Huang" <ching@tekram.com.tw>, Erich Chen <erich@tekram.com.tw>, Kurt Garloff <garloff@suse.de>, dc395x@twibble.org, linux-scsi@vger.kernel.org Subject: [PATCH 09/36] scsi: dc395x: Fix some function param descriptions Date: Wed, 17 Mar 2021 09:12:03 +0000 Message-Id: <20210317091230.2912389-10-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210317091230.2912389-1-lee.jones@linaro.org> References: <20210317091230.2912389-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org |
Series |
Rid W=1 warnings in SCSI
|
expand
|
diff --git a/drivers/scsi/dc395x.c b/drivers/scsi/dc395x.c index e28f8931e23f8..5503230006f87 100644 --- a/drivers/scsi/dc395x.c +++ b/drivers/scsi/dc395x.c @@ -4341,8 +4341,9 @@ static void adapter_init_chip(struct AdapterCtlBlk *acb) * tables etc etc. This basically gets all adapter information all up * to date, initialised and gets the chip in sync with it. * - * @host: This hosts adapter structure + * @acb: The adapter which we are to init. * @io_port: The base I/O port + * @io_port_len: The I/O port size * @irq: IRQ * * Returns 0 if the initialization succeeds, any other value on
Fixes the following W=1 kernel build warning(s): drivers/scsi/dc395x.c:4353: warning: Function parameter or member 'acb' not described in 'adapter_init' drivers/scsi/dc395x.c:4353: warning: Function parameter or member 'io_port_len' not described in 'adapter_init' drivers/scsi/dc395x.c:4353: warning: Excess function parameter 'host' description in 'adapter_init' Cc: Oliver Neukum <oliver@neukum.org> Cc: Ali Akcaagac <aliakc@web.de> Cc: Jamie Lenehan <lenehan@twibble.org> Cc: "James E.J. Bottomley" <jejb@linux.ibm.com> Cc: "Martin K. Petersen" <martin.petersen@oracle.com> Cc: "C.L. Huang" <ching@tekram.com.tw> Cc: Erich Chen <erich@tekram.com.tw> Cc: Kurt Garloff <garloff@suse.de> Cc: dc395x@twibble.org Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/scsi/dc395x.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.27.0