From: Dustan Bower <dustan.bower@gmail.com>
To: gregkh@suse.de
Cc: abbotti@mev.co.uk, fmhess@users.sourceforge.net,
devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
Dustan Bower <dustan.bower@gmail.com>
Subject: [PATCH] Staging: comedi: drivers.c: fixed braces coding style issue.
Date: Fri, 18 Feb 2011 01:32:08 -0500 [thread overview]
Message-ID: <1298010728-7036-1-git-send-email-dustan.bower@gmail.com> (raw)
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
next reply other threads:[~2011-02-18 6:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-18 6:32 Dustan Bower [this message]
2011-02-18 21:26 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1298010728-7036-1-git-send-email-dustan.bower@gmail.com \
--to=dustan.bower@gmail.com \
--cc=abbotti@mev.co.uk \
--cc=devel@driverdev.osuosl.org \
--cc=fmhess@users.sourceforge.net \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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