Message ID | 04ced4fa-90b5-4dd7-8f50-2f898b2c0855@web.de (mailing list archive) |
---|---|
State | Rejected |
Headers | show |
Series | dmaengine: timb_dma: Adjustments for td_alloc_init_desc() | expand |
diff --git a/drivers/dma/timb_dma.c b/drivers/dma/timb_dma.c index abcab0b1ad3b..fc1f67bf9c06 100644 --- a/drivers/dma/timb_dma.c +++ b/drivers/dma/timb_dma.c @@ -325,7 +325,7 @@ static struct timb_dma_desc *td_alloc_init_desc(struct timb_dma_chan *td_chan) struct timb_dma_desc *td_desc; int err; - td_desc = kzalloc(sizeof(struct timb_dma_desc), GFP_KERNEL); + td_desc = kzalloc(sizeof(*td_desc), GFP_KERNEL); if (!td_desc) return NULL;