diff --git a/kernel/static_call.c b/kernel/static_call.c index d38f6a92e3e4e7f95e1cef5def02d8b69d56b8ee..a5df28b2bc1b6588d5131834ae3a55d8ebb6c071 100644 --- a/kernel/static_call.c +++ b/kernel/static_call.c @@ -437,7 +437,7 @@ static int static_call_module_notify(struct notifier_block *nb, case MODULE_STATE_COMING: ret = static_call_add_module(mod); if (ret) { - WARN(1, "Failed to allocate memory for static calls"); + pr_warn("Failed to allocate memory for static calls\n"); static_call_del_module(mod); } break;