lkml.org 
[lkml]   [2011]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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]
\
 
 \ /
  Last update: 2011-12-05 20:07    [W:0.040 / U:0.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site