]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/mbigen: Stop printing kernel addresses
authorKefeng Wang <wangkefeng.wang@huawei.com>
Tue, 18 Jun 2019 09:15:05 +0000 (17:15 +0800)
committerMarc Zyngier <marc.zyngier@arm.com>
Tue, 18 Jun 2019 09:27:02 +0000 (10:27 +0100)
commit5fc6fbf77dffd127e60699eae13ec8cb0b77b4cd
tree4ec6d419cbe4668ef20253faeffcb82aca55c75d
parent7815e2fab2a459eaedb45332dfeab9b084df8fc3
irqchip/mbigen: Stop printing kernel addresses

After commit c50104c2c22fe576 ("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>
drivers/irqchip/irq-mbigen.c