[PATCH] rtl8192e:Change calls to printk to the more appropriate pr_debug in rtllib_crypt.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This changes calls to printk with loglevel of KERN_DEBUG to the
more appropriate pr_debug as found by running checkpatch on the
file,rtllib_crypt.c.

Signed-off-by: Nicholas Krause <xerofoify@xxxxxxxxx>
---
 drivers/staging/rtl8192e/rtllib_crypt.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/rtl8192e/rtllib_crypt.c b/drivers/staging/rtl8192e/rtllib_crypt.c
index 1e6ae9b..5716dd0 100644
--- a/drivers/staging/rtl8192e/rtllib_crypt.c
+++ b/drivers/staging/rtl8192e/rtllib_crypt.c
@@ -62,7 +62,7 @@ void rtllib_crypt_deinit_handler(unsigned long data)
 	spin_lock_irqsave(info->lock, flags);
 	rtllib_crypt_deinit_entries(info, 0);
 	if (!list_empty(&info->crypt_deinit_list)) {
-		printk(KERN_DEBUG
+		pr_debug(
 		       "%s: entries remaining in delayed crypt deletion list\n",
 		       info->name);
 		info->crypt_deinit_timer.expires = jiffies + HZ;
@@ -118,7 +118,7 @@ int rtllib_register_crypto_ops(struct lib80211_crypto_ops *ops)
 	list_add(&alg->list, &hcrypt->algs);
 	spin_unlock_irqrestore(&hcrypt->lock, flags);
 
-	printk(KERN_DEBUG "rtllib_crypt: registered algorithm '%s'\n",
+	pr_debug("rtllib_crypt: registered algorithm '%s'\n",
 	       ops->name);
 
 	return 0;
@@ -147,7 +147,7 @@ int rtllib_unregister_crypto_ops(struct lib80211_crypto_ops *ops)
 	spin_unlock_irqrestore(&hcrypt->lock, flags);
 
 	if (del_alg) {
-		printk(KERN_DEBUG "rtllib_crypt: unregistered algorithm '%s'\n",
+		pr_debug("rtllib_crypt: unregistered algorithm '%s'\n",
 		       ops->name);
 		kfree(del_alg);
 	}
@@ -239,7 +239,7 @@ void __exit rtllib_crypto_deinit(void)
 		struct rtllib_crypto_alg *alg =
 			(struct rtllib_crypto_alg *) ptr;
 		list_del(ptr);
-		printk(KERN_DEBUG
+		pr_debug(
 		       "rtllib_crypt: unregistered algorithm '%s' (deinit)\n",
 		       alg->ops->name);
 		kfree(alg);
-- 
2.1.4

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel




[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux