]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Fix error in panic message
authorLiao Pingfang <liao.pingfang@zte.com.cn>
Thu, 9 Jul 2020 07:28:28 +0000 (15:28 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 9 Jul 2020 21:01:09 +0000 (16:01 -0500)
commit573517ffe20c58b6c69ab615a66b49f284f72101
tree266f9d9b71d3f6909534862d0517aef5922f34e8
parentcc21b0e73ef3844bbac7c09e93c14a9c4f12d247
PCI: Fix error in panic message

Use kzalloc() instead of kmalloc() in the panic message.

[bhelgaas: drop similar ibmphp_pci.c change since it's not obviously
correct]
Link: https://lore.kernel.org/r/1594279708-34369-1-git-send-email-wang.yi59@zte.com.cn
Signed-off-by: Liao Pingfang <liao.pingfang@zte.com.cn>
Signed-off-by: Yi Wang <wang.yi59@zte.com.cn>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/setup-bus.c