Le 21/01/2017 à 19:12, SF Markus Elfring a écrit :
@@ -541,9 +543,8 @@ static int clp_normal_command(struct clp_req *req) if (rc) goto out_free;- rc = -EFAULT;if (copy_to_user(uptr, lpcb, PAGE_SIZE) != 0) - goto out_free; + rc = -EFAULT;rc = 0;
With this, we return 0 (success) on error. CJ