diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/objagg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/objagg.c b/lib/objagg.c index e00cb6758c31..23c7105a3f9f 100644 --- a/lib/objagg.c +++ b/lib/objagg.c @@ -611,7 +611,7 @@ const struct objagg_stats *objagg_stats_get(struct objagg *objagg) int i; objagg_stats = kzalloc_flex(*objagg_stats, stats_info, - objagg->obj_count, GFP_KERNEL); + objagg->obj_count); if (!objagg_stats) return ERR_PTR(-ENOMEM); @@ -1011,7 +1011,7 @@ objagg_hints_stats_get(struct objagg_hints *objagg_hints) int i; objagg_stats = kzalloc_flex(*objagg_stats, stats_info, - objagg_hints->node_count, GFP_KERNEL); + objagg_hints->node_count); if (!objagg_stats) return ERR_PTR(-ENOMEM); |
