Commit 0bdd0047 authored by Kefeng Wang's avatar Kefeng Wang Committed by Marc Zyngier

irqchip/mbigen: Stop printing kernel addresses

After commit ad67b74d ("printk: hash addresses printed with %p"),
it will print "____ptrval____" instead of actual addresses when mbigen
create domain fails,

  Hisilicon MBIGEN-V2 HISI0152:00: Failed to create mbi-gen@(____ptrval____) irqdomain
  Hisilicon MBIGEN-V2: probe of HISI0152:00 failed with error -12

dev_xxx() helper contains the device info, HISI0152:00, which stands for
mbigen ACPI HID and its UID, we can identify the failing probed mbigen,
so just remove the printing "mgn_chip->base", and also add missing "\n".
Signed-off-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: default avatarHanjun Guo <guohanjun@huawei.com>
Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
parent 70265523
...@@ -355,8 +355,7 @@ static int mbigen_device_probe(struct platform_device *pdev) ...@@ -355,8 +355,7 @@ static int mbigen_device_probe(struct platform_device *pdev)
err = -EINVAL; err = -EINVAL;
if (err) { if (err) {
dev_err(&pdev->dev, "Failed to create mbi-gen@%p irqdomain", dev_err(&pdev->dev, "Failed to create mbi-gen irqdomain\n");
mgn_chip->base);
return err; return err;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment