warnings.pl: warn on duplicate definition instead of broken output
commit65c958d59fe6c9498c2a9309faa2531787ccab5c
authorH. Peter Anvin (Intel) <hpa@zytor.com>
Wed, 7 Aug 2019 02:28:57 +0000 (6 19:28 -0700)
committerH. Peter Anvin (Intel) <hpa@zytor.com>
Wed, 7 Aug 2019 02:28:57 +0000 (6 19:28 -0700)
tree19b085f2bc52a78d8221ab7250cc5fee42ebff08
parent873ceee29f3acd15fd9b38296b4a86d747fde187
warnings.pl: warn on duplicate definition instead of broken output

Have warnings.pl give a warning(!) message if a warning definition is
found to be duplicated, including the location of both
definitions. Much better than silently creating bogus output.

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
asm/warnings.pl