mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
aubinator: report error on unknown device id
Since we're going to stop aubinator without a valid device id, better report an error. This also silences a Coverity warning. CID: 1405004 Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
This commit is contained in:
parent
8f1f1d294d
commit
359fa0e9a0
1 changed files with 1 additions and 1 deletions
|
|
@ -635,7 +635,7 @@ read_data_file(FILE *file)
|
|||
if (matched == 1) {
|
||||
if (!gen_get_device_info(reg, &devinfo)) {
|
||||
printf("Unable to identify devid=%x\n", reg);
|
||||
return;
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
disasm = gen_disasm_create(reg);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue