hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/irqchip/irq-mscc-ocelot.c
....@@ -72,7 +72,7 @@
7272 domain = irq_domain_add_linear(node, OCELOT_NR_IRQ,
7373 &irq_generic_chip_ops, NULL);
7474 if (!domain) {
75
- pr_err("%s: unable to add irq domain\n", node->name);
75
+ pr_err("%pOFn: unable to add irq domain\n", node);
7676 return -ENOMEM;
7777 }
7878
....@@ -80,14 +80,14 @@
8080 "icpu", handle_level_irq,
8181 0, 0, 0);
8282 if (ret) {
83
- pr_err("%s: unable to alloc irq domain gc\n", node->name);
83
+ pr_err("%pOFn: unable to alloc irq domain gc\n", node);
8484 goto err_domain_remove;
8585 }
8686
8787 gc = irq_get_domain_generic_chip(domain, 0);
8888 gc->reg_base = of_iomap(node, 0);
8989 if (!gc->reg_base) {
90
- pr_err("%s: unable to map resource\n", node->name);
90
+ pr_err("%pOFn: unable to map resource\n", node);
9191 ret = -ENOMEM;
9292 goto err_gc_free;
9393 }