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>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 30 Jun 2015 21:59:16 +0530
From:	Rudhresh Kumar J <rudhresh.jk@...il.com>
To:	fthain@...egraphics.com.au
Cc:	schmitzmic@...il.com, JBottomley@...n.com,
	linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
	Rudhresh Kumar J <rudhreshj@...c.in>,
	Rudhresh Kumar J <rudhresh.jk@...il.com>
Subject: [PATCH] SCSI: DTC: Adding KERN_ facility level

Fixed coding style issue by adding KERN_ facility level to some of
the printk functions.

Signed-off-by: Rudhresh Kumar J <rudhresh.jk@...il.com>
---
 drivers/scsi/dtc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/dtc.c b/drivers/scsi/dtc.c
index 4c74c7b..a3a2a71 100644
--- a/drivers/scsi/dtc.c
+++ b/drivers/scsi/dtc.c
@@ -156,7 +156,7 @@ static int __init dtc_setup(char *str)
 
 	get_options(str, ARRAY_SIZE(ints), ints);
 	if (ints[0] != 2)
-		printk("dtc_setup: usage dtc=address,irq\n");
+		printk(KERN_DEBUG "dtc_setup: usage dtc=address,irq\n");
 	else if (commandline_current < NO_OVERRIDES) {
 		overrides[commandline_current].address = ints[1];
 		overrides[commandline_current].irq = ints[2];
@@ -272,7 +272,7 @@ found:
 		instance->irq = NO_IRQ;
 #endif
 #if defined(DTCDEBUG) && (DTCDEBUG & DTCDEBUG_INIT)
-		printk("scsi%d : irq = %d\n", instance->host_no, instance->irq);
+		printk(KERN_DEBUG "scsi%d : irq = %d\n", instance->host_no, instance->irq);
 #endif
 
 		++current_override;
-- 
1.8.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