From nobody Mon Feb 9 08:12:40 2026 Received: from forward206d.mail.yandex.net (forward206d.mail.yandex.net [178.154.239.215]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8A23D329370 for ; Fri, 9 Jan 2026 16:49:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.154.239.215 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767977351; cv=none; b=q0m1S8k1D3BjXJWE3Tpupr/gPbruHjQPa4gqYaLkGfKfn+coOXD6+9ShgN9YPavHdsLO2a4cRoO1oN+rdFvUpre3btpzYsFcVNv97/XhcsDQvOMY9clTbTS9wj302ifKkkAEWUQsJoVNM//8a8ejV8KWjP1K+dDx5JT5ojqFKgo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767977351; c=relaxed/simple; bh=A6grb+OppQKZApEkJ24y1QGD9fggvhGrH2JHgEOxGD8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=i8aeEMdMvI5RHsZBijjXjq7tjuMHZLjaEmo51mBoAoWVra5sPavNCER93vqDL4ST/UqKdm8ikmpdbT1pAEQK43GdLXvHO1FOmUQ6Mk4KMdRKcBoerntJcHg0CkQinyo3U885Q/RyyMmN5iw5bma2lN+yrrN3u8sZS6dJ1ClvKaA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sezginduran.net; spf=pass smtp.mailfrom=sezginduran.net; dkim=pass (1024-bit key) header.d=sezginduran.net header.i=@sezginduran.net header.b=ejRUiJ5G; arc=none smtp.client-ip=178.154.239.215 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sezginduran.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sezginduran.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=sezginduran.net header.i=@sezginduran.net header.b="ejRUiJ5G" Received: from forward101d.mail.yandex.net (forward101d.mail.yandex.net [IPv6:2a02:6b8:c41:1300:1:45:d181:d101]) by forward206d.mail.yandex.net (Yandex) with ESMTPS id 938AA80C7A for ; Fri, 09 Jan 2026 19:42:46 +0300 (MSK) Received: from mail-nwsmtp-smtp-production-main-72.iva.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-72.iva.yp-c.yandex.net [IPv6:2a02:6b8:c0c:2828:0:640:b833:0]) by forward101d.mail.yandex.net (Yandex) with ESMTPS id BFD86C0043; Fri, 09 Jan 2026 19:42:37 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-72.iva.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id VgSRCHvG6W20-wodTwsf8; Fri, 09 Jan 2026 19:42:36 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sezginduran.net; s=mail; t=1767976957; bh=NoJ07FTzRbvZ06/7cTUJi0/LrdZFibGjMHnKgQTcMgU=; h=Message-ID:Date:Cc:Subject:To:From; b=ejRUiJ5GoFhCAzhT14dZBe8PKMJ4rZmzVjiCgTFSc2OaqtPTAJbKTwSDj8lMIgBFo 8+1x5hzZme6Llj/wRETAwLqEcVK2fbIiAzR9al+FJFNCMEzBa0yrjg4Srf17N5TtqH nmHgU5CBNqg+5RlZSjNto6EWnAsTfooBD5UhZ19Q= Authentication-Results: mail-nwsmtp-smtp-production-main-72.iva.yp-c.yandex.net; dkim=pass header.i=@sezginduran.net From: Ahmet Sezgin Duran To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, ahmet@sezginduran.net Subject: [PATCH] staging: sm750fb: make g_fbmode a fixed-size mutable array Date: Fri, 9 Jan 2026 16:41:40 +0000 Message-ID: <20260109164140.11350-1-ahmet@sezginduran.net> X-Mailer: git-send-email 2.47.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" g_fbmode is modified at runtime. Use an explicit fixed-size array to avoid a misleading checkpatch warning. No functional changes. Signed-off-by: Ahmet Sezgin Duran --- drivers/staging/sm750fb/sm750.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/sm750fb/sm750.c b/drivers/staging/sm750fb/sm75= 0.c index d100b9e1d3d5..8f8feb73f61b 100644 --- a/drivers/staging/sm750fb/sm750.c +++ b/drivers/staging/sm750fb/sm750.c @@ -33,7 +33,7 @@ static int g_hwcursor =3D 1; static int g_noaccel; static int g_nomtrr; -static const char *g_fbmode[] =3D {NULL, NULL}; +static const char *g_fbmode[2] =3D {NULL, NULL}; static const char *g_def_fbmode =3D "1024x768-32@60"; static char *g_settings; static int g_dualview; --=20 2.47.3