projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: kzalloc() -> kcalloc()
[linux-2.6-block.git]
/
drivers
/
video
/
fbdev
/
omap2
/
omapfb
/
dss
/
manager.c
diff --git
a/drivers/video/fbdev/omap2/omapfb/dss/manager.c
b/drivers/video/fbdev/omap2/omapfb/dss/manager.c
index 69f86d2cc274db90070abccbe248b3924adab7fd..d21c641e1f3c8008e41a752ad66eb131a6c02822 100644
(file)
--- a/
drivers/video/fbdev/omap2/omapfb/dss/manager.c
+++ b/
drivers/video/fbdev/omap2/omapfb/dss/manager.c
@@
-42,8
+42,8
@@
int dss_init_overlay_managers(void)
num_managers = dss_feat_get_num_mgrs();
- managers = k
zalloc(sizeof(struct omap_overlay_manager) * num_managers
,
- GFP_KERNEL);
+ managers = k
calloc(num_managers, sizeof(struct omap_overlay_manager)
,
+
GFP_KERNEL);
BUG_ON(managers == NULL);