Cédric Le Goater 8cf52ff5c7 spapr/drc: Clean up local variable shadowing in prop_get_fdt()
Rename 'name' variable to avoid this warning :

  ../hw/ppc/spapr_drc.c: In function ‘prop_get_fdt’:
  ../hw/ppc/spapr_drc.c:344:21: warning: declaration of ‘name’ shadows a parameter [-Wshadow=compatible-local]
    344 |         const char *name = NULL;
        |                     ^~~~
  ../hw/ppc/spapr_drc.c:325:63: note: shadowed declaration is here
    325 | static void prop_get_fdt(Object *obj, Visitor *v, const char *name,
        |                                                   ~~~~~~~~~~~~^~~~

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-ID: <20230918145850.241074-9-clg@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2023-09-29 10:07:18 +02:00
..
2023-09-06 11:19:33 +02:00
2023-06-05 20:48:34 +02:00
2023-06-05 20:48:34 +02:00
2023-06-05 20:48:34 +02:00
2023-07-07 06:32:53 -03:00
2023-02-08 07:28:05 +01:00
2022-10-17 16:15:09 -03:00
2023-09-20 07:54:34 +03:00
2023-09-20 07:54:34 +03:00
2023-09-20 07:54:34 +03:00
2023-09-20 07:54:34 +03:00
2023-09-20 07:54:34 +03:00