On 4/7/25 13:55, Zijun Hu wrote:
From: Zijun Hu <quic_zij...@quicinc.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_zij...@quicinc.com>
---
  drivers/video/fbdev/nvidia/nvidia.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

applied.

Thanks!
Helge

Reply via email to