Re: [PATCH 31/31] Drivers: pci: probe: fixed a brace coding styleissue

From: Jesse Barnes
Date: Mon Dec 05 2011 - 14:04:31 EST


On Thu, 17 Nov 2011 23:07:49 -0700
Zac Storer <zac.3.14159@xxxxxxxxx> wrote:

> Fixed a brace coding style issue.
>
> Signed-off-by: Zac Storer <zac.3.14159@xxxxxxxxx>
> ---
> drivers/pci/probe.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c
> index 04e74f4..d5d0ab8 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;
> }

Applied to linux-next, thanks. Would be even better if you found a
32/31 with an actual bug fix in it though. :)

--
Jesse Barnes, Intel Open Source Technology Center

Attachment: signature.asc
Description: PGP signature