Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Lee Jones and committed by
Martin K. Petersen
616f6d8d bbb2c037

+6 -5
+6 -5
drivers/scsi/megaraid/megaraid_sas_base.c
··· 485 485 return readl(&instance->reg_set->outbound_msg_0); 486 486 } 487 487 /** 488 - * megasas_clear_interrupt_xscale - Check & clear interrupt 488 + * megasas_clear_intr_xscale - Check & clear interrupt 489 489 * @instance: Adapter soft state 490 490 */ 491 491 static int ··· 668 668 } 669 669 670 670 /** 671 - * megasas_clear_interrupt_ppc - Check & clear interrupt 671 + * megasas_clear_intr_ppc - Check & clear interrupt 672 672 * @instance: Adapter soft state 673 673 */ 674 674 static int ··· 797 797 } 798 798 799 799 /** 800 - * megasas_clear_interrupt_skinny - Check & clear interrupt 800 + * megasas_clear_intr_skinny - Check & clear interrupt 801 801 * @instance: Adapter soft state 802 802 */ 803 803 static int ··· 945 945 } 946 946 947 947 /** 948 - * megasas_clear_interrupt_gen2 - Check & clear interrupt 948 + * megasas_clear_intr_gen2 - Check & clear interrupt 949 949 * @instance: Adapter soft state 950 950 */ 951 951 static int ··· 4918 4918 } 4919 4919 4920 4920 /** 4921 + * megasas_host_device_list_query 4921 4922 * dcmd.opcode - MR_DCMD_CTRL_DEVICE_LIST_GET 4922 4923 * dcmd.mbox - reserved 4923 4924 * dcmd.sge IN - ptr to return MR_HOST_DEVICE_LIST structure ··· 5196 5195 } 5197 5196 5198 5197 /** 5199 - * megasas_get_controller_info - Returns FW's controller structure 5198 + * megasas_get_ctrl_info - Returns FW's controller structure 5200 5199 * @instance: Adapter soft state 5201 5200 * 5202 5201 * Issues an internal command (DCMD) to get the FW's controller structure.