Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

Fixup for commit "uvesafb: Clean up MTRR code"
(63e28a7a5ffce59b645ca9cbcc01e1e8be56bd75)

Signed-off-by: Sylvain "ythier" Hitier <sylvain.hitier@gmail.com>
Acked-by: Andy Lutomirski <luto@amacapital.net>
Also-spotted-by: Torsten Kaiser <just.for.lkml@googlemail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>

authored by

Sylvain 'ythier' Hitier and committed by
Dave Airlie
d1ce3d54 d4639eba

+1 -1
+1 -1
drivers/video/uvesafb.c
··· 1891 1891 } 1892 1892 } 1893 1893 1894 - if (mtrr != 3 && mtrr != 1) 1894 + if (mtrr != 3 && mtrr != 0) 1895 1895 pr_warn("uvesafb: mtrr should be set to 0 or 3; %d is unsupported", mtrr); 1896 1896 1897 1897 return 0;