]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
fs_context: fix parameter name in infofc() macro
authorRubenKelevra <rubenkelevra@gmail.com>
Tue, 17 Jun 2025 23:09:27 +0000 (01:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Aug 2025 10:04:52 +0000 (12:04 +0200)
commitf54f2cde61eb51ddcd13798a841fb459cb462d4b
treea7fce989950507157a57f815238b50bf2a992333
parent31079d810c6c80bb27fb3c71dd0e3acf9938589f
fs_context: fix parameter name in infofc() macro

[ Upstream commit ffaf1bf3737f706e4e9be876de4bc3c8fc578091 ]

The macro takes a parameter called "p" but references "fc" internally.
This happens to compile as long as callers pass a variable named fc,
but breaks otherwise. Rename the first parameter to “fc” to match the
usage and to be consistent with warnfc() / errorfc().

Fixes: a3ff937b33d9 ("prefix-handling analogues of errorf() and friends")
Signed-off-by: RubenKelevra <rubenkelevra@gmail.com>
Link: https://lore.kernel.org/20250617230927.1790401-1-rubenkelevra@gmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/fs_context.h