* [PATCH 31/31] Drivers: pci: probe: fixed a brace coding style issue
@ 2011-11-18 6:07 Zac Storer
2011-12-05 19:07 ` Jesse Barnes
0 siblings, 1 reply; 2+ messages in thread
From: Zac Storer @ 2011-11-18 6:07 UTC (permalink / raw)
To: jbarnes; +Cc: linux-pci, linux-kernel, Zac Storer
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;
}
--
1.7.7.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 31/31] Drivers: pci: probe: fixed a brace coding style issue
2011-11-18 6:07 [PATCH 31/31] Drivers: pci: probe: fixed a brace coding style issue Zac Storer
@ 2011-12-05 19:07 ` Jesse Barnes
0 siblings, 0 replies; 2+ messages in thread
From: Jesse Barnes @ 2011-12-05 19:07 UTC (permalink / raw)
To: Zac Storer; +Cc: linux-pci, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 823 bytes --]
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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-12-05 19:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-18 6:07 [PATCH 31/31] Drivers: pci: probe: fixed a brace coding style issue Zac Storer
2011-12-05 19:07 ` Jesse Barnes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).