mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-18 22:34:48 +00:00
irqchip/mbigen: Stop printing kernel addresses
After commit ad67b74d2469d9b8 ("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: Kefeng Wang <wangkefeng.wang@huawei.com> Reviewed-by: Hanjun Guo <guohanjun@huawei.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
This commit is contained in:
parent
702655234d
commit
0bdd0047ec
@ -355,8 +355,7 @@ static int mbigen_device_probe(struct platform_device *pdev)
|
||||
err = -EINVAL;
|
||||
|
||||
if (err) {
|
||||
dev_err(&pdev->dev, "Failed to create mbi-gen@%p irqdomain",
|
||||
mgn_chip->base);
|
||||
dev_err(&pdev->dev, "Failed to create mbi-gen irqdomain\n");
|
||||
return err;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user