[Skiboot] [PATCH 1/4] core/opal.c: sparse cleanup integer as NULL
Stewart Smith
stewart at flamingspork.com
Mon Sep 14 08:59:01 AEST 2020
Fixes:
core/opal.c:418:61: warning: Using plain integer as NULL pointer
Signed-off-by: Stewart Smith <stewart at flamingspork.com>
---
core/opal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/opal.c b/core/opal.c
index 46518c44..2898a45c 100644
--- a/core/opal.c
+++ b/core/opal.c
@@ -415,7 +415,7 @@ void add_opal_node(void)
opal_event = dt_new(opal_node, "event");
dt_add_property_strings(opal_event, "compatible", "ibm,opal-event");
dt_add_property_cells(opal_event, "#interrupt-cells", 0x1);
- dt_add_property(opal_event, "interrupt-controller", 0, 0);
+ dt_add_property(opal_event, "interrupt-controller", NULL, 0);
add_opal_firmware_node();
add_associativity_ref_point();
--
2.26.2
More information about the Skiboot
mailing list