Commit c870d65f authored by Bean Huo's avatar Bean Huo Committed by Martin K. Petersen

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: default avatarBean Huo <beanhuo@micron.com>
Reviewed-by: default avatarAvri Altman <Avri.Altman@wdc.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 62b52c8c
...@@ -122,7 +122,7 @@ static int ufs_bsg_request(struct bsg_job *job) ...@@ -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);
......
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