On Thu, Dec 08, 2016 at 03:53:42PM +0100, bojan prtvar wrote: > Hi Dan, > > On Thu, Dec 8, 2016 at 12:32 PM, Dan Carpenter <dan.carpenter@xxxxxxxxxx> wrote: > > - if ((err = copy_from_user(&image_type, buf, sizeof(uint32_t))) != 0) > > - return err; > > Why not delete err? Gar... I'm sorry. I'll resend. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html