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:

committed by
Martin K. Petersen

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);
|
||||
ret = ufshcd_send_uic_cmd(hba, &uc);
|
||||
if (ret)
|
||||
dev_dbg(hba->dev,
|
||||
dev_err(hba->dev,
|
||||
"send uic cmd: error code %d\n", ret);
|
||||
|
||||
memcpy(&bsg_reply->upiu_rsp.uc, &uc, UIC_CMD_SIZE);
|
||||
|
Reference in New Issue
Block a user