treewide: kzalloc() -> kcalloc()
[sfrench/cifs-2.6.git] / drivers / sh / maple / maple.c
index 7525039d812cebdc44f8d6f2f41e37355cdda742..2e45988d1259c9cf0573cb00604c97d86218e83b 100644 (file)
@@ -161,7 +161,7 @@ int maple_add_packet(struct maple_device *mdev, u32 function, u32 command,
        void *sendbuf = NULL;
 
        if (length) {
-               sendbuf = kzalloc(length * 4, GFP_KERNEL);
+               sendbuf = kcalloc(length, 4, GFP_KERNEL);
                if (!sendbuf) {
                        ret = -ENOMEM;
                        goto out;