[Skiboot] [PATCH 1/4] core/opal.c: sparse cleanup integer as NULL
Vasant Hegde
hegdevasant at linux.vnet.ibm.com
Fri Nov 27 22:55:56 AEDT 2020
On 9/14/20 4:29 AM, Stewart Smith wrote:
> Fixes:
> core/opal.c:418:61: warning: Using plain integer as NULL pointer
Thanks. Merged as b825589e085e23add8d0c58cfde7c8ed1f0b2dfd.
-Vasant
>
> 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();
>
More information about the Skiboot
mailing list