Skip to contentSkip to conversation

hw/display/sm501: fix missing error-report.h

PATCH In review Clément Chigot 3 participants 4 messages Jul 28, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hw/display/sm501: fix missing error-report.h

"qemu/error-report.h" was previously implicitly included. This is no longer the case following 012842c075520dbe1bd96a2fdcf4e218874ba443.

However, the issue predates this change as error-report.h should have been included when the warn_report call was introduced.

Fixes fa140b9562 ("hw/sm501: allow compiling without PIXMAN")
---
 hw/display/sm501.c | 1 +
 1 file changed, 1 insertion(+)
hw/display/sm501.c +1 -0
index 6d2f18684c..bc091b3c9f 100644
@@ -26,6 +26,7 @@
 #include "qemu/osdep.h"
 #include "qemu/units.h"
 #include "qapi/error.h"
+#include "qemu/error-report.h"
 #include "qemu/log.h"
 #include "qemu/module.h"
 #include "hw/usb/hcd-ohci.h"
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Clément Chigot

"qemu/error-report.h" was previously implicitly included. This is no longer the case following 012842c075520dbe1bd96a2fdcf4e218874ba443.

However, the issue predates this change as error-report.h should have been included when the warn_report call was introduced.

Fixes fa140b9562 ("hw/sm501: allow compiling without PIXMAN")
---
 hw/display/sm501.c | 1 +
 1 file changed, 1 insertion(+)
Quoted 16 lines
hw/display/sm501.c +1 -0
index 6d2f18684c..bc091b3c9f 100644
@@ -26,6 +26,7 @@
 #include "qemu/osdep.h"
 #include "qemu/units.h"
 #include "qapi/error.h"
+#include "qemu/error-report.h"
 #include "qemu/log.h"
 #include "qemu/module.h"
 #include "hw/usb/hcd-ohci.h"
Signature · 1 line
2.34.1

With regards,
Daniel

Signature · 3 lines
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
Reviewed-by on v1 1/1
#2 lore raw
In reply to Clément Chigot
Quoted 11 lines · Clément Chigot

"qemu/error-report.h" was previously implicitly included. This is no longer the case following 012842c075520dbe1bd96a2fdcf4e218874ba443.

However, the issue predates this change as error-report.h should have been included when the warn_report call was introduced.

Fixes fa140b9562 ("hw/sm501: allow compiling without PIXMAN")
---
  hw/display/sm501.c | 1 +
  1 file changed, 1 insertion(+)

and queued, thanks!

#3 lore raw
In reply to Clément Chigot
Quoted 11 lines · Clément Chigot

"qemu/error-report.h" was previously implicitly included. This is no longer the case following 012842c075520dbe1bd96a2fdcf4e218874ba443.

However, the issue predates this change as error-report.h should have been included when the warn_report call was introduced.

Fixes fa140b9562 ("hw/sm501: allow compiling without PIXMAN")
---
  hw/display/sm501.c | 1 +
  1 file changed, 1 insertion(+)

Patch queued, thanks!