lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Fri, 13 May 2022 20:48:44 -0500
From:   Paul Lemmermann <thepaulodoom@...paulodoom.com>
To:     perex@...ex.cz
Cc:     linux-kernel@...r.kernel.org, alsa-devel@...a-project.org,
        notify@...nel.org
Subject: [PATCH] sound: sound_core: changed spaces to tabs

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

Signed-off-by: Paul Lemmermann <thepaulodoom@...paulodoom.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ