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: 12134145 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 D71A7C2BA12 for ; Fri, 12 Mar 2021 09:49:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B2D3D64F00 for ; Fri, 12 Mar 2021 09:49:06 +0000 (UTC) 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-Google-Smtp-Source: ABdhPJwU10xDuswdcd0DJBB5bvQSHdp/5A3psb+ZircGEGbMDgJgvyr1CuBMNGbkVeqx176K6nfv5w== 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(-) 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.