Getting the message from the kernel
Posted Jun 21, 2007 10:12 UTC (Thu) by ayeomans
In reply to: Getting the message from the kernel
Parent article: Getting the message from the kernel
Why not just do a hash function of the message string? Into (say) a 32-bit number. Any duplicate hashes could be treated as a bug and modified.
Should be a fully automatic job to scan the entire source for the printk strings to get the hash values, source file name (and line number if you wish). The catalogue could be used for translations, documentation, etc. And would not in itself create any extra work for kernel maintainers, apart from the occasional change to fix duplicate hashes.
to post comments)