Commit bfdd7c58cf3392333bba161491a2ef0741b970ba

Authored by Sergei Shtylyov
Committed by Jeff Garzik
1 parent 77c5fd1907

pata_hpt{366|37x}: use pr_warning(...) instead of printk(KERN_WARNING ...)

... in hpt_dma_blacklisted().

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>

Showing 2 changed files with 6 additions and 6 deletions Side-by-side Diff

drivers/ata/pata_hpt366.c
... ... @@ -25,7 +25,7 @@
25 25 #include <linux/libata.h>
26 26  
27 27 #define DRV_NAME "pata_hpt366"
28   -#define DRV_VERSION "0.6.9"
  28 +#define DRV_VERSION "0.6.10"
29 29  
30 30 struct hpt_clock {
31 31 u8 xfer_mode;
... ... @@ -160,8 +160,8 @@
160 160  
161 161 while (list[i] != NULL) {
162 162 if (!strcmp(list[i], model_num)) {
163   - printk(KERN_WARNING DRV_NAME ": %s is not supported for %s.\n",
164   - modestr, list[i]);
  163 + pr_warning(DRV_NAME ": %s is not supported for %s.\n",
  164 + modestr, list[i]);
165 165 return 1;
166 166 }
167 167 i++;
drivers/ata/pata_hpt37x.c
... ... @@ -24,7 +24,7 @@
24 24 #include <linux/libata.h>
25 25  
26 26 #define DRV_NAME "pata_hpt37x"
27   -#define DRV_VERSION "0.6.18"
  27 +#define DRV_VERSION "0.6.19"
28 28  
29 29 struct hpt_clock {
30 30 u8 xfer_speed;
... ... @@ -229,8 +229,8 @@
229 229  
230 230 while (list[i] != NULL) {
231 231 if (!strcmp(list[i], model_num)) {
232   - printk(KERN_WARNING DRV_NAME ": %s is not supported for %s.\n",
233   - modestr, list[i]);
  232 + pr_warning(DRV_NAME ": %s is not supported for %s.\n",
  233 + modestr, list[i]);
234 234 return 1;
235 235 }
236 236 i++;