From: Dimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com> Date: Sat, 17 Jul 2021 05:37:22 +0000 (+0200) Subject: Fix Linux kernel coding style warning X-Git-Tag: v8.20~98^2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=66c0702f86d8af1d01d81ae009aa2d7813912342;p=users%2Fdwmw2%2Fopenconnect.git Fix Linux kernel coding style warning const array should probably be static const Signed-off-by: Dimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com> --- 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