Re: [RFC/PATCH] Documentation of kernel messages
- From: Pavel Machek <pavel@xxxxxx>
- Date: Mon, 18 Jun 2007 16:02:05 +0200
Hi!
'lp%d: on fire' -> 'your printer failed basic tests, you should check
cabling'.
Hmmm... What about extracting all format strings from the KMSG_DOC
macros and storing them in a file. E.g.:
printk("lp%d: on fire");
/**
* message
*
* Description:
* Your printer failed basic tests, you should check cabling
...
KMSG_DOC(lp, "lp%d: on fire");
Yes, that was the idea. But we have already tools and standard format
for this (gettext), we should just use that.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
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/
- References:
- [RFC/PATCH] Documentation of kernel messages
- From: holzheu
- Re: [RFC/PATCH] Documentation of kernel messages
- From: Andrew Morton
- Re: [RFC/PATCH] Documentation of kernel messages
- From: Jan Kara
- Re: [RFC/PATCH] Documentation of kernel messages
- From: Pavel Machek
- Re: [RFC/PATCH] Documentation of kernel messages
- From: holzheu
- [RFC/PATCH] Documentation of kernel messages
- Prev by Date: Re: [patch] use __asm__ and __volatile__ in asm-x86_64/msr.h
- Next by Date: Re: Versioning file system
- Previous by thread: Re: [RFC/PATCH] Documentation of kernel messages
- Next by thread: Documentation of kernel messages (Summary)
- Index(es):