On Wed, Feb 15, 2017 at 12:02 AM, Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote: > copy_from_user() returns the number of bytes remaining to be copied but > we want to return negative error codes on failue. > > Fixes: 9202ba2397d1 ("gpio: mockup: implement event injecting over debugfs") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Patch applied for fixes. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html