Re: [PATCH 2/4] arch/um/os-Linux: Drop UM_ prefix from printk()level specifiers

From: Joe Perches
Date: Sat Sep 29 2012 - 16:10:32 EST


On Sat, 2012-09-29 at 19:07 +0200, Geert Uytterhoeven wrote:
> Since commit 9429ec96c2718c0d1e3317cf60a87a0405223814 ("um: Preinclude
> include/linux/kern_levels.h") the non-prefixed printk() level specifiers
> are usable for the user parts of UML.

Thanks here too.

> diff --git a/arch/um/os-Linux/aio.c b/arch/um/os-Linux/aio.c
[]
> @@ -88,7 +88,7 @@ static int do_aio(aio_context_t ctx, enum aio_type type, int fd, char *buf,
> iocbp->aio_nbytes = sizeof(c);
> break;
> default:
> - printk(UM_KERN_ERR "Bogus op in do_aio - %d\n", type);
> + printk(KERN_ERR "Bogus op in do_aio - %d\n", type);

Maybe a follow-on patch to convert these to pr_<level>?


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/