aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/mm
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2016-03-03 23:49:57 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-03-07 07:12:04 -0500
commitbaebc70a4db86515d55ff1f226088a8e7f5821a0 (patch)
tree191bc34400c2fcbd5efebb97cb015caf9cec7bcf /arch/s390/mm
parent543691a4e1e040300ce6598a6ce6527d3144e5db (diff)
s390: Use pr_warn instead of pr_warning
Convert the uses of pr_warning to pr_warn so there are fewer uses of the old pr_warning. Miscellanea: o Align arguments o Coalesce formats Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/mm')
-rw-r--r--arch/s390/mm/extmem.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/arch/s390/mm/extmem.c b/arch/s390/mm/extmem.c
index a1bf4ad8925d..02042b6b66bf 100644
--- a/arch/s390/mm/extmem.c
+++ b/arch/s390/mm/extmem.c
@@ -265,7 +265,7 @@ query_segment_type (struct dcss_segment *seg)
265 goto out_free; 265 goto out_free;
266 } 266 }
267 if (diag_cc > 1) { 267 if (diag_cc > 1) {
268 pr_warning("Querying a DCSS type failed with rc=%ld\n", vmrc); 268 pr_warn("Querying a DCSS type failed with rc=%ld\n", vmrc);
269 rc = dcss_diag_translate_rc (vmrc); 269 rc = dcss_diag_translate_rc (vmrc);
270 goto out_free; 270 goto out_free;
271 } 271 }
@@ -457,8 +457,7 @@ __segment_load (char *name, int do_nonshared, unsigned long *addr, unsigned long
457 goto out_resource; 457 goto out_resource;
458 } 458 }
459 if (diag_cc > 1) { 459 if (diag_cc > 1) {
460 pr_warning("Loading DCSS %s failed with rc=%ld\n", name, 460 pr_warn("Loading DCSS %s failed with rc=%ld\n", name, end_addr);
461 end_addr);
462 rc = dcss_diag_translate_rc(end_addr); 461 rc = dcss_diag_translate_rc(end_addr);
463 dcss_diag(&purgeseg_scode, seg->dcss_name, 462 dcss_diag(&purgeseg_scode, seg->dcss_name,
464 &dummy, &dummy); 463 &dummy, &dummy);
@@ -574,8 +573,7 @@ segment_modify_shared (char *name, int do_nonshared)
574 goto out_unlock; 573 goto out_unlock;
575 } 574 }
576 if (atomic_read (&seg->ref_count) != 1) { 575 if (atomic_read (&seg->ref_count) != 1) {
577 pr_warning("DCSS %s is in use and cannot be reloaded\n", 576 pr_warn("DCSS %s is in use and cannot be reloaded\n", name);
578 name);
579 rc = -EAGAIN; 577 rc = -EAGAIN;
580 goto out_unlock; 578 goto out_unlock;
581 } 579 }
@@ -588,8 +586,8 @@ segment_modify_shared (char *name, int do_nonshared)
588 seg->res->flags |= IORESOURCE_READONLY; 586 seg->res->flags |= IORESOURCE_READONLY;
589 587
590 if (request_resource(&iomem_resource, seg->res)) { 588 if (request_resource(&iomem_resource, seg->res)) {
591 pr_warning("DCSS %s overlaps with used memory resources " 589 pr_warn("DCSS %s overlaps with used memory resources and cannot be reloaded\n",
592 "and cannot be reloaded\n", name); 590 name);
593 rc = -EBUSY; 591 rc = -EBUSY;
594 kfree(seg->res); 592 kfree(seg->res);
595 goto out_del_mem; 593 goto out_del_mem;
@@ -607,8 +605,8 @@ segment_modify_shared (char *name, int do_nonshared)
607 goto out_del_res; 605 goto out_del_res;
608 } 606 }
609 if (diag_cc > 1) { 607 if (diag_cc > 1) {
610 pr_warning("Reloading DCSS %s failed with rc=%ld\n", name, 608 pr_warn("Reloading DCSS %s failed with rc=%ld\n",
611 end_addr); 609 name, end_addr);
612 rc = dcss_diag_translate_rc(end_addr); 610 rc = dcss_diag_translate_rc(end_addr);
613 goto out_del_res; 611 goto out_del_res;
614 } 612 }