Re: [PATCH] dmaengine: mediatek: fix zalloc-simple.cocci warnings

2018-02-03 Thread Julia Lawall
On Sat, 3 Feb 2018, Julia Lawall wrote: > From: Fengguang Wu > > Use zeroing allocator rather than allocator followed by memset with 0 > > Generated by: scripts/coccinelle/api/alloc/zalloc-simple.cocci > > Fixes: 73006a033ef0 ("dmaengine: mediatek: Add MediaTek

Re: [PATCH] dmaengine: mediatek: fix zalloc-simple.cocci warnings

2018-02-03 Thread Julia Lawall
On Sat, 3 Feb 2018, Julia Lawall wrote: > From: Fengguang Wu > > Use zeroing allocator rather than allocator followed by memset with 0 > > Generated by: scripts/coccinelle/api/alloc/zalloc-simple.cocci > > Fixes: 73006a033ef0 ("dmaengine: mediatek: Add MediaTek High-Speed DMA > controller

[PATCH] dmaengine: mediatek: fix zalloc-simple.cocci warnings

2018-02-03 Thread Julia Lawall
From: Fengguang Wu Use zeroing allocator rather than allocator followed by memset with 0 Generated by: scripts/coccinelle/api/alloc/zalloc-simple.cocci Fixes: 73006a033ef0 ("dmaengine: mediatek: Add MediaTek High-Speed DMA controller for MT7622 and MT7623 SoC") CC:

[PATCH] dmaengine: mediatek: fix zalloc-simple.cocci warnings

2018-02-03 Thread Julia Lawall
From: Fengguang Wu Use zeroing allocator rather than allocator followed by memset with 0 Generated by: scripts/coccinelle/api/alloc/zalloc-simple.cocci Fixes: 73006a033ef0 ("dmaengine: mediatek: Add MediaTek High-Speed DMA controller for MT7622 and MT7623 SoC") CC: Sean Wang Signed-off-by: