Skip to content

Commit fb7348a

Browse files
ndreysMarc Zyngier
authored andcommitted
irqchip/irq-imx-gpcv2: Make error messages more consistent
Make error messages more consistent by making sure each starts with "%pOF:". Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Marc Zyngier <marc.zyngier@arm.com> Cc: cphealy@gmail.com Cc: l.stach@pengutronix.de Cc: Leonard Crestez <leonard.crestez@nxp.com> Cc: "A.s. Dong" <aisheng.dong@nxp.com> Cc: Richard Zhu <hongxing.zhu@nxp.com> Cc: linux-imx@nxp.com Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
1 parent f2dace5 commit fb7348a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/irqchip/irq-imx-gpcv2.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,15 +212,15 @@ static int __init imx_gpcv2_irqchip_init(struct device_node *node,
212212

213213
cd = kzalloc(sizeof(struct gpcv2_irqchip_data), GFP_KERNEL);
214214
if (!cd) {
215-
pr_err("kzalloc failed!\n");
215+
pr_err("%pOF: kzalloc failed!\n", node);
216216
return -ENOMEM;
217217
}
218218

219219
raw_spin_lock_init(&cd->rlock);
220220

221221
cd->gpc_base = of_iomap(node, 0);
222222
if (!cd->gpc_base) {
223-
pr_err("fsl-gpcv2: unable to map gpc registers\n");
223+
pr_err("%pOF: unable to map gpc registers\n", node);
224224
kfree(cd);
225225
return -ENOMEM;
226226
}

0 commit comments

Comments
 (0)