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

From: Geert Uytterhoeven
Date: Sat Sep 29 2012 - 16:27:43 EST


On Sat, Sep 29, 2012 at 10:10 PM, Joe Perches <joe@xxxxxxxxxxx> wrote:
>> @@ -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>?

That requires adding pr_<level> to arch/um/include/shared/user.h first.
Or to avoid duplication, extracting the pr_<level> definitions from
include/linux/printk.h to a new header file, and preincluding that one for
the user part of UML, too.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
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/