Merge branch 'for-linville' of git://github.com/kvalo/ath6kl
[cascardo/linux.git] / drivers / uwb / est.c
index de81ebf..86ed7e6 100644 (file)
@@ -184,7 +184,7 @@ int uwb_est_create(void)
 
        uwb_est_size = 2;
        uwb_est_used = 0;
-       uwb_est = kzalloc(uwb_est_size * sizeof(uwb_est[0]), GFP_KERNEL);
+       uwb_est = kcalloc(uwb_est_size, sizeof(uwb_est[0]), GFP_KERNEL);
        if (uwb_est == NULL)
                return -ENOMEM;