diff options
author | Joe Perches <joe@perches.com> | 2016-03-04 05:49:57 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-03-07 13:12:04 +0100 |
commit | baebc70a4db86515d55ff1f226088a8e7f5821a0 (patch) | |
tree | 191bc34400c2fcbd5efebb97cb015caf9cec7bcf /drivers/s390/char/sclp_cpi_sys.c | |
parent | s390/dasd: remove casts to dasd_*_private (diff) | |
download | linux-baebc70a4db86515d55ff1f226088a8e7f5821a0.tar.xz linux-baebc70a4db86515d55ff1f226088a8e7f5821a0.zip |
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 'drivers/s390/char/sclp_cpi_sys.c')
-rw-r--r-- | drivers/s390/char/sclp_cpi_sys.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/s390/char/sclp_cpi_sys.c b/drivers/s390/char/sclp_cpi_sys.c index 2acea809e2ac..f344e5bd2d9f 100644 --- a/drivers/s390/char/sclp_cpi_sys.c +++ b/drivers/s390/char/sclp_cpi_sys.c @@ -154,16 +154,14 @@ static int cpi_req(void) wait_for_completion(&completion); if (req->status != SCLP_REQ_DONE) { - pr_warning("request failed (status=0x%02x)\n", - req->status); + pr_warn("request failed (status=0x%02x)\n", req->status); rc = -EIO; goto out_free_req; } response = ((struct cpi_sccb *) req->sccb)->header.response_code; if (response != 0x0020) { - pr_warning("request failed with response code 0x%x\n", - response); + pr_warn("request failed with response code 0x%x\n", response); rc = -EIO; } |