summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorZijun Hu <quic_zijuhu@quicinc.com>2025-04-07 19:55:20 +0800
committerHelge Deller <deller@gmx.de>2025-05-31 10:24:01 +0200
commit34fe05cd2d0f4cc625afb656469a9838f02ca59e (patch)
tree8eb7db7ea42b6b1928e058f549eb401107a9a751 /rust/helpers/helpers.c
parentc9b26429c8c7aa2836322aeab38be4254d166e02 (diff)
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: Zijun Hu <quic_zijuhu@quicinc.com> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions