diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 04e74f485714..d5d0ab810f79 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -1534,7 +1534,7 @@ struct pci_bus * pci_create_bus(struct device *parent, return NULL; dev = kzalloc(sizeof(*dev), GFP_KERNEL); - if (!dev){ + if (!dev) { kfree(b); return NULL; }