]> git.ipfire.org Git - thirdparty/linux.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)
committerChristian Brauner <brauner@kernel.org>
Wed, 18 Jun 2025 09:20:19 +0000 (11:20 +0200)
commitffaf1bf3737f706e4e9be876de4bc3c8fc578091
tree5fdaadaed2b91811d3d67c3376828905d92d6175
parentbc9241367aac08de44633fd957b2452a6da8e6d4
fs_context: fix parameter name in infofc() macro

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>
include/linux/fs_context.h