Re: [PATCH 2/4] hw/nvram/eeprom_at24c: Remove ERR macro that calls fprintf to stderr

2025-03-03 Thread Philippe Mathieu-Daudé
On 1/3/25 15:35, BALATON Zoltan wrote: In the realize method error_setg can be used like other places there already do. The other usage can be replaced with error_report which is the preferred way instead of directly printing to stderr. Signed-off-by: BALATON Zoltan --- hw/nvram/eeprom_at24c.

[PATCH 2/4] hw/nvram/eeprom_at24c: Remove ERR macro that calls fprintf to stderr

2025-03-01 Thread BALATON Zoltan
In the realize method error_setg can be used like other places there already do. The other usage can be replaced with error_report which is the preferred way instead of directly printing to stderr. Signed-off-by: BALATON Zoltan --- hw/nvram/eeprom_at24c.c | 12 +--- 1 file changed, 5 ins