[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <16621cab-bc00-4b9a-8688-ffa6ac20105f@gmx.de>
Date: Fri, 25 Apr 2025 00:18:05 +0200
From: Helge Deller <deller@....de>
To: Zijun Hu <zijun_hu@...oud.com>, Antonino Daplas <adaplas@...il.com>
Cc: linux-fbdev@...r.kernel.org, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org, Zijun Hu <quic_zijuhu@...cinc.com>
Subject: Re: [PATCH] fbdev/nvidiafb: Correct const string length in
nvidiafb_setup()
On 4/7/25 13:55, Zijun Hu wrote:
> From: Zijun Hu <quic_zijuhu@...cinc.com>
>
> The actual length of const string "noaccel" is 7, but the strncmp()
> branch in nvidiafb_setup() wrongly hard codes it as 6.
>
> Fix by using actual length 7 as argument of the strncmp().
>
> Signed-off-by: Zijun Hu <quic_zijuhu@...cinc.com>
> ---
> drivers/video/fbdev/nvidia/nvidia.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
applied.
Thanks!
Helge
Powered by blists - more mailing lists