fcoe: use enum for fip_mode
The FIP mode is independent on the FIP state machine, so use a separate enum for that instead of overloading it with state machine values. Signed-off-by: Hannes Reinecke <hare@suse.com> Acked-by: Johannes Thumshirn <jth@kernel.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:

gecommit door
Martin K. Petersen

bovenliggende
6a551c1132
commit
1917d42d14
@@ -2864,7 +2864,7 @@ unlock:
|
||||
* when nothing is happening.
|
||||
*/
|
||||
static void fcoe_ctlr_mode_set(struct fc_lport *lport, struct fcoe_ctlr *fip,
|
||||
enum fip_state fip_mode)
|
||||
enum fip_mode fip_mode)
|
||||
{
|
||||
void *priv;
|
||||
|
||||
|
Verwijs in nieuw issue
Block a user