Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0f3aab9 authored by Borislav Petkov's avatar Borislav Petkov Committed by Tomi Valkeinen
Browse files

uvesafb: Correct/simplify warning message



Streamline it a bit. No functional change.

Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Cc: Wang YanQing <udknight@gmail.com>
Cc: Michal Januszewski <spock@gentoo.org>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: linux-fbdev@vger.kernel.org
Acked-by: default avatarWang YanQing <udknight@gmail.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 9abc907e
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -819,8 +819,8 @@ static int uvesafb_vbe_init(struct fb_info *info)
	if (par->pmi_setpal || par->ypan) {
	if (par->pmi_setpal || par->ypan) {
		if (__supported_pte_mask & _PAGE_NX) {
		if (__supported_pte_mask & _PAGE_NX) {
			par->pmi_setpal = par->ypan = 0;
			par->pmi_setpal = par->ypan = 0;
			printk(KERN_WARNING "uvesafb: NX protection is actively."
			printk(KERN_WARNING "uvesafb: NX protection is active, "
				"We have better not to use the PMI.\n");
					    "better not use the PMI.\n");
		} else {
		} else {
			uvesafb_vbe_getpmi(task, par);
			uvesafb_vbe_getpmi(task, par);
		}
		}