From patchwork Wed Mar 3 14:46:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 392693 Delivered-To: patch@linaro.org Received: by 2002:a17:906:a383:0:0:0:0 with SMTP id k3csp6029011ejz; Thu, 4 Mar 2021 06:25:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJyok6jiW37roUifqjLh0c+kXUCgs1Gi5cYDFHHKu/QTXfyElJkSoDTZsA/CHeQacKcN+X0Y X-Received: by 2002:a05:6402:1545:: with SMTP id p5mr4539283edx.155.1614867933423; Thu, 04 Mar 2021 06:25:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614867933; cv=none; d=google.com; s=arc-20160816; b=gPl7KgV13K+pxZcGuToCqvApc/4gdrGtDV7NvizYjpzAIh2bmMa2pMQ3lCoLhEHhKa 1rzsw4BRxd5S1j+qvaj7D9ddXVZdOXj5tWoe4C+kfmJQFun8RMf3IKquK0rdC6nvNsvV 8D04cj8C0Tt0J5NJsqL4YqlwTbAQVbZPLIMIVybhtf9aNk2G33Qpv+vcP07nTEV6+Otu T9HnJMQUt3LMFjEyGHbY3aNbxb/M4diBvwhoLOW2w39JjCS3gD20kwAeF8w1CuEdRcJP oqDk71P/Q5CcqXwjG569N+qeX+Aj6q0DGIBolOxszVZjxXLsnPD4j2ZG/7NDBih6Hqt4 9zNg== 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=03tsdJPhWuYiSI0vJFPWzGstz88JASegtGpotthaiZA=; b=GbZ4ksakJ05pOkk1ICkst9ra0olD+/4pPSJ0ALL1QPWbWJJ2HsQZrd6l4gVMfz8C0n mfZT4zI8/C/soXZUfxx7jCsyJJPsvTOu6SKIpA3XB/Dt2nzDpHMnSuzuiAbZUaAxVZ7v 38ZjhrrPonIY6Av68tmpDSSpOdu3m3HSpYKYEK6Gy1FopbRAhHQk80RdZ2Q0UXPG8qxz hB9k4mxNTfwiD+myMpAkAwrdrOejukTwaXUoRgN06qmln3s/s1WG7Hh44R0LatAIaZwq bfMtqDzWOyK+paD2qlthdSZXOV8oKfjywCvvSb4VDy5RiZKa4YkVpylq8VrCUJuSXrWL s3Gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fxop5XSo; 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 h17si15452875edr.331.2021.03.04.06.25.33 for ; Thu, 04 Mar 2021 06:25: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=fxop5XSo; 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 S1348203AbhCDAcP (ORCPT ); Wed, 3 Mar 2021 19:32:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359542AbhCCOtN (ORCPT ); Wed, 3 Mar 2021 09:49:13 -0500 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD37AC0613AE for ; Wed, 3 Mar 2021 06:47:20 -0800 (PST) Received: by mail-wr1-x432.google.com with SMTP id e10so23731354wro.12 for ; Wed, 03 Mar 2021 06:47:20 -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=03tsdJPhWuYiSI0vJFPWzGstz88JASegtGpotthaiZA=; b=fxop5XSojvd0qLVyjl9NSYYbfO289XRBh7TnVKZ8AUP7qlQqhkVMDCsaBbmh1o8N1m IZTj/mkXgBPTbgHCOzPwMYut7OGfeTAOa9Fwj5DTRahGmahmNp885YfS+9T7Ja7hlRth gNpliWedUAWddaYJVPX+f6aJ/8Paqa0l14ml083Y4hOE8e00Ecmm1mMkd3H59Sj/zTHR BXbCWL0jp5xZpzXPR+cdCxDL9LVTlh3J/gl8lzL87CY7TVfAw+BSPInONJe5ANgh41ID PnIDFaUSnAvxuVNJe8fTyKhiz7rlJjnDXG5mrvRV8Z3OkHtwivQzK4VuzJ2CBaPKYjD5 plBA== 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=03tsdJPhWuYiSI0vJFPWzGstz88JASegtGpotthaiZA=; b=USyIMomD3LH/qmE3LC3m9kPnJqkUYlDHmjZDhZnuNGZuQ0aMX9PgDJ5g0yjRDw2rjE x1uPuC/9fb5+PYl9v8j9Mfvd4iVSXqP0W4Lynz88qxMhcvA7F2m1GjRw4aGV1qMwS35H qYVjbOvHbv3oqmizSklW0qTH19cmBRVCEJENBCDumtuo635XSrKzFRaAMdSW96sXWNQ7 gXP322HzjGlE9fzN7YCwF0EVwDzipDs7HaAHlwyfI5eCmORzc27fWlw3zzrFO6Az8ygN Q6ZqtL/jesfeyb8KZYcgvOVMdVwDW2Tak5F2xawbEY0nM7KBRLoP9ToaNu0Ztx6wlhJP CHCA== X-Gm-Message-State: AOAM530CpYb5BBcmBVhQhNvZJCdikvLNNke3SOa/rTTFfsyhACIQipce BeXLPOlk4SyNdiSLWZAh+TdeLQ== X-Received: by 2002:adf:8445:: with SMTP id 63mr28130475wrf.222.1614782839508; Wed, 03 Mar 2021 06:47:19 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.47.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:47:18 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, "James E.J. Bottomley" , "Martin K. Petersen" , Jason Yan , John Garry , "Gustavo A. R. Silva" , Luben Tuikov , linux-scsi@vger.kernel.org Subject: [PATCH 14/30] scsi: aic94xx: aic94xx_sds: Fix asd_erase_nv_sector()'s header Date: Wed, 3 Mar 2021 14:46:15 +0000 Message-Id: <20210303144631.3175331-15-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 Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/scsi/aic94xx/aic94xx_sds.c:1253: warning: expecting prototype for asd_hwi_erase_nv_sector(). Prototype was for asd_erase_nv_sector() instead Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: Jason Yan Cc: John Garry Cc: "Gustavo A. R. Silva" Cc: Luben Tuikov Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/aic94xx/aic94xx_sds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.27.0 diff --git a/drivers/scsi/aic94xx/aic94xx_sds.c b/drivers/scsi/aic94xx/aic94xx_sds.c index 105adba559a1e..297a66770260c 100644 --- a/drivers/scsi/aic94xx/aic94xx_sds.c +++ b/drivers/scsi/aic94xx/aic94xx_sds.c @@ -1244,7 +1244,7 @@ int asd_chk_write_status(struct asd_ha_struct *asd_ha, } /** - * asd_hwi_erase_nv_sector - Erase the flash memory sectors. + * asd_erase_nv_sector - Erase the flash memory sectors. * @asd_ha: pointer to the host adapter structure * @flash_addr: pointer to offset from flash memory * @size: total bytes to erase.