summaryrefslogtreecommitdiffstats
path: root/arch/sh/drivers/dma/dmabrg.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/drivers/dma/dmabrg.c')
-rw-r--r--arch/sh/drivers/dma/dmabrg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/drivers/dma/dmabrg.c b/arch/sh/drivers/dma/dmabrg.c
index c0dd904483c7..e5a57a109d6c 100644
--- a/arch/sh/drivers/dma/dmabrg.c
+++ b/arch/sh/drivers/dma/dmabrg.c
@@ -154,7 +154,7 @@ static int __init dmabrg_init(void)
unsigned long or;
int ret;
- dmabrg_handlers = kzalloc(10 * sizeof(struct dmabrg_handler),
+ dmabrg_handlers = kcalloc(10, sizeof(struct dmabrg_handler),
GFP_KERNEL);
if (!dmabrg_handlers)
return -ENOMEM;