From 66c0702f86d8af1d01d81ae009aa2d7813912342 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com> Date: Sat, 17 Jul 2021 07:37:22 +0200 Subject: [PATCH] Fix Linux kernel coding style warning const array should probably be static const Signed-off-by: Dimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com> --- gpst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpst.c b/gpst.c index a8d4c2fe..bc61f4b1 100644 --- a/gpst.c +++ b/gpst.c @@ -687,7 +687,7 @@ static int gpst_connect(struct openconnect_info *vpninfo) { int ret; struct oc_text_buf *reqbuf; - const char start_tunnel[12] = "START_TUNNEL"; /* NOT zero-terminated */ + static const char start_tunnel[12] = "START_TUNNEL"; /* NOT zero-terminated */ char buf[256]; /* We do NOT actually start the HTTPS tunnel if ESP is enabled and we received -- 2.50.1