mirror of https://gitee.com/openkylin/linux.git
scsi: ufs-bsg: fix typo in ufs_bsg_request
Correct dev_dbg to dev_err, so as to print out the error information in case of DME command failed. Signed-off-by: Bean Huo <beanhuo@micron.com> Reviewed-by: Avri Altman <Avri.Altman@wdc.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
62b52c8ce9
commit
c870d65fe3
|
@ -122,7 +122,7 @@ static int ufs_bsg_request(struct bsg_job *job)
|
||||||
memcpy(&uc, &bsg_request->upiu_req.uc, UIC_CMD_SIZE);
|
memcpy(&uc, &bsg_request->upiu_req.uc, UIC_CMD_SIZE);
|
||||||
ret = ufshcd_send_uic_cmd(hba, &uc);
|
ret = ufshcd_send_uic_cmd(hba, &uc);
|
||||||
if (ret)
|
if (ret)
|
||||||
dev_dbg(hba->dev,
|
dev_err(hba->dev,
|
||||||
"send uic cmd: error code %d\n", ret);
|
"send uic cmd: error code %d\n", ret);
|
||||||
|
|
||||||
memcpy(&bsg_reply->upiu_rsp.uc, &uc, UIC_CMD_SIZE);
|
memcpy(&bsg_reply->upiu_rsp.uc, &uc, UIC_CMD_SIZE);
|
||||||
|
|
Loading…
Reference in New Issue