asm/error.c: handle warning "all" correctly
commit12df4dd12f530f11e147a59be846c0453e79bb0c
authorH. Peter Anvin (Intel) <hpa@zytor.com>
Thu, 4 Jun 2020 22:46:31 +0000 (4 15:46 -0700)
committerH. Peter Anvin (Intel) <hpa@zytor.com>
Thu, 4 Jun 2020 22:59:47 +0000 (4 15:59 -0700)
treed1eecd21c001611ebdc517bb02d3248811070435
parentb1ef4345a94cd8d3137e0c49870cf27839cfe102
asm/error.c: handle warning "all" correctly

warning_alias[0] is "all". It is represented in the loop by
value == NULL; WARN_IDX_ALL does not have an entry in warning_state[]
and so trying to poke it is an error.

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