[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210222194156.26758-1-sssraj.sssraj@gmail.com>
Date: Mon, 22 Feb 2021 11:41:56 -0800
From: Rajesh Kumbhakar <sssraj.sssraj@...il.com>
To: perex@...ex.cz, tiwai@...e.com, sfr@...b.auug.org.au
Cc: alsa-devel@...a-project.org, linux-kernel@...r.kernel.org,
Rajesh Kumbhakar <sssraj.sssraj@...il.com>
Subject: [PATCH] sound: core: fixed coding style errors
fixing ERROR: "foo * bar" should be "foo *bar"
fixing WARNING: Missing a blank line after declarations
Signed-off-by: Rajesh Kumbhakar <sssraj.sssraj@...il.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
Powered by blists - more mailing lists