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]
Message-ID: <20091106134928.GC27210@sedf.de>
Date:	Fri, 6 Nov 2009 14:49:28 +0100
From:	Sebastian Dalfuß <sd@...f.de>
To:	greg@...ah.com
Cc:	linux-kernel@...r.kernel.org
Subject: [Patch 2/3 v2] staging: rt2860: remove superfluous newlines

From: Sebastian Dalfuß <sd@...f.de>

This patch is based on next-20091106.
This tiny patch removes a few quite unnecessary extra newlines from
DBGPRINT() and printk() strings.

Signed-off-by: Sebastian Dalfuß <sd@...f.de>
---
diff -ru a/drivers/staging/rt2860/common/rtmp_init.c b/drivers/staging/rt2860/common/rtmp_init.c
--- a/drivers/staging/rt2860/common/rtmp_init.c	2009-11-06 08:03:10.000000000 +0100
+++ b/drivers/staging/rt2860/common/rtmp_init.c	2009-11-06 11:38:21.472706092 +0100
@@ -181,7 +181,7 @@
 		}
 		pAd->BeaconBuf = pBeaconBuf;
 		DBGPRINT(RT_DEBUG_OFF,
-			 ("\n\n=== pAd = %p, size = %d ===\n\n", pAd,
+			 ("=== pAd = %p, size = %d ===\n", pAd,
 			  (u32)sizeof(struct rt_rtmp_adapter)));
 
 		/* Init spin locks */
diff -ru a/drivers/staging/rt2860/common/rtmp_mcu.c b/drivers/staging/rt2860/common/rtmp_mcu.c
--- a/drivers/staging/rt2860/common/rtmp_mcu.c	2009-11-06 08:03:10.000000000 +0100
+++ b/drivers/staging/rt2860/common/rtmp_mcu.c	2009-11-06 11:38:49.121828754 +0100
@@ -163,7 +163,7 @@
 
 	if (Index > 1000) {
 		DBGPRINT(RT_DEBUG_ERROR,
-			 ("NICLoadFirmware: MCU is not ready\n\n\n"));
+			 ("NICLoadFirmware: MCU is not ready\n"));
 		Status = NDIS_STATUS_FAILURE;
 	}
 
diff -ru a/drivers/staging/rt2860/rt_linux.c b/drivers/staging/rt2860/rt_linux.c
--- a/drivers/staging/rt2860/rt_linux.c	2009-11-06 08:03:10.000000000 +0100
+++ b/drivers/staging/rt2860/rt_linux.c	2009-11-06 11:39:31.972697405 +0100
@@ -340,7 +340,7 @@
 	if (pPacket == NULL) {
 		*ppPacket = NULL;
 #ifdef DEBUG
-		printk("RTMPAllocateNdisPacket Fail\n\n");
+		printk("RTMPAllocateNdisPacket Fail\n");
 #endif
 		return NDIS_STATUS_FAILURE;
 	}


Download attachment "signature.asc" of type "application/pgp-signature" (199 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ