mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Rajesh Kumbhakar <sssraj.sssraj@gmail.com>
To: perex@perex.cz, tiwai@suse.com, sfr@canb.auug.org.au
Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org,
	Rajesh Kumbhakar <sssraj.sssraj@gmail.com>
Subject: [PATCH] sound: core: fixed coding style errors
Date: Mon, 22 Feb 2021 11:41:56 -0800	[thread overview]
Message-ID: <20210222194156.26758-1-sssraj.sssraj@gmail.com> (raw)

fixing ERROR: "foo * bar" should be "foo *bar"
fixing WARNING: Missing a blank line after declarations

Signed-off-by: Rajesh Kumbhakar <sssraj.sssraj@gmail.com>
---
 sound/core/hwdep_compat.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sound/core/hwdep_compat.c b/sound/core/hwdep_compat.c
index a0b76706c..d8624a14a 100644
--- a/sound/core/hwdep_compat.c
+++ b/sound/core/hwdep_compat.c
@@ -36,11 +36,13 @@ enum {
 	SNDRV_HWDEP_IOCTL_DSP_LOAD32   = _IOW('H', 0x03, struct snd_hwdep_dsp_image32)
 };
 
-static long snd_hwdep_ioctl_compat(struct file * file, unsigned int cmd,
+static long snd_hwdep_ioctl_compat(struct file *file, unsigned int cmd,
 				   unsigned long arg)
 {
 	struct snd_hwdep *hw = file->private_data;
+
 	void __user *argp = compat_ptr(arg);
+
 	switch (cmd) {
 	case SNDRV_HWDEP_IOCTL_PVERSION:
 	case SNDRV_HWDEP_IOCTL_INFO:
-- 
2.25.1


             reply	other threads:[~2021-02-22 19:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-22 19:41 Rajesh Kumbhakar [this message]
2021-02-23  6:39 ` Takashi Iwai
2021-02-23  6:47   ` Rajesh Kumbhakar

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=20210222194156.26758-1-sssraj.sssraj@gmail.com \
    --to=sssraj.sssraj@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=sfr@canb.auug.org.au \
    --cc=tiwai@suse.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®