summaryrefslogtreecommitdiff
path: root/kernel/liveupdate/luo_flb.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/liveupdate/luo_flb.c')
-rw-r--r--kernel/liveupdate/luo_flb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/liveupdate/luo_flb.c b/kernel/liveupdate/luo_flb.c
index 5f2cdf9caa7b..f52e8114837e 100644
--- a/kernel/liveupdate/luo_flb.c
+++ b/kernel/liveupdate/luo_flb.c
@@ -343,7 +343,7 @@ int liveupdate_register_flb(struct liveupdate_file_handler *fh,
if (WARN_ON(list_empty(&ACCESS_PRIVATE(fh, list))))
return -EINVAL;
- link = kzalloc_obj(*link, GFP_KERNEL);
+ link = kzalloc_obj(*link);
if (!link)
return -ENOMEM;