On Tue, Apr 07, 2015 at 06:35:51PM +0300, Giedrius Statkevičius wrote: > Well, the point of the patch is to put alloc and checks in one place to make the > code less error and bug prone and fix some of bugs where ->channels[i] isn't > checked. Fine, fine. I can accept that. One patch is also ok. regards, dan carpenter _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel