Re: [PATCH] drivers/media/pci/solo6x10/solo6x10-disp.c: check kzalloc() result
From: Mauro Carvalho Chehab
Date: Sat Jul 26 2014 - 09:22:22 EST
Em Sat, 26 Jul 2014 09:13:12 +0300
Dan Carpenter <dan.carpenter@xxxxxxxxxx> escreveu:
> On Fri, Jul 25, 2014 at 09:32:36PM +0300, Andrey Utkin wrote:
> > Please ignore. I didn't notice that Hans has already posted a patch
> > fixing that and more.
> Heh. I was just about to send my fix for this bug as well.
> I don't follow linux-media so I didn't realize this driver was getting
> promoted out of staging. I wish there was a way to go over drivers and
> fix any basic static checker fixes before promotion.
When I promote a driver out of staging, I run checkpatch again, in
order to check if everything is fine. It would be nice to have a
checkpatch-like script that would also run the static checker
checks for that particular patch. With that, I could, instead,
use such script when promoting patches or handling patches adding
new files to the Kernel.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/