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>
                        flatpanel = 1;
                } else if (!strncmp(this_opt, "hwcur", 5)) {
                        hwcur = 1;
-               } else if (!strncmp(this_opt, "noaccel", 6)) {
+               } else if (!strncmp(this_opt, "noaccel", 7)) {
                        noaccel = 1;
                } else if (!strncmp(this_opt, "noscale", 7)) {
                        noscale = 1;