aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/uwb/est.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/uwb/est.c')
-rw-r--r--drivers/uwb/est.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/uwb/est.c b/drivers/uwb/est.c
index de81ebf51784..86ed7e61e597 100644
--- a/drivers/uwb/est.c
+++ b/drivers/uwb/est.c
@@ -184,7 +184,7 @@ int uwb_est_create(void)
184 184
185 uwb_est_size = 2; 185 uwb_est_size = 2;
186 uwb_est_used = 0; 186 uwb_est_used = 0;
187 uwb_est = kzalloc(uwb_est_size * sizeof(uwb_est[0]), GFP_KERNEL); 187 uwb_est = kcalloc(uwb_est_size, sizeof(uwb_est[0]), GFP_KERNEL);
188 if (uwb_est == NULL) 188 if (uwb_est == NULL)
189 return -ENOMEM; 189 return -ENOMEM;
190 190