diff options
| author | BALATON Zoltan <balaton@eik.bme.hu> | 2021-10-29 23:02:09 +0200 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-10-30 18:39:37 +0200 |
| commit | 46e44759fc24a05e338cd37a735b4aad5422e717 (patch) | |
| tree | de6317a07b51cd1b0778ab77915a063d1d1ddd24 /hw/core/qdev.c | |
| parent | 65307c7792a50bffe036423ec21107f4fb9c74e3 (diff) | |
| download | focaccia-qemu-46e44759fc24a05e338cd37a735b4aad5422e717.tar.gz focaccia-qemu-46e44759fc24a05e338cd37a735b4aad5422e717.zip | |
hw/timer/sh_timer: Remove use of hw_error
The hw_error function calls abort and is not meant to be used by devices. Use qemu_log_mask instead to log and ignore invalid accesses. Also fix format strings to allow dropping type casts of hwaddr and use __func__ instead of hard coding function name in the message which were wrong in two cases. Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <f818dc3dd2ac8c3b3d53067f316a716d7f9683d8.1635541329.git.balaton@eik.bme.hu> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'hw/core/qdev.c')
0 files changed, 0 insertions, 0 deletions