firmware: fix typo on pr_info_once() when ignore_sysfs_fallback is used
authorLuis R. Rodriguez <mcgrof@kernel.org>
Wed, 21 Mar 2018 22:34:28 +0000 (15:34 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Mar 2018 17:33:26 +0000 (18:33 +0100)
When the sysctl knob is used ignore the fallback mechanism we pr_info_once()
to ensure its noted the knob was used. The print incorrectly states its a
debugfs knob, its a sysctl knob, so correct this typo.

Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/firmware_loader/fallback.c

index d231bbc..31b5015 100644 (file)
@@ -652,7 +652,7 @@ static bool fw_force_sysfs_fallback(unsigned int opt_flags)
 static bool fw_run_sysfs_fallback(unsigned int opt_flags)
 {
        if (fw_fallback_config.ignore_sysfs_fallback) {
-               pr_info_once("Ignoring firmware sysfs fallback due to debugfs knob\n");
+               pr_info_once("Ignoring firmware sysfs fallback due to sysctl knob\n");
                return false;
        }