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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 27 May 2010 00:39:51 +0100
From:	Mike Sheldon <mike@...easoft.com>
To:	greg@...ah.com, pavel@....cz
Cc:	devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
	Mike Sheldon <mike@...easoft.com>
Subject: [PATCH 14/15] Staging: winbond: Replace printk usage with pr_info

Patches reg.c to replace printk usage (missing KERN_ levels) with pr_info.

Signed-off-by: Mike Sheldon <mike@...easoft.com>
---
 drivers/staging/winbond/reg.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/drivers/staging/winbond/reg.c b/drivers/staging/winbond/reg.c
index d9a8128..ba2e705 100644
--- a/drivers/staging/winbond/reg.c
+++ b/drivers/staging/winbond/reg.c
@@ -1011,7 +1011,7 @@ void RFSynthesizer_initial(struct hw_data *pHwData)
 		/* Start to fill RF parameters, PLL_ON should be pulled low. */
 		Wb35Reg_WriteSync(pHwData, 0x03dc, 0x00000000);
 		#ifdef _PE_STATE_DUMP_
-		printk("* PLL_ON    low\n");
+		pr_info("* PLL_ON    low\n");
 		#endif
 		number = sizeof(al7230_rf_data_24) / sizeof(al7230_rf_data_24[0]);
 		Set_ChanIndep_RfData_al7230_24(pHwData, pltmp, number);
@@ -1099,7 +1099,7 @@ void RFSynthesizer_initial(struct hw_data *pHwData)
 		/* RF parameters have filled completely, PLL_ON should be pulled high */
 		Wb35Reg_WriteSync(pHwData, 0x03dc, 0x00000080);
 		#ifdef _PE_STATE_DUMP_
-		printk("* PLL_ON    high\n");
+		pr_info("* PLL_ON    high\n");
 		#endif
 
 		/* 2.4GHz */
@@ -1116,7 +1116,7 @@ void RFSynthesizer_initial(struct hw_data *pHwData)
 		/* 5GHz */
 		Wb35Reg_WriteSync(pHwData, 0x03dc, 0x00000000);
 		#ifdef _PE_STATE_DUMP_
-		printk("* PLL_ON    low\n");
+		pr_info("* PLL_ON    low\n");
 		#endif
 
 		number = sizeof(al7230_rf_data_50) / sizeof(al7230_rf_data_50[0]);
@@ -1128,7 +1128,7 @@ void RFSynthesizer_initial(struct hw_data *pHwData)
 
 		Wb35Reg_WriteSync(pHwData, 0x03dc, 0x00000080);
 		#ifdef _PE_STATE_DUMP_
-		printk("* PLL_ON    high\n");
+		pr_info("* PLL_ON    high\n");
 		#endif
 
 		ltmp = (1 << 31) | (0 << 30) | (24 << 24) | 0x9ABA8F;
@@ -1796,7 +1796,7 @@ void RFSynthesizer_SwitchingChannel(struct hw_data *pHwData,  struct chan_info C
 			/* Write to register. number must less and equal than 16 */
 			Wb35Reg_BurstWrite(pHwData, 0x0864, pltmp, number, NO_INCREMENT);
 			#ifdef _PE_STATE_DUMP_
-			printk("Band changed\n");
+			pr_info("Band changed\n");
 			#endif
 		}
 
@@ -2338,9 +2338,9 @@ void EEPROMTxVgaAdjust(struct hw_data *pHwData)
 	}
 
 	#ifdef _PE_STATE_DUMP_
-	printk(" TxVgaFor24 :\n");
+	pr_info(" TxVgaFor24 :\n");
 	DataDmp((u8 *)pHwData->TxVgaFor24, 14 , 0);
-	printk(" TxVgaFor50 :\n");
+	pr_info(" TxVgaFor50 :\n");
 	DataDmp((u8 *)pHwData->TxVgaFor50, 70 , 0);
 	#endif
 }
-- 
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ