Re: [PATCH linux-next] profiling: keep the error message in the mm-nonmm-unstable merge

From: Andrew Morton

Date: Mon Nov 16 2026 - 16:51:43 EST


On Mon, 16 Nov 2026 16:42:19 -0500 Sasha Levin <sashal@xxxxxxxxxx> wrote:

> Commit 944b8062bc6f ("profiling: report it when /proc/profile can't be
> created") in the vfs-brauner-fixes tree and commit 091be6dce28a
> ("perf/profile: report failure to create /proc/profile") in the
> mm-nonmm-unstable tree both make create_proc_profile() return -ENOMEM
> when proc_create() fails.

Yeah, two near-identical patches were in flight at the same time. I've
dropped 091be6dce28a.

> The second one also prints an error, as the
> return value of an initcall is not shown to anyone.

Unless they use initcall_debug.

> The merge resolution
> took the first version, so the message is gone.
>
> Keep the pr_err().

OK, this turns 944b8062bc6f into 091be6dce28a, ack.