summaryrefslogtreecommitdiff
path: root/arch/um
diff options
context:
space:
mode:
authorIgnat Korchagin <ignat@cloudflare.com>2020-04-25 11:18:42 +0300
committerRichard Weinberger <richard@nod.at>2020-04-29 22:22:15 +0300
commit2e27d33d22afa3d12746f854d6a4fad7ad7b86de (patch)
tree7dd7e4b049ff7046f3cd9782d1eefa15a447505a /arch/um
parente6da5df0eefc0ff5c48aba29157d738888b214e1 (diff)
downloadlinux-2e27d33d22afa3d12746f854d6a4fad7ad7b86de.tar.xz
um: Fix typo in vector driver transport option definition
No big problem as "raw" and "gre" have the same length, but could go wrong if they don't in the future. Signed-off-by: Ignat Korchagin <ignat@cloudflare.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/drivers/vector_user.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/vector_user.h b/arch/um/drivers/vector_user.h
index 91f35b266aba..d29d5fdd98fa 100644
--- a/arch/um/drivers/vector_user.h
+++ b/arch/um/drivers/vector_user.h
@@ -17,7 +17,7 @@
#define TRANS_TAP_LEN strlen(TRANS_TAP)
#define TRANS_GRE "gre"
-#define TRANS_GRE_LEN strlen(TRANS_RAW)
+#define TRANS_GRE_LEN strlen(TRANS_GRE)
#define TRANS_L2TPV3 "l2tpv3"
#define TRANS_L2TPV3_LEN strlen(TRANS_L2TPV3)