um: Fix typo in vector driver transport option definition
PATCH 1/1 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 <[email protected]>
--- arch/um/drivers/vector_user.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/um/drivers/vector_user.h +1 -1
@@ -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)
Signature · 7 lines
2.20.1 _______________________________________________ linux-um mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-um
Richard Weinberger
AppliedQuoted 14 lines · Ignat Korchagin
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 <[email protected]>--- arch/um/drivers/vector_user.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/um/drivers/vector_user.h +0
-0
arch/um/drivers/vector_user.h
Quoted 9 lines
arch/um/drivers/vector_user.h +1
-2@@ -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) --
Applied, thanks!
Signature · 7 lines
Thanks, //richard _______________________________________________ linux-um mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-um