treewide: kzalloc() -> kcalloc()
[linux-2.6-microblaze.git] / drivers / misc / sgi-xp / xpc_partition.c
index 6956f7e..7284413 100644 (file)
@@ -425,7 +425,7 @@ xpc_discovery(void)
        if (remote_rp == NULL)
                return;
 
-       discovered_nasids = kzalloc(sizeof(long) * xpc_nasid_mask_nlongs,
+       discovered_nasids = kcalloc(xpc_nasid_mask_nlongs, sizeof(long),
                                    GFP_KERNEL);
        if (discovered_nasids == NULL) {
                kfree(remote_rp_base);