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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20091105060725.GB8664@sedf.de>
Date:	Thu, 5 Nov 2009 07:07:25 +0100
From:	Sebastian Dalfuß <sd@...f.de>
To:	greg@...ah.com
Cc:	linux-kernel@...r.kernel.org
Subject: [Patch 2/3] staging: rt2860: remove superfluous newlines

From: Sebastian Dalfuß <sd@...f.de>
Subject: [Patch 2/3] staging: rt2860: remove superfluous newlines

This patch is based on 2.6.32-rc6

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 b/drivers/staging/rt2860/common/dfs.c c/drivers/staging/rt2860/common/dfs.c
--- b/drivers/staging/rt2860/common/dfs.c	2009-11-04 23:32:24.000000000 +0100
+++ c/drivers/staging/rt2860/common/dfs.c	2009-11-05 00:06:25.872076137 +0100
@@ -367,7 +367,7 @@
 	// channel availability check time is 60sec, use 65 for assurance
 	if (pAd->CommonCfg.RadarDetect.RDCount++ > pAd->CommonCfg.RadarDetect.ChMovingTime)
 	{
-		DBGPRINT(RT_DEBUG_TRACE, ("Not found radar signal, start send beacon and radar detection in service monitor\n\n"));
+		DBGPRINT(RT_DEBUG_TRACE, ("Not found radar signal, start send beacon and radar detection in service monitor\n"));
 			BbpRadarDetectionStop(pAd);
 		AsicEnableBssSync(pAd);
 		pAd->CommonCfg.RadarDetect.RDMode = RD_NORMAL_MODE;
diff -ru b/drivers/staging/rt2860/common/rtmp_init.c c/drivers/staging/rt2860/common/rtmp_init.c
--- b/drivers/staging/rt2860/common/rtmp_init.c	2009-11-04 23:32:24.000000000 +0100
+++ c/drivers/staging/rt2860/common/rtmp_init.c	2009-11-05 00:05:45.312078083 +0100
@@ -244,7 +244,7 @@
 			break;
 		}
 		pAd->BeaconBuf = pBeaconBuf;
-		printk("\n\n=== pAd = %p, size = %d ===\n\n", pAd, (UINT32)sizeof(RTMP_ADAPTER));
+		printk("=== pAd = %p, size = %d ===\n", pAd, (UINT32)sizeof(RTMP_ADAPTER));
 
 
 		// Init spin locks
@@ -3031,7 +3031,7 @@
     if (Index > 1000)
 	{
 		Status = NDIS_STATUS_FAILURE;
-		DBGPRINT(RT_DEBUG_ERROR, ("NICLoadFirmware: MCU is not ready\n\n\n"));
+		DBGPRINT(RT_DEBUG_ERROR, ("NICLoadFirmware: MCU is not ready\n"));
 	} /* End of if */
 
     DBGPRINT(RT_DEBUG_TRACE,
diff -ru b/drivers/staging/rt2860/rt_linux.c c/drivers/staging/rt2860/rt_linux.c
--- b/drivers/staging/rt2860/rt_linux.c	2009-11-04 23:32:24.000000000 +0100
+++ c/drivers/staging/rt2860/rt_linux.c	2009-11-05 00:07:10.402917865 +0100
@@ -384,7 +384,7 @@
  	{
 		*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