All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Lemmermann <thepaulodoom@thepaulodoom.com>
To: perex@perex.cz
Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org,
	notify@kernel.org
Subject: [PATCH] sound: sound_core: changed spaces to tabs
Date: Fri, 13 May 2022 20:48:44 -0500	[thread overview]
Message-ID: <Yn8KfFXUfWlGw+Bw@paul-debian-hp> (raw)

changed spaces to tabs in sound_core.c according to kernel styling
guidelines. found using checkpatch.pl.

Signed-off-by: Paul Lemmermann <thepaulodoom@thepaulodoom.com>
---
 sound/sound_core.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/sound/sound_core.c b/sound/sound_core.c
index 3332fe321..28bc038dc 100644
--- a/sound/sound_core.c
+++ b/sound/sound_core.c
@@ -290,7 +290,7 @@ static int sound_insert_unit(struct sound_unit **list, const struct file_operati
  *	completed the removal before their file operations become
  *	invalid.
  */
- 	
+
 static void sound_remove_unit(struct sound_unit **list, int unit)
 {
 	struct sound_unit *p;
@@ -395,12 +395,12 @@ int register_sound_special_device(const struct file_operations *fops, int unit,
 		name = "admmidi";
 		break;
 	    default:
-	    	{
+		{
 		    __unknown:
 			sprintf(_name, "unknown%d", chain);
-		    	if (unit >= SOUND_STEP)
-		    		strcat(_name, "-");
-		    	name = _name;
+			if (unit >= SOUND_STEP)
+				strcat(_name, "-");
+			name = _name;
 		}
 		break;
 	}
-- 
2.35.1


WARNING: multiple messages have this Message-ID (diff)
From: Paul Lemmermann <thepaulodoom@thepaulodoom.com>
To: perex@perex.cz
Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org,
	notify@kernel.org
Subject: [PATCH] sound: sound_core: changed spaces to tabs
Date: Fri, 13 May 2022 20:48:44 -0500	[thread overview]
Message-ID: <Yn8KfFXUfWlGw+Bw@paul-debian-hp> (raw)

changed spaces to tabs in sound_core.c according to kernel styling
guidelines. found using checkpatch.pl.

Signed-off-by: Paul Lemmermann <thepaulodoom@thepaulodoom.com>
---
 sound/sound_core.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/sound/sound_core.c b/sound/sound_core.c
index 3332fe321..28bc038dc 100644
--- a/sound/sound_core.c
+++ b/sound/sound_core.c
@@ -290,7 +290,7 @@ static int sound_insert_unit(struct sound_unit **list, const struct file_operati
  *	completed the removal before their file operations become
  *	invalid.
  */
- 	
+
 static void sound_remove_unit(struct sound_unit **list, int unit)
 {
 	struct sound_unit *p;
@@ -395,12 +395,12 @@ int register_sound_special_device(const struct file_operations *fops, int unit,
 		name = "admmidi";
 		break;
 	    default:
-	    	{
+		{
 		    __unknown:
 			sprintf(_name, "unknown%d", chain);
-		    	if (unit >= SOUND_STEP)
-		    		strcat(_name, "-");
-		    	name = _name;
+			if (unit >= SOUND_STEP)
+				strcat(_name, "-");
+			name = _name;
 		}
 		break;
 	}
-- 
2.35.1


             reply	other threads:[~2022-05-14  2:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-14  1:48 Paul Lemmermann [this message]
2022-05-14  1:48 ` [PATCH] sound: sound_core: changed spaces to tabs Paul Lemmermann

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=Yn8KfFXUfWlGw+Bw@paul-debian-hp \
    --to=thepaulodoom@thepaulodoom.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=notify@kernel.org \
    --cc=perex@perex.cz \
    /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.