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

scsi: pm8001: Provide function name and fix a misspelling

Fixes the following W=1 kernel build warning(s):

drivers/scsi/pm8001/pm8001_init.c:192: warning: expecting prototype for tasklet for 64 msi(). Prototype was for pm8001_tasklet() instead
drivers/scsi/pm8001/pm8001_init.c:872: warning: expecting prototype for pm8001_set_phy_settings_ven_117c_12Gb(). Prototype was for pm8001_set_phy_settings_ven_117c_12G() instead

Link: https://lore.kernel.org/r/20210303144631.3175331-9-lee.jones@linaro.org
Cc: Jack Wang <jinpu.wang@cloud.ionos.com>
Cc: "James E.J. Bottomley" <jejb@linux.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: Kumar Santhanam <AnandKumar.Santhanam@pmcs.com>
Cc: Sangeetha Gnanasekaran <Sangeetha.Gnanasekaran@pmcs.com>
Cc: Nikith Ganigarakoppal <Nikith.Ganigarakoppal@pmcs.com>
Cc: linux-scsi@vger.kernel.org
Acked-by: Jack Wang <jinpu.wang@cloud.ionos.com>
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
bd1050e1 a80218c7

+2 -2
+2 -2
drivers/scsi/pm8001/pm8001_init.c
··· 184 184 #ifdef PM8001_USE_TASKLET 185 185 186 186 /** 187 - * tasklet for 64 msi-x interrupt handler 187 + * pm8001_tasklet() - tasklet for 64 msi-x interrupt handler 188 188 * @opaque: the passed general host adapter struct 189 189 * Note: pm8001_tasklet is common for pm8001 & pm80xx 190 190 */ ··· 864 864 } 865 865 866 866 /** 867 - * pm8001_set_phy_settings_ven_117c_12Gb : Configure ATTO 12Gb PHY settings 867 + * pm8001_set_phy_settings_ven_117c_12G() : Configure ATTO 12Gb PHY settings 868 868 * @pm8001_ha : our adapter 869 869 */ 870 870 static