Commit 4849494f authored by Jan Höppner's avatar Jan Höppner Committed by Jens Axboe

s390/dasd: Move allocation error message to DBF

All error messages for a failling dasd_smalloc_request() call are logged
via DBF, except one. There is no value in logging this particular
allocation failure via dev_err(). Move the message to DBF, too, to be
in line with the rest.
Signed-off-by: default avatarJan Höppner <hoeppner@linux.ibm.com>
Reviewed-by: default avatarStefan Haberland <sth@linux.ibm.com>
Signed-off-by: default avatarStefan Haberland <sth@linux.ibm.com>
Link: https://lore.kernel.org/r/20240208164248.540985-5-sth@linux.ibm.comSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 8d7ac904
...@@ -3963,10 +3963,8 @@ static struct dasd_ccw_req *dasd_generic_build_rdc(struct dasd_device *device, ...@@ -3963,10 +3963,8 @@ static struct dasd_ccw_req *dasd_generic_build_rdc(struct dasd_device *device,
NULL); NULL);
if (IS_ERR(cqr)) { if (IS_ERR(cqr)) {
/* internal error 13 - Allocating the RDC request failed*/ DBF_EVENT_DEVID(DBF_WARNING, device->cdev, "%s",
dev_err(&device->cdev->dev, "Could not allocate RDC request");
"An error occurred in the DASD device driver, "
"reason=%s\n", "13");
return cqr; return cqr;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment