Em Mon, 14 Dec 2015 23:04:34 +0300 Dan Carpenter <dan.carpenter@xxxxxxxxxx> escreveu: > On Mon, Dec 14, 2015 at 06:00:52PM -0200, Mauro Carvalho Chehab wrote: > > I guess gcc optimizer actually does the right thing, but we should > > fix it to remove the static analyzer warnings. > > It probably crashes if you enable poisoning freed memory? (I haven't > tested). I tested with KASAN: when I made such patch: it worked fine. I suspect that gcc optimized the code to cache the value. Anyway, this should be fixed. Thanks for pointing the issue! Regards, Mauro -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html