All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] um: Fix typo in vector driver transport option definition
@ 2020-04-25  8:18 Ignat Korchagin
  2020-04-29 19:25 ` Richard Weinberger
  0 siblings, 1 reply; 2+ messages in thread
From: Ignat Korchagin @ 2020-04-25  8:18 UTC (permalink / raw)
  To: jdike, richard, anton.ivanov, linux-um; +Cc: trivial, 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 <ignat@cloudflare.com>
---
 arch/um/drivers/vector_user.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
-- 
2.20.1


_______________________________________________
linux-um mailing list
linux-um@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-um


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] um: Fix typo in vector driver transport option definition
  2020-04-25  8:18 [PATCH] um: Fix typo in vector driver transport option definition Ignat Korchagin
@ 2020-04-29 19:25 ` Richard Weinberger
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Weinberger @ 2020-04-29 19:25 UTC (permalink / raw)
  To: Ignat Korchagin
  Cc: Trivial patch monkey, Richard Weinberger, Jeff Dike, linux-um,
	Anton Ivanov

On Sat, Apr 25, 2020 at 10:19 AM Ignat Korchagin <ignat@cloudflare.com> wrote:
>
> 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>
> ---
>  arch/um/drivers/vector_user.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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)
> --

Applied, thanks!

-- 
Thanks,
//richard

_______________________________________________
linux-um mailing list
linux-um@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-um


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-29 19:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-25  8:18 [PATCH] um: Fix typo in vector driver transport option definition Ignat Korchagin
2020-04-29 19:25 ` Richard Weinberger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.