Skip to content

Commit 5523ca8

Browse files
tititiou36martinkpetersen
authored andcommitted
scsi: fcoe: fix a typo
#define relative to FCOE CTLR start with FCOE_CTLR, except FCOE_CTRL_SOL_TOV. This is likely a typo and CTRL should be CTLR here as well. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent e45ab43 commit 5523ca8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/scsi/fcoe/fcoe_ctlr.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1019,7 +1019,7 @@ static void fcoe_ctlr_recv_adv(struct fcoe_ctlr *fip, struct sk_buff *skb)
10191019
{
10201020
struct fcoe_fcf *fcf;
10211021
struct fcoe_fcf new;
1022-
unsigned long sol_tov = msecs_to_jiffies(FCOE_CTRL_SOL_TOV);
1022+
unsigned long sol_tov = msecs_to_jiffies(FCOE_CTLR_SOL_TOV);
10231023
int first = 0;
10241024
int mtu_valid;
10251025
int found = 0;

‎include/scsi/libfcoe.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* FIP tunable parameters.
3232
*/
3333
#define FCOE_CTLR_START_DELAY 2000 /* mS after first adv. to choose FCF */
34-
#define FCOE_CTRL_SOL_TOV 2000 /* min. solicitation interval (mS) */
34+
#define FCOE_CTLR_SOL_TOV 2000 /* min. solicitation interval (mS) */
3535
#define FCOE_CTLR_FCF_LIMIT 20 /* max. number of FCF entries */
3636
#define FCOE_CTLR_VN2VN_LOGIN_LIMIT 3 /* max. VN2VN rport login retries */
3737

0 commit comments

Comments
 (0)