]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/block/aoe/aoechr.c
aoe: kernel thread handles I/O completions for simple locking
[karo-tx-linux.git] / drivers / block / aoe / aoechr.c
index e86d2062a1641f36ff2bc0200d286f433e56fb27..f145388cb94ab9c7308750a275d9ec77877c8c5b 100644 (file)
@@ -86,10 +86,9 @@ revalidate(const char __user *str, size_t size)
        if (copy_from_user(buf, str, size))
                return -EFAULT;
 
-       /* should be e%d.%d format */
        n = sscanf(buf, "e%d.%d", &major, &minor);
        if (n != 2) {
-               printk(KERN_ERR "aoe: invalid device specification\n");
+               pr_err("aoe: invalid device specification %s\n", buf);
                return -EINVAL;
        }
        d = aoedev_by_aoeaddr(major, minor);