On 8/23/24 16:42, Philippe Mathieu-Daudé wrote:
  static void sbsa_fdt_add_gic_node(SBSAMachineState *sms)
  {
-    char *nodename;
+    const char *intc_nodename = "/intc";
+    const char *its_nodename = "/intc/its";

Should we use static qualifiers?'

No. The real object is the string literal. The local variable simply allows multiple references within the function.


r~

Reply via email to