Message ID | 20210303144631.3175331-8-lee.jones@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a17:906:a383:0:0:0:0 with SMTP id k3csp6012838ejz; Thu, 4 Mar 2021 06:06:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJx5J29R0T1Bs+lhuakxolT3MzlzCs5nrzed8vq/uZyxT6pYRaUWS1Dgez18EBbFVJ87DxzV X-Received: by 2002:a5d:528f:: with SMTP id c15mr4296176wrv.142.1614866755154; Thu, 04 Mar 2021 06:05:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614866755; cv=none; d=google.com; s=arc-20160816; b=1ChIElzc5Uc4gQXFkUa25zEeYPaLNUm3Z704njhZshGP8kQXLe+gIsem177LXgcti4 /hx3JeV04APmu/LvXsf1B5VEcgYCmMtXl+Njn7IKiveoX5X6FIXwtYhK4anuNoC/XFDX iQc+Bx5kjCVf7MOOiDm3b9wG1bSN/oQRgkRQhCKSuc9sHPmG3bbmg4EGJr+IukEuRN28 Biegw5bzwWAezuU7Ivvt2TuFLTuA6DjltupP5viCbJ4zv7Whgcp35wraE63jk3xOfNHH WMn6TtybKyTAfTI2cAN0qakK5i4VWQZf2U4mvH9Y5ZLtAIXMIJou6/jMU8Y5DXoYK7Kl s0PQ== 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=tQl7mbrrhEKHC32TkV4fz8OFde4Lv3Zz/lWsaXzMeiU=; b=sHzTgqufszEiAxVrMEI18+8f7jDvA/Pao1RTYT3qtLzgBhtP6ofNAlTkaf1I28qz18 VPjZqfceSJtS/WRVEgQzUuGTe7xEuEnts/BJWov4oCrX5AwM7uLpmq5rOtoEXpJ2Nndj ZEOnvohckX/bjlnFZGpC6p8cQC46kJF6gaO8e0O/GsTe3oVMRr8BJKkwKdGszegmROtI mMXWv18XpCWg0Op9S3TMBd24pwEX2qzQBr7JhQ5rK0fsRyXhjIjfo2apFovmK+Vwnwmo xjfOpjBw7ARKiJSTKJ3B469ZkXOc9ybs3CcX+YpwzaVblE4ZOUZrWX8MLP7ZFtwmCty9 aLjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jP6UzxQW; 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 s24si17585739ejd.591.2021.03.04.06.05.50 for <patch@linaro.org>; Thu, 04 Mar 2021 06:05:55 -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=jP6UzxQW; 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 S1346423AbhCDAb7 (ORCPT <rfc822;patch@linaro.org>); Wed, 3 Mar 2021 19:31:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244602AbhCCOs0 (ORCPT <rfc822; linux-scsi@vger.kernel.org>); Wed, 3 Mar 2021 09:48:26 -0500 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7646AC0613E9 for <linux-scsi@vger.kernel.org>; Wed, 3 Mar 2021 06:46:50 -0800 (PST) Received: by mail-wr1-x436.google.com with SMTP id d11so23969994wrj.7 for <linux-scsi@vger.kernel.org>; Wed, 03 Mar 2021 06:46:50 -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=tQl7mbrrhEKHC32TkV4fz8OFde4Lv3Zz/lWsaXzMeiU=; b=jP6UzxQWWLZBBh1M+Mr7owpCzEHSd63thoMd19rKf62xiOl9dDBnKZ0en9mOwRrD1o Q5P5LKTT+tUTRE/6uSIHmVUWxV0qC4zUYcM7qV82ZnVZeWCeyaMAUmgJS+Vsd3ZRLjmy dZaOSh8OikJ2677ZdCplpZMPTxu91oBlWaPtHx5C+kP7XzMU+4S6k/wBms/Eg0a+tez4 ZtFpbmbSE9Ri0YK40ds52QW0yx/wBkvPWKI8jrZlMQHnDlA/FKtwaDGHOfDcjqWnPAnV WGG/5fiZMF0Nzo0Grd+wyY55Pv0wn5FP7ovMaPJOf4qwXRGaRaWRTsc9lQhdPoPz+85l TmDg== 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=tQl7mbrrhEKHC32TkV4fz8OFde4Lv3Zz/lWsaXzMeiU=; b=p2Jqn3fKYz00iwJfPV5zUzlqcdfuBJ6dp/I32nu/wQ345kpuIgPiAu6FESQwi77ICe wGdSNFs9qnPlMPAi1CN5uQcxTOq5lToZsp4jIt0kNWD+fljDBlv4FyRwcsyd6oqr5bck pv468omffBYpmdcqvnk6G3QWTaAIO+zLfSqHon8IAbL2quanAxMEGIuQfRXJ1zVnuxut StMCXkD2rLyeYpHMMQt+7sKG4U0IopKqgLQxvmN0yX8qas5I5s4Ax8FwcCLZrQaMfUBz rWClEJ5gVXXmXHgZnTwp5kqUj2kX+z32U7sNf42zJ/wZbHdJC5tbM+pNz2HPZ/b4EH+Q RZmA== X-Gm-Message-State: AOAM530yOt7KwucqsemkXf1pz2Iu9qcJrNSVamNwPqLFPg3ydxFaTU/Y I0YnYLDUUCnuaRle9D7LWSWFrQ== X-Received: by 2002:adf:a2c2:: with SMTP id t2mr27327939wra.47.1614782809025; Wed, 03 Mar 2021 06:46:49 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.46.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:46:47 -0800 (PST) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Adaptec OEM Raid Solutions <aacraid@microsemi.com>, "James E.J. Bottomley" <jejb@linux.ibm.com>, "Martin K. Petersen" <martin.petersen@oracle.com>, "PMC-Sierra, Inc" <aacraid@pmc-sierra.com>, linux-scsi@vger.kernel.org Subject: [PATCH 07/30] scsi: aacraid: aachba: Fix a few incorrectly named functions Date: Wed, 3 Mar 2021 14:46:08 +0000 Message-Id: <20210303144631.3175331-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210303144631.3175331-1-lee.jones@linaro.org> References: <20210303144631.3175331-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/aacraid/aachba.c b/drivers/scsi/aacraid/aachba.c index 4ca5e13a26a62..8e06604370c4c 100644 --- a/drivers/scsi/aacraid/aachba.c +++ b/drivers/scsi/aacraid/aachba.c @@ -786,8 +786,8 @@ static int _aac_probe_container(struct scsi_cmnd * scsicmd, int (*callback)(stru } /** - * aac_probe_container - query a logical volume - * @scsicmd: the scsi command block + * aac_probe_container_callback1 - query a logical volume + * @scsicmd: the scsi command block * * Queries the controller about the given volume. The volume information * is updated in the struct fsa_dev_info structure rather than returned. @@ -838,7 +838,7 @@ struct scsi_inq { }; /** - * InqStrCopy - string merge + * inqstrcpy - string merge * @a: string to copy from * @b: string to copy to * @@ -1804,7 +1804,7 @@ static inline void aac_free_safw_ciss_luns(struct aac_dev *dev) } /** - * aac_get_safw_ciss_luns() Process topology change + * aac_get_safw_ciss_luns() - Process topology change * @dev: aac_dev structure * * Execute a CISS REPORT PHYS LUNS and process the results into
Fixes the following W=1 kernel build warning(s): drivers/scsi/aacraid/aachba.c:796: warning: expecting prototype for aac_probe_container(). Prototype was for aac_probe_container_callback1() instead drivers/scsi/aacraid/aachba.c:850: warning: expecting prototype for InqStrCopy(). Prototype was for inqstrcpy() instead drivers/scsi/aacraid/aachba.c:1814: warning: expecting prototype for Process topology change(). Prototype was for aac_get_safw_ciss_luns() instead Cc: Adaptec OEM Raid Solutions <aacraid@microsemi.com> Cc: "James E.J. Bottomley" <jejb@linux.ibm.com> Cc: "Martin K. Petersen" <martin.petersen@oracle.com> Cc: "PMC-Sierra, Inc" <aacraid@pmc-sierra.com> Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/scsi/aacraid/aachba.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.27.0