arm: imx: Zero entire imxdma structure
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 20 Feb 2011 22:10:51 +0000 (17:10 -0500)
committerSascha Hauer <s.hauer@pengutronix.de>
Thu, 10 Mar 2011 13:24:53 +0000 (14:24 +0100)
commitf7fdaca910e6bc13659ecdffc28c97938b752e01
tree3c93511e87c758e81e8a9c9d3945191afdb38785
parentbb0a80e394b512028ad6cf4c86157d4f9db5aab8
arm: imx: Zero entire imxdma structure

The semantic match that finds the problem:
// <smpl>
@@
type T;
identifier x;
@@

T *x;
...
* memset(x, ..., ... * sizeof(x) * ...);
// </smpl>

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-imx/dma-v1.c