Commit 616f6d8d authored by Lee Jones's avatar Lee Jones Committed by Martin K. Petersen

scsi: megaraid_sas: Fix a bunch of misnamed functions in their headers

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

Link: https://lore.kernel.org/r/20210303144631.3175331-3-lee.jones@linaro.org
Cc: Kashyap Desai <kashyap.desai@broadcom.com>
Cc: Sumit Saxena <sumit.saxena@broadcom.com>
Cc: Shivasharan S <shivasharan.srikanteshwara@broadcom.com>
Cc: "James E.J. Bottomley" <jejb@linux.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: megaraidlinux.pdl@broadcom.com
Cc: linux-scsi@vger.kernel.org
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent bbb2c037
...@@ -485,7 +485,7 @@ megasas_read_fw_status_reg_xscale(struct megasas_instance *instance) ...@@ -485,7 +485,7 @@ megasas_read_fw_status_reg_xscale(struct megasas_instance *instance)
return readl(&instance->reg_set->outbound_msg_0); 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 * @instance: Adapter soft state
*/ */
static int static int
...@@ -668,7 +668,7 @@ megasas_read_fw_status_reg_ppc(struct megasas_instance *instance) ...@@ -668,7 +668,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 * @instance: Adapter soft state
*/ */
static int static int
...@@ -797,7 +797,7 @@ megasas_read_fw_status_reg_skinny(struct megasas_instance *instance) ...@@ -797,7 +797,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 * @instance: Adapter soft state
*/ */
static int static int
...@@ -945,7 +945,7 @@ megasas_read_fw_status_reg_gen2(struct megasas_instance *instance) ...@@ -945,7 +945,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 * @instance: Adapter soft state
*/ */
static int static int
...@@ -4918,6 +4918,7 @@ megasas_ld_list_query(struct megasas_instance *instance, u8 query_type) ...@@ -4918,6 +4918,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.opcode - MR_DCMD_CTRL_DEVICE_LIST_GET
* dcmd.mbox - reserved * dcmd.mbox - reserved
* dcmd.sge IN - ptr to return MR_HOST_DEVICE_LIST structure * dcmd.sge IN - ptr to return MR_HOST_DEVICE_LIST structure
...@@ -5195,7 +5196,7 @@ void megasas_get_snapdump_properties(struct megasas_instance *instance) ...@@ -5195,7 +5196,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 * @instance: Adapter soft state
* *
* Issues an internal command (DCMD) to get the FW's controller structure. * Issues an internal command (DCMD) to get the FW's controller structure.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment