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

scsi: fcoe: Fix a couple of incorrectly named functions

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

drivers/scsi/fcoe/fcoe_ctlr.c:1314: warning: expecting prototype for fcoe_ctlr_recv_els(). Prototype was for fcoe_ctlr_recv_clr_vlink() instead
drivers/scsi/fcoe/fcoe_ctlr.c:2963: warning: expecting prototype for fcoe_ctlr_vlan_disk_reply(). Prototype was for fcoe_ctlr_vlan_disc_reply() instead

Link: https://lore.kernel.org/r/20210303144631.3175331-6-lee.jones@linaro.org
Cc: Hannes Reinecke <hare@suse.de>
Cc: "James E.J. Bottomley" <jejb@linux.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.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
dc173575 d4f5ae21

+2 -2
+2 -2
drivers/scsi/fcoe/fcoe_ctlr.c
··· 1302 1302 } 1303 1303 1304 1304 /** 1305 - * fcoe_ctlr_recv_els() - Handle an incoming link reset frame 1305 + * fcoe_ctlr_recv_clr_vlink() - Handle an incoming link reset frame 1306 1306 * @fip: The FCoE controller that received the frame 1307 1307 * @skb: The received FIP packet 1308 1308 * ··· 2952 2952 } 2953 2953 2954 2954 /** 2955 - * fcoe_ctlr_vlan_disk_reply() - send FIP VLAN Discovery Notification. 2955 + * fcoe_ctlr_vlan_disc_reply() - send FIP VLAN Discovery Notification. 2956 2956 * @fip: The FCoE controller 2957 2957 * @frport: The newly-parsed FCoE rport from the Discovery Request 2958 2958 *