From patchwork Fri Mar 12 09:47:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 398538 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp1050715jai; Fri, 12 Mar 2021 01:49:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJwWpZrTKd/XIRQmrhRks3Zw47ZN7EyQ9THjWrrROmyLAl/6m35DKtGc/AVNtnm1LfWQsTnq X-Received: by 2002:a50:ee19:: with SMTP id g25mr13310443eds.351.1615542573187; Fri, 12 Mar 2021 01:49:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615542573; cv=none; d=google.com; s=arc-20160816; b=SqBcxSEldjtHUla5Dvb4GtEI9FehyehXxGzzATRR1fmJJa/8cqbjf6uNFQOq/i/TWM mXAcVT7g7WVPjp+t7biI8FADzOo/x///4Ac5gMZ4u5qdVCR5g4Tax37fO1Xpgp3w6EFQ pXHTHhpLfDM1Z8gp5B95tnkwPyyS/k5xi0u/aJ5hX7Y7ie0IXA19x7PJgbFQBOquvVst cPkREacd5JbGbfFdNu6xgdm7Bu5GN/qszY7JO8/SM/il3sxm3lV8jC19c8TLrPDyGE0R IOAsaEqbDEbnBqyR2kxpzPrw6GR4wSA41ijH56XM9vD5LojxUCny6GQSEawQaSRl/57U CwLQ== 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=/Ke6o4zu3Y1mMgZH32XDTQeE3CdSvHz52a/xHYynlH0=; b=ohtT0FQwcCW0QPFBxbsbzCtChzoY/5+3/nRIhY8V+nG2E7KjWaaO9cxhTqqKoQANpW WZJPdkab1lXxCwra5g/ToYk4y/rJHIAy9aHJclhpCxt2nXL1lfeM2bZw4At8W8Fl9UWG nf6+FTUmW3X7Z0GQGiwOL41XvdiiRotuwUkJUZgjC2UjpqbSMaqSgcrsnf5TRtFoPLrA FsVYfdG8FYSkLbKLaGkeJDpRyGrg9qbvxb9+KohyTcqlkD7a45kQW/25m21YyhuZCKvA cd8k4G0osLwjLf90KnNPo4AoPpH8nLJVRqOYtrVhGngihWsMm+rN2oHSgJNDEYy4dzPr VrBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OC9DBEzi; 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: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cf6si3710544ejb.272.2021.03.12.01.49.33 for ; Fri, 12 Mar 2021 01:49:33 -0800 (PST) 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=OC9DBEzi; 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 S233343AbhCLJsx (ORCPT ); Fri, 12 Mar 2021 04:48:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233151AbhCLJsZ (ORCPT ); Fri, 12 Mar 2021 04:48:25 -0500 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0989FC0613D7 for ; Fri, 12 Mar 2021 01:48:15 -0800 (PST) Received: by mail-wr1-x429.google.com with SMTP id f12so4419831wrx.8 for ; Fri, 12 Mar 2021 01:48:14 -0800 (PST) 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=/Ke6o4zu3Y1mMgZH32XDTQeE3CdSvHz52a/xHYynlH0=; b=OC9DBEziDd97rCc6RpwLUznVjblQ0eolzB8iPuqHbnfUSxb/6Qms6KQ5qz+p1oBmQw otUhqtwwQ5rZNL+UG6vunINrXd+PfdwmU8XR/wTzDd8pGrPKvn2hSEELGpm1s7gQRo5T nP/+J+8iy1BSsO4m7Db5pqkSF0oQxfOc7mflo0zQydY34SvsqVfSxRR+9K9epmzGdune fDRSrMRO6VBc7NtVfVRS1srFoYoWSMMDfc2fWGFYXe/7RgJPLkVkfd//LKS3YK4in08l znxRUkfbAxbkTjXmJyVOghF93yFsMWv/aY1Hi29jByYmAOT3kcsf66gW5axdQQKHZJDQ PiQg== 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=/Ke6o4zu3Y1mMgZH32XDTQeE3CdSvHz52a/xHYynlH0=; b=Uqg7LDy41Esh6WeovjhoTQrQsqIJ1k3Kh2dB6Hdkhas3fZqwegPAgePhg3+xrA9TVC 7R5M8Aar/U8UsTibj/1tjxXnHb9rKvCV+v7pzFZ1Hb2/ItOnRi0VMb5+aZCpWqaJc/us MgzxR1bZvtL/VPSnuSr2E4qQvTVnITRpFu1JwEXKkPt8Qu9iwikGEMrzZmQcO0ZDpKQ2 ekjp75elMYPibKxtyCTcWu/2vRf9BTk0cux9hpM2KXK5ovTq6gQsXp0Cb72mERni6a+p JoRZ/OfUqmXWj8GZLC3Y74NR9YM+oVeYsbwZximwWHqGMoR6bmLKlWvocIGdet6mMpyX 4mrA== X-Gm-Message-State: AOAM532yUkUV4aNfywEj1PYjJkivUg4axMrUUpAkAC9T56txNLOnNtB3 QKJWrgCRr38kgtdFJCvxn1Y51g== X-Received: by 2002:adf:a219:: with SMTP id p25mr13260335wra.400.1615542493724; Fri, 12 Mar 2021 01:48:13 -0800 (PST) Received: from dell.default ([91.110.221.204]) by smtp.gmail.com with ESMTPSA id f7sm1539536wmq.11.2021.03.12.01.48.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Mar 2021 01:48:13 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Oliver Neukum , Ali Akcaagac , Jamie Lenehan , "James E.J. Bottomley" , "Martin K. Petersen" , "C.L. Huang" , Erich Chen , Kurt Garloff , dc395x@twibble.org, linux-scsi@vger.kernel.org Subject: [PATCH 25/30] scsi: dc395x: Fix incorrect naming in function headers Date: Fri, 12 Mar 2021 09:47:33 +0000 Message-Id: <20210312094738.2207817-26-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210312094738.2207817-1-lee.jones@linaro.org> References: <20210312094738.2207817-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/dc395x.c:980: warning: expecting prototype for dc395x_queue_command(). Prototype was for dc395x_queue_command_lck() instead drivers/scsi/dc395x.c:4263: warning: expecting prototype for adapter_init_host(). Prototype was for adapter_init_scsi_host() instead 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: expecting prototype for init_adapter(). Prototype was for adapter_init() instead Cc: Oliver Neukum Cc: Ali Akcaagac Cc: Jamie Lenehan Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: "C.L. Huang" Cc: Erich Chen Cc: Kurt Garloff Cc: dc395x@twibble.org Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/dc395x.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.27.0 diff --git a/drivers/scsi/dc395x.c b/drivers/scsi/dc395x.c index 3ea345c124673..e28f8931e23f8 100644 --- a/drivers/scsi/dc395x.c +++ b/drivers/scsi/dc395x.c @@ -958,7 +958,7 @@ static void build_srb(struct scsi_cmnd *cmd, struct DeviceCtlBlk *dcb, /** - * dc395x_queue_command - queue scsi command passed from the mid + * dc395x_queue_command_lck - queue scsi command passed from the mid * layer, invoke 'done' on completion * * @cmd: pointer to scsi command object @@ -4248,7 +4248,7 @@ static void adapter_init_params(struct AdapterCtlBlk *acb) /** - * adapter_init_host - Initialize the scsi host instance based on + * adapter_init_scsi_host - Initialize the scsi host instance based on * values that we have already stored in the adapter instance. There's * some mention that a lot of these are deprecated, so we won't use * them (we'll use the ones in the adapter instance) but we'll fill @@ -4336,7 +4336,7 @@ static void adapter_init_chip(struct AdapterCtlBlk *acb) /** - * init_adapter - Grab the resource for the card, setup the adapter + * adapter_init - Grab the resource for the card, setup the adapter * information, set the card into a known state, create the various * tables etc etc. This basically gets all adapter information all up * to date, initialised and gets the chip in sync with it.