Re: [PATCH 1/3] [media] au0828-video: Use kcalloc() in au0828_init_isoc()

From: Dan Carpenter
Date: Tue Oct 25 2016 - 04:41:11 EST


On Mon, Oct 24, 2016 at 10:59:24PM +0200, SF Markus Elfring wrote:
> + dev->isoc_ctl.transfer_buffer = kcalloc(num_bufs,
> + sizeof(*dev->isoc_ctl
> + .transfer_buffer),

This is ugly.

regards,
dan carpenter