Commit 34fe05cd authored by Zijun Hu's avatar Zijun Hu Committed by Helge Deller
Browse files

fbdev: nvidiafb: Correct const string length in nvidiafb_setup()



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: default avatarZijun Hu <quic_zijuhu@quicinc.com>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent c9b26429
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment