summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/vhost/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/vhost/test.c')
-rw-r--r--kernel/drivers/vhost/test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/drivers/vhost/test.c b/kernel/drivers/vhost/test.c
index d9c501eaa..f2882ac98 100644
--- a/kernel/drivers/vhost/test.c
+++ b/kernel/drivers/vhost/test.c
@@ -277,10 +277,13 @@ static long vhost_test_ioctl(struct file *f, unsigned int ioctl,
return -EFAULT;
return 0;
case VHOST_SET_FEATURES:
+ printk(KERN_ERR "1\n");
if (copy_from_user(&features, featurep, sizeof features))
return -EFAULT;
+ printk(KERN_ERR "2\n");
if (features & ~VHOST_FEATURES)
return -EOPNOTSUPP;
+ printk(KERN_ERR "3\n");
return vhost_test_set_features(n, features);
case VHOST_RESET_OWNER:
return vhost_test_reset_owner(n);