Skip to content

Commit

Permalink
uvesafb: Really allow mtrr being 0, as documented and warn()ed
Browse files Browse the repository at this point in the history
Fixup for commit "uvesafb: Clean up MTRR code"
    (63e28a7)

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>
  • Loading branch information
Sylvain 'ythier' Hitier authored and Dave Airlie committed Jul 16, 2013
1 parent d4639eb commit d1ce3d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/uvesafb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d1ce3d5

Please sign in to comment.