uvesafb: Correct/simplify warning message

Streamline it a bit. No functional change.

Signed-off-by: Borislav Petkov <[email protected]>
Cc: Wang YanQing <[email protected]>
Cc: Michal Januszewski <[email protected]>
Cc: Florian Tobias Schandinat <[email protected]>
Cc: [email protected]
Acked-by: Wang YanQing <[email protected]>
Signed-off-by: Tomi Valkeinen <[email protected]>
This commit is contained in:
Borislav Petkov 2013-04-19 16:05:25 +02:00 • committed by Tomi Valkeinen
commit e0f3aab910

View file

@ -819,8 +819,8 @@ static int uvesafb_vbe_init(struct fb_info *info)
if (par->pmi_setpal || par->ypan) {
if (__supported_pte_mask & _PAGE_NX) {
par->pmi_setpal = par->ypan = 0;
printk(KERN_WARNING "uvesafb: NX protection is actively."
"We have better not to use the PMI.\n");
printk(KERN_WARNING "uvesafb: NX protection is active, "
"better not use the PMI.\n");
} else {
uvesafb_vbe_getpmi(task, par);
}