提交 d1ce3d54 编写于 作者: S Sylvain 'ythier' Hitier 提交者: Dave Airlie

uvesafb: Really allow mtrr being 0, as documented and warn()ed

Fixup for commit "uvesafb: Clean up MTRR code"
    (63e28a7a)
Signed-off-by: NSylvain "ythier" Hitier <sylvain.hitier@gmail.com>
Acked-by: NAndy Lutomirski <luto@amacapital.net>
Also-spotted-by: NTorsten Kaiser <just.for.lkml@googlemail.com>
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 d4639eba
......@@ -1891,7 +1891,7 @@ static int uvesafb_setup(char *options)
}
}
if (mtrr != 3 && mtrr != 1)
if (mtrr != 3 && mtrr != 0)
pr_warn("uvesafb: mtrr should be set to 0 or 3; %d is unsupported", mtrr);
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册