diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-12-28 15:33:21 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-12-28 15:33:21 -0500 |
commit | 1db2a5c11e495366bff35cf7445d494703f7febe (patch) | |
tree | 3347dd1cab0a2a96a4333524298a62132eb22336 /drivers/s390/cio/blacklist.c | |
parent | a39b863342b8aba52390092be95db58f6ed56061 (diff) | |
parent | cef7125def4dd104769f400c941199614da0aca1 (diff) |
Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6
* 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6: (85 commits)
[S390] provide documentation for hvc_iucv kernel parameter.
[S390] convert ctcm printks to dev_xxx and pr_xxx macros.
[S390] convert zfcp printks to pr_xxx macros.
[S390] convert vmlogrdr printks to pr_xxx macros.
[S390] convert zfcp dumper printks to pr_xxx macros.
[S390] convert cpu related printks to pr_xxx macros.
[S390] convert qeth printks to dev_xxx and pr_xxx macros.
[S390] convert sclp printks to pr_xxx macros.
[S390] convert iucv printks to dev_xxx and pr_xxx macros.
[S390] convert ap_bus printks to pr_xxx macros.
[S390] convert dcssblk and extmem printks messages to pr_xxx macros.
[S390] convert monwriter printks to pr_xxx macros.
[S390] convert s390 debug feature printks to pr_xxx macros.
[S390] convert monreader printks to pr_xxx macros.
[S390] convert appldata printks to pr_xxx macros.
[S390] convert setup printks to pr_xxx macros.
[S390] convert hypfs printks to pr_xxx macros.
[S390] convert time printks to pr_xxx macros.
[S390] convert cpacf printks to pr_xxx macros.
[S390] convert cio printks to pr_xxx macros.
...
Diffstat (limited to 'drivers/s390/cio/blacklist.c')
-rw-r--r-- | drivers/s390/cio/blacklist.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/drivers/s390/cio/blacklist.c b/drivers/s390/cio/blacklist.c index 2f547b840ef0..fe00be3675cd 100644 --- a/drivers/s390/cio/blacklist.c +++ b/drivers/s390/cio/blacklist.c | |||
@@ -9,6 +9,9 @@ | |||
9 | * Arnd Bergmann (arndb@de.ibm.com) | 9 | * Arnd Bergmann (arndb@de.ibm.com) |
10 | */ | 10 | */ |
11 | 11 | ||
12 | #define KMSG_COMPONENT "cio" | ||
13 | #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt | ||
14 | |||
12 | #include <linux/init.h> | 15 | #include <linux/init.h> |
13 | #include <linux/vmalloc.h> | 16 | #include <linux/vmalloc.h> |
14 | #include <linux/slab.h> | 17 | #include <linux/slab.h> |
@@ -50,9 +53,10 @@ static int blacklist_range(range_action action, unsigned int from_ssid, | |||
50 | { | 53 | { |
51 | if ((from_ssid > to_ssid) || ((from_ssid == to_ssid) && (from > to))) { | 54 | if ((from_ssid > to_ssid) || ((from_ssid == to_ssid) && (from > to))) { |
52 | if (msgtrigger) | 55 | if (msgtrigger) |
53 | printk(KERN_WARNING "cio: Invalid cio_ignore range " | 56 | pr_warning("0.%x.%04x to 0.%x.%04x is not a valid " |
54 | "0.%x.%04x-0.%x.%04x\n", from_ssid, from, | 57 | "range for cio_ignore\n", from_ssid, from, |
55 | to_ssid, to); | 58 | to_ssid, to); |
59 | |||
56 | return 1; | 60 | return 1; |
57 | } | 61 | } |
58 | 62 | ||
@@ -140,8 +144,8 @@ static int parse_busid(char *str, unsigned int *cssid, unsigned int *ssid, | |||
140 | rc = 0; | 144 | rc = 0; |
141 | out: | 145 | out: |
142 | if (rc && msgtrigger) | 146 | if (rc && msgtrigger) |
143 | printk(KERN_WARNING "cio: Invalid cio_ignore device '%s'\n", | 147 | pr_warning("%s is not a valid device for the cio_ignore " |
144 | str); | 148 | "kernel parameter\n", str); |
145 | 149 | ||
146 | return rc; | 150 | return rc; |
147 | } | 151 | } |