scsi: libfc: Fix some possible copy/paste issues
Fixes the following W=1 kernel build warning(s): drivers/scsi/libfc/fc_lport.c:710: warning: expecting prototype for fc_rport_enter_ready(). Prototype was for fc_lport_enter_ready() instead drivers/scsi/libfc/fc_lport.c:759: warning: expecting prototype for fc_lport_set_port_id(). Prototype was for fc_lport_set_local_id() instead drivers/scsi/libfc/fc_lport.c:1400: warning: expecting prototype for fc_rport_enter_dns(). Prototype was for fc_lport_enter_dns() instead drivers/scsi/libfc/fc_lport.c:1516: warning: expecting prototype for fc_rport_enter_fdmi(). Prototype was for fc_lport_enter_fdmi() instead drivers/scsi/libfc/fc_lport.c:1647: warning: expecting prototype for fc_rport_enter_logo(). Prototype was for fc_lport_enter_logo() instead drivers/scsi/libfc/fc_lport.c:1789: warning: expecting prototype for fc_rport_enter_flogi(). Prototype was for fc_lport_enter_flogi() instead Link: https://lore.kernel.org/r/20210303144631.3175331-27-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>
This commit is contained in:
parent
964bc8c4ad
commit
4a4db603d0
@ -703,7 +703,7 @@ static void fc_lport_disc_callback(struct fc_lport *lport,
|
||||
}
|
||||
|
||||
/**
|
||||
* fc_rport_enter_ready() - Enter the ready state and start discovery
|
||||
* fc_lport_enter_ready() - Enter the ready state and start discovery
|
||||
* @lport: The local port that is ready
|
||||
*/
|
||||
static void fc_lport_enter_ready(struct fc_lport *lport)
|
||||
@ -747,7 +747,7 @@ static void fc_lport_set_port_id(struct fc_lport *lport, u32 port_id,
|
||||
}
|
||||
|
||||
/**
|
||||
* fc_lport_set_port_id() - set the local port Port ID for point-to-multipoint
|
||||
* fc_lport_set_local_id() - set the local port Port ID for point-to-multipoint
|
||||
* @lport: The local port which will have its Port ID set.
|
||||
* @port_id: The new port ID.
|
||||
*
|
||||
@ -1393,7 +1393,7 @@ static struct fc_rport_operations fc_lport_rport_ops = {
|
||||
};
|
||||
|
||||
/**
|
||||
* fc_rport_enter_dns() - Create a fc_rport for the name server
|
||||
* fc_lport_enter_dns() - Create a fc_rport for the name server
|
||||
* @lport: The local port requesting a remote port for the name server
|
||||
*/
|
||||
static void fc_lport_enter_dns(struct fc_lport *lport)
|
||||
@ -1509,7 +1509,7 @@ static void fc_lport_enter_ms(struct fc_lport *lport, enum fc_lport_state state)
|
||||
}
|
||||
|
||||
/**
|
||||
* fc_rport_enter_fdmi() - Create a fc_rport for the management server
|
||||
* fc_lport_enter_fdmi() - Create a fc_rport for the management server
|
||||
* @lport: The local port requesting a remote port for the management server
|
||||
*/
|
||||
static void fc_lport_enter_fdmi(struct fc_lport *lport)
|
||||
@ -1640,7 +1640,7 @@ err:
|
||||
EXPORT_SYMBOL(fc_lport_logo_resp);
|
||||
|
||||
/**
|
||||
* fc_rport_enter_logo() - Logout of the fabric
|
||||
* fc_lport_enter_logo() - Logout of the fabric
|
||||
* @lport: The local port to be logged out
|
||||
*/
|
||||
static void fc_lport_enter_logo(struct fc_lport *lport)
|
||||
@ -1782,7 +1782,7 @@ err:
|
||||
EXPORT_SYMBOL(fc_lport_flogi_resp);
|
||||
|
||||
/**
|
||||
* fc_rport_enter_flogi() - Send a FLOGI request to the fabric manager
|
||||
* fc_lport_enter_flogi() - Send a FLOGI request to the fabric manager
|
||||
* @lport: Fibre Channel local port to be logged in to the fabric
|
||||
*/
|
||||
static void fc_lport_enter_flogi(struct fc_lport *lport)
|
||||
|
Loading…
Reference in New Issue
Block a user