projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
s390: Use pr_warn instead of pr_warning
[cascardo/linux.git]
/
drivers
/
s390
/
char
/
sclp_cpi_sys.c
diff --git
a/drivers/s390/char/sclp_cpi_sys.c
b/drivers/s390/char/sclp_cpi_sys.c
index
2acea80
..
f344e5b
100644
(file)
--- 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) {
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) {
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;
}
rc = -EIO;
}