[PATCH] bfq: Replace kmalloc_node with kzalloc_node

From: Xianting Tian
Date: Tue Nov 19 2019 - 10:05:10 EST


Replace kmalloc_node with kzalloc_node

Signed-off-by: Xianting Tian <xianting_tian@xxxxxxx>
---
block/bfq-cgroup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/block/bfq-cgroup.c b/block/bfq-cgroup.c
index 86a607c..9a84d79 100644
--- a/block/bfq-cgroup.c
+++ b/block/bfq-cgroup.c
@@ -1385,7 +1385,7 @@ struct bfq_group *bfq_create_group_hierarchy(struct bfq_data *bfqd, int node)
struct bfq_group *bfqg;
int i;

- bfqg = kmalloc_node(sizeof(*bfqg), GFP_KERNEL | __GFP_ZERO, node);
+ bfqg = kzalloc_node(sizeof(*bfqg), GFP_KERNEL, node);
if (!bfqg)
return NULL;

--
1.8.3.1