projects
/
linux-2.6-microblaze.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-microblaze.git]
/
drivers
/
gpu
/
drm
/
amd
/
display
/
dc
/
gpio
/
gpio_service.c
diff --git
a/drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c
b/drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c
index
80038e0
..
ab5483c
100644
(file)
--- a/
drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c
+++ b/
drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c
@@
-98,7
+98,8
@@
struct gpio_service *dal_gpio_service_create(
if (number_of_bits) {
uint32_t index_of_uint = 0;
- slot = kzalloc(number_of_uints * sizeof(uint32_t),
+ slot = kcalloc(number_of_uints,
+ sizeof(uint32_t),
GFP_KERNEL);
if (!slot) {