Messages in this thread | | | Date | Mon, 5 Dec 2011 11:07:05 -0800 | From | Jesse Barnes <> | Subject | Re: [PATCH 31/31] Drivers: pci: probe: fixed a brace coding style issue |
| |
On Thu, 17 Nov 2011 23:07:49 -0700 Zac Storer <zac.3.14159@gmail.com> wrote:
> Fixed a brace coding style issue. > > Signed-off-by: Zac Storer <zac.3.14159@gmail.com> > --- > 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 [unhandled content-type:application/pgp-signature] | |