From: Heiko Carstens Date: Fri, 14 Nov 2008 17:18:01 +0000 (+0100) Subject: [S390] sclp: emit error message if assign storage fails X-Git-Tag: v2.6.28-rc5~8^2~8 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=675be97a32a5f12650b86391b7431f1e10811f1e;p=linux-2.6-omap-h63xx.git [S390] sclp: emit error message if assign storage fails Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/drivers/s390/char/sclp_cmd.c b/drivers/s390/char/sclp_cmd.c index eb5f1b8bc57..ec9c0bcf66e 100644 --- a/drivers/s390/char/sclp_cmd.c +++ b/drivers/s390/char/sclp_cmd.c @@ -324,6 +324,9 @@ static int do_assign_storage(sclp_cmdw_t cmd, u16 rn) case 0x0120: break; default: + pr_warning("assign storage failed (cmd=0x%08x, " + "response=0x%04x, rn=0x%04x)\n", cmd, + sccb->header.response_code, rn); rc = -EIO; break; }