summaryrefslogtreecommitdiffstats
path: root/arch/um/drivers
diff options
context:
space:
mode:
authorIgnat Korchagin <ignat@cloudflare.com>2020-04-25 09:18:42 +0100
committerRichard Weinberger <richard@nod.at>2020-04-29 21:22:15 +0200
commit2e27d33d22afa3d12746f854d6a4fad7ad7b86de (patch)
tree7dd7e4b049ff7046f3cd9782d1eefa15a447505a /arch/um/drivers
parente6da5df0eefc0ff5c48aba29157d738888b214e1 (diff)
downloadlinux-stable-2e27d33d22afa3d12746f854d6a4fad7ad7b86de.tar.gz
linux-stable-2e27d33d22afa3d12746f854d6a4fad7ad7b86de.tar.bz2
linux-stable-2e27d33d22afa3d12746f854d6a4fad7ad7b86de.zip
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/drivers')
-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)