s390: Use pr_warn instead of pr_warning
[cascardo/linux.git] / drivers / s390 / cio / blacklist.c
index 20314aa..9082476 100644 (file)
@@ -51,9 +51,8 @@ static int blacklist_range(range_action action, unsigned int from_ssid,
 {
        if ((from_ssid > to_ssid) || ((from_ssid == to_ssid) && (from > to))) {
                if (msgtrigger)
-                       pr_warning("0.%x.%04x to 0.%x.%04x is not a valid "
-                                  "range for cio_ignore\n", from_ssid, from,
-                                  to_ssid, to);
+                       pr_warn("0.%x.%04x to 0.%x.%04x is not a valid range for cio_ignore\n",
+                               from_ssid, from, to_ssid, to);
 
                return 1;
        }
@@ -140,8 +139,8 @@ static int parse_busid(char *str, unsigned int *cssid, unsigned int *ssid,
        rc = 0;
 out:
        if (rc && msgtrigger)
-               pr_warning("%s is not a valid device for the cio_ignore "
-                          "kernel parameter\n", str);
+               pr_warn("%s is not a valid device for the cio_ignore kernel parameter\n",
+                       str);
 
        return rc;
 }