From patchwork Wed Mar 3 14:46:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 392712 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp78978jai; Thu, 4 Mar 2021 07:55:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJxCOYiDEB4yz8eiOfJ64EJVje4qA8S2uEF6n5NNaPk+qvz6YJu3V0fRXxfXIfASgfrEwo8n X-Received: by 2002:a17:906:789:: with SMTP id l9mr4845947ejc.161.1614873326076; Thu, 04 Mar 2021 07:55:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614873326; cv=none; d=google.com; s=arc-20160816; b=mf0MKbDQCNZOeEQG5ujYQy3mVlbm1Y4gXpUQ6a5T3DD6Zq1xeORmM7ynWl4it78Bbm /vW74FdgJ6dBpvNKTTB8qI3vzvt43ZysZ/y/KteqzO9wCfEKvh2ZXvv3vclZKcaPLrfq pdh5Hz32cxjYu1BBvB7YmKYTn23PzuCEDb5mwuFRyZd0q/kcrj5LmeJcOupKJqVlkQw0 hcgUDBOZ+AI4wjl7QoGt6uiMUufS+leTJMBqV+Nz8MxfUvveeygJLbO2AZkkqhiYIhN8 hvOE9T4ov+EjBToPftMuof4hXa+ia4jTDoFH+JDdM5w3IUKxnxH4X6Sal2fnvTxPN466 0h0Q== 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=VTZlxPdC6tOaR4YW3uOVh3ivUP3wQLpmLCn/3aAS9PY=; b=sHKWh+vUfy7gwlBLcJvRP/vrYiautjMW8z1GPR4WTLoehTtQSFGSpfaYWDr6tPNxYV M5vcvNHfhSa4PT88O0D6xVIXbaIlyF3019u7plfGBuVz9LGUH5hUIHR4AkKLLSMdWkNr YcrDia33kydLu5D8x4Yb8JKyoHZuDlYppWkIfsy/dXY12ezL40AONo3RIe9BNB8fEcnj W3Ps+yAWYdLqN0042lAKE/CP7u102QpZW9uG0kCOmmImwfteUrUOq05vvAYRwRwevXVx zVu11xZFhcHEvC6gJvPfmVL/F7UUlR2mdqaybLtZqM2iaSiGgLmdZLMSFMesqqlovCV4 wGgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fHCmsZu4; 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 n16si1970818ejr.507.2021.03.04.07.55.25 for ; Thu, 04 Mar 2021 07:55:26 -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=fHCmsZu4; 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 S1355715AbhCDAdI (ORCPT ); Wed, 3 Mar 2021 19:33:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244781AbhCCPLo (ORCPT ); Wed, 3 Mar 2021 10:11:44 -0500 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0DBCC0613DC for ; Wed, 3 Mar 2021 06:46:40 -0800 (PST) Received: by mail-wr1-x430.google.com with SMTP id h98so23950385wrh.11 for ; Wed, 03 Mar 2021 06:46:40 -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=VTZlxPdC6tOaR4YW3uOVh3ivUP3wQLpmLCn/3aAS9PY=; b=fHCmsZu4raHnHQdTB+i+6PySCzKOYbYFaifk/WckOWyAjgve29tbXBa6Be1cQrc79F ngac8XpdaE5Xc/hEzofa3UtRMpHDeMyWg2ICUo55hs/OrXdsWXl+RPwfY7SxGK43DEIB ruf2LppCaWuY4eex3GF1A2DIRzdRoU0iB5wPAbz3jXoHo6HnTmIELcLYC+FXNjexOszd imO6OZKqdmR9vNwMrfiYslj570x1ajiD8NrE7bGNw3cbBAbVxxV4IGh+2NW83K8poJwu fExiuIhrUERigsEzlhnAItndOI0rU2shY/RBOczE/4U00yrLbWMuwAtg9RbeZSF8lG5m biHQ== 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=VTZlxPdC6tOaR4YW3uOVh3ivUP3wQLpmLCn/3aAS9PY=; b=uP3B85Mtt/RUD51w5qz6YbGzjU+jeK25oETA96yYEdXyIIsr4POsn6do6igFPlUX7Q vvv8+Q1NmN1E+f/3+wgwHR3+5I5KnVBIMFtC2LbHvKofpYr+XG8Gqj09jcU8WSt8zKDw MNzI2Zffcp63jq8I710IEkrL/n8UpLX2AK1Toim1XlymySTnt9pTG+xbdBO+BZedQBO8 GcuSllWqu5NARolPODk9uA8KvitGSbGhfVvtRg9VMaSh9ORj8NwUo5FE0LEWJZ+S/HyU lxmhJl+t33t0s70squTrbco2GpkdYvdG7FP5zlFzfiorSrfJJ/+sroCwV5YUzEnO4uxf G1XA== X-Gm-Message-State: AOAM5303Z7r/9B8GLajQvC3nirRhm4cXDihB+Y0xa8Nti8Esa9oY9OGa 9daywWXBE8F58SQlEJkCEOQ/bg== X-Received: by 2002:adf:a2d3:: with SMTP id t19mr27314761wra.299.1614782799353; Wed, 03 Mar 2021 06:46:39 -0800 (PST) Received: from dell.default ([91.110.221.155]) by smtp.gmail.com with ESMTPSA id a14sm36567233wrg.84.2021.03.03.06.46.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Mar 2021 06:46:38 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Kashyap Desai , Sumit Saxena , Shivasharan S , "James E.J. Bottomley" , "Martin K. Petersen" , megaraidlinux.pdl@broadcom.com, linux-scsi@vger.kernel.org Subject: [PATCH 02/30] scsi: megaraid: megaraid_sas_base: Fix a bunch of misnamed functions in their headers Date: Wed, 3 Mar 2021 14:46:03 +0000 Message-Id: <20210303144631.3175331-3-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/megaraid/megaraid_sas_base.c:483: warning: expecting prototype for megasas_clear_interrupt_xscale(). Prototype was for megasas_clear_intr_xscale() instead drivers/scsi/megaraid/megaraid_sas_base.c:666: warning: expecting prototype for megasas_clear_interrupt_ppc(). Prototype was for megasas_clear_intr_ppc() instead drivers/scsi/megaraid/megaraid_sas_base.c:795: warning: expecting prototype for megasas_clear_interrupt_skinny(). Prototype was for megasas_clear_intr_skinny() instead drivers/scsi/megaraid/megaraid_sas_base.c:943: warning: expecting prototype for megasas_clear_interrupt_gen2(). Prototype was for megasas_clear_intr_gen2() instead drivers/scsi/megaraid/megaraid_sas_base.c:4902: warning: expecting prototype for opcode(). Prototype was for megasas_host_device_list_query() instead drivers/scsi/megaraid/megaraid_sas_base.c:5173: warning: expecting prototype for megasas_get_controller_info(). Prototype was for megasas_get_ctrl_info() instead Cc: Kashyap Desai Cc: Sumit Saxena Cc: Shivasharan S Cc: "James E.J. Bottomley" Cc: "Martin K. Petersen" Cc: megaraidlinux.pdl@broadcom.com Cc: linux-scsi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/scsi/megaraid/megaraid_sas_base.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) -- 2.27.0 diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c index 63a4f48bdc755..7f5fb714347e3 100644 --- a/drivers/scsi/megaraid/megaraid_sas_base.c +++ b/drivers/scsi/megaraid/megaraid_sas_base.c @@ -475,7 +475,7 @@ megasas_read_fw_status_reg_xscale(struct megasas_instance *instance) return readl(&instance->reg_set->outbound_msg_0); } /** - * megasas_clear_interrupt_xscale - Check & clear interrupt + * megasas_clear_intr_xscale - Check & clear interrupt * @instance: Adapter soft state */ static int @@ -658,7 +658,7 @@ megasas_read_fw_status_reg_ppc(struct megasas_instance *instance) } /** - * megasas_clear_interrupt_ppc - Check & clear interrupt + * megasas_clear_intr_ppc - Check & clear interrupt * @instance: Adapter soft state */ static int @@ -787,7 +787,7 @@ megasas_read_fw_status_reg_skinny(struct megasas_instance *instance) } /** - * megasas_clear_interrupt_skinny - Check & clear interrupt + * megasas_clear_intr_skinny - Check & clear interrupt * @instance: Adapter soft state */ static int @@ -935,7 +935,7 @@ megasas_read_fw_status_reg_gen2(struct megasas_instance *instance) } /** - * megasas_clear_interrupt_gen2 - Check & clear interrupt + * megasas_clear_intr_gen2 - Check & clear interrupt * @instance: Adapter soft state */ static int @@ -4884,6 +4884,7 @@ megasas_ld_list_query(struct megasas_instance *instance, u8 query_type) } /** + * megasas_host_device_list_query * dcmd.opcode - MR_DCMD_CTRL_DEVICE_LIST_GET * dcmd.mbox - reserved * dcmd.sge IN - ptr to return MR_HOST_DEVICE_LIST structure @@ -5161,7 +5162,7 @@ void megasas_get_snapdump_properties(struct megasas_instance *instance) } /** - * megasas_get_controller_info - Returns FW's controller structure + * megasas_get_ctrl_info - Returns FW's controller structure * @instance: Adapter soft state * * Issues an internal command (DCMD) to get the FW's controller structure.