All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vatika Harlalka <vatikaharlalka@gmail.com>
To: outreachy-kernel@googlegroups.com
Subject: [PATCH] Staging: media: Add newline after variable declarations
Date: Fri, 20 Feb 2015 03:53:42 +0530	[thread overview]
Message-ID: <20150219222341.GA976@gmail.com> (raw)

This patch is to add a newline after variable declarations
to follow kernel coding conventions.

Signed-off-by: Vatika Harlalka <vatikaharlalka@gmail.com>
---
 drivers/staging/media/tlg2300/pd-alsa.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/staging/media/tlg2300/pd-alsa.c b/drivers/staging/media/tlg2300/pd-alsa.c
index 7a07a1d..00b329e 100644
--- a/drivers/staging/media/tlg2300/pd-alsa.c
+++ b/drivers/staging/media/tlg2300/pd-alsa.c
@@ -254,6 +254,7 @@ snd_pd_capture_pointer(struct snd_pcm_substream *substream)
 {
 	struct poseidon *p = snd_pcm_substream_chip(substream);
 	struct poseidon_audio *pa = &p->audio;
+
 	return pa->rcv_position;
 }
 
@@ -261,6 +262,7 @@ static struct page *snd_pcm_pd_get_page(struct snd_pcm_substream *subs,
 					     unsigned long offset)
 {
 	void *pageptr = subs->runtime->dma_area + offset;
+
 	return vmalloc_to_page(pageptr);
 }
 
-- 
1.9.1



             reply	other threads:[~2015-02-19 22:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-19 22:23 Vatika Harlalka [this message]
2015-02-26 18:54 ` [Outreachy kernel] [PATCH] Staging: media: Add newline after variable declarations 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=20150219222341.GA976@gmail.com \
    --to=vatikaharlalka@gmail.com \
    --cc=outreachy-kernel@googlegroups.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.