* [PATCH] Staging: comedi: drivers.c: fixed braces coding style issue.
@ 2011-02-18 6:32 Dustan Bower
2011-02-18 21:26 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Dustan Bower @ 2011-02-18 6:32 UTC (permalink / raw)
To: gregkh; +Cc: abbotti, fmhess, devel, linux-kernel, Dustan Bower
Fixed coding style issue.
Signed-off-by: Dustan Bower <dustan.bower@gmail.com>
---
drivers/staging/comedi/drivers.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/comedi/drivers.c b/drivers/staging/comedi/drivers.c
index dca861e..f8b91b7 100644
--- a/drivers/staging/comedi/drivers.c
+++ b/drivers/staging/comedi/drivers.c
@@ -471,9 +471,8 @@ int comedi_buf_alloc(struct comedi_device *dev, struct comedi_subdevice *s,
async->buf_page_list =
vzalloc(sizeof(struct comedi_buf_page) * n_pages);
- if (async->buf_page_list) {
+ if (async->buf_page_list)
pages = vmalloc(sizeof(struct page *) * n_pages);
- }
if (pages) {
for (i = 0; i < n_pages; i++) {
if (s->async_dma_dir != DMA_NONE) {
--
1.7.4.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Staging: comedi: drivers.c: fixed braces coding style issue.
2011-02-18 6:32 [PATCH] Staging: comedi: drivers.c: fixed braces coding style issue Dustan Bower
@ 2011-02-18 21:26 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2011-02-18 21:26 UTC (permalink / raw)
To: Dustan Bower; +Cc: gregkh, devel, fmhess, abbotti, linux-kernel
On Fri, Feb 18, 2011 at 01:32:08AM -0500, Dustan Bower wrote:
> Fixed coding style issue.
>
> Signed-off-by: Dustan Bower <dustan.bower@gmail.com>
> ---
> drivers/staging/comedi/drivers.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
This patch doesn't apply to the linux-next tree, can you please redo it
against that one?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-18 21:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-18 6:32 [PATCH] Staging: comedi: drivers.c: fixed braces coding style issue Dustan Bower
2011-02-18 21:26 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome