History

vhost: correct the related warning message

Fixes: 'commit d588cf8f618d ("target: Fix se_tpg_tfo->tf_subsys regression + remove tf_subsystem")' 'commit cbbd26b8b1a6 ("[iov_iter] new primitives - copy_from_iter_full() and friends")'

wangyan committed 7 years ago

Commit a691ffb1 parent 4b867131 file · +2 −2Browse files

Unified · Split

drivers/vhost/scsi.c+2−2
@@ -889,7 +889,7 @@ vhost_scsi_get_req(struct vhost_virtqueue *vq, struct vhost_scsi_ctx *vc, · 888 unmodified lines
889889
890890 if (unlikely(!copy_from_iter_full(vc->req, vc->req_size,
891891 &vc->out_iter))) {
892− vq_err(vq, "Faulted on copy_from_iter\n");
892+ vq_err(vq, "Faulted on copy_from_iter_full\n");
893893 } else if (unlikely(*vc->lunp != 1)) {
894894 /* virtio-scsi spec requires byte 0 of the lun to be 1 */
895895 vq_err(vq, "Illegal virtio-scsi lun: %u\n", *vc->lunp);
@@ -1441,7 +1441,7 @@ vhost_scsi_set_endpoint(struct vhost_scsi *vs, · 545 unmodified lines
14411441 se_tpg = &tpg->se_tpg;
14421442 ret = target_depend_item(&se_tpg->tpg_group.cg_item);
14431443 if (ret) {
1444− pr_warn("configfs_depend_item() failed: %d\n", ret);
1444+ pr_warn("target_depend_item() failed: %d\n", ret);
14451445 kfree(vs_tpg);
14461446 mutex_unlock(&tpg->tv_tpg_mutex);
14471447 goto out;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t