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> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| nv_accel.c | ||
| nv_backlight.c | ||
| nv_dma.h | ||
| nv_hw.c | ||
| nv_i2c.c | ||
| nv_local.h | ||
| nv_of.c | ||
| nv_proto.h | ||
| nv_setup.c | ||
| nv_type.h | ||
| nvidia.c | ||