no, the message itself is not always unique.
remember that messages are formed through printf, where you give a message format with variables and then have the variables fill in the blanks
it's not at all uncommon to see something like "error %s happened when doing %s"
depending on what the variables are filled in with you could have this happen anywhere in the kernel.
on a lot of my programs I add a number to the front of the message, even if it isn't unique it at least limits the number of places I need to look. the line and file macros mentioned above sound like exactly the right thing to use.
the main purpose of these tags is to look in the right place in the kernel, not to try and translate all possible kernel errors into multiple languages.
Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds