]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
scsi: fcoe: fix a typo
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 21 Jul 2019 12:50:39 +0000 (14:50 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 24 Jul 2019 02:14:06 +0000 (22:14 -0400)
#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>
drivers/scsi/fcoe/fcoe_ctlr.c
include/scsi/libfcoe.h

index 590ec8009f52e7186cfe9206f80ef8b8560effa7..1a85fe9e4b7b1b25c20a6bd253b911c4d4582f93 100644 (file)
@@ -1019,7 +1019,7 @@ static void fcoe_ctlr_recv_adv(struct fcoe_ctlr *fip, struct sk_buff *skb)
 {
        struct fcoe_fcf *fcf;
        struct fcoe_fcf new;
-       unsigned long sol_tov = msecs_to_jiffies(FCOE_CTRL_SOL_TOV);
+       unsigned long sol_tov = msecs_to_jiffies(FCOE_CTLR_SOL_TOV);
        int first = 0;
        int mtu_valid;
        int found = 0;
index c50fb297e26576bdbdcc1a6fda82f68beee6ef6d..dc14b52577f73cbaa1d558d001ab139859627f9e 100644 (file)
@@ -31,7 +31,7 @@
  * FIP tunable parameters.
  */
 #define FCOE_CTLR_START_DELAY  2000    /* mS after first adv. to choose FCF */
-#define FCOE_CTRL_SOL_TOV      2000    /* min. solicitation interval (mS) */
+#define FCOE_CTLR_SOL_TOV      2000    /* min. solicitation interval (mS) */
 #define FCOE_CTLR_FCF_LIMIT    20      /* max. number of FCF entries */
 #define FCOE_CTLR_VN2VN_LOGIN_LIMIT 3  /* max. VN2VN rport login retries */