diff options
author | Luis R. Rodriguez <mcgrof@kernel.org> | 2018-03-21 18:34:28 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-22 13:33:26 -0400 |
commit | c6263a48459934c9d07153e6d7f0fa43462d8dd2 (patch) | |
tree | b39949f1079df084af6aeabe1c4f4ab191172041 /drivers/base/firmware_loader/fallback.c | |
parent | ccce305bd411f1c3a15eb8ca3b3cf827e38bd47c (diff) |
firmware: fix typo on pr_info_once() when ignore_sysfs_fallback is used
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>
Diffstat (limited to 'drivers/base/firmware_loader/fallback.c')
-rw-r--r-- | drivers/base/firmware_loader/fallback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/firmware_loader/fallback.c b/drivers/base/firmware_loader/fallback.c index d231bbcb95d7..31b5015b59fe 100644 --- a/drivers/base/firmware_loader/fallback.c +++ b/drivers/base/firmware_loader/fallback.c | |||
@@ -652,7 +652,7 @@ static bool fw_force_sysfs_fallback(unsigned int opt_flags) | |||
652 | static bool fw_run_sysfs_fallback(unsigned int opt_flags) | 652 | static bool fw_run_sysfs_fallback(unsigned int opt_flags) |
653 | { | 653 | { |
654 | if (fw_fallback_config.ignore_sysfs_fallback) { | 654 | if (fw_fallback_config.ignore_sysfs_fallback) { |
655 | pr_info_once("Ignoring firmware sysfs fallback due to debugfs knob\n"); | 655 | pr_info_once("Ignoring firmware sysfs fallback due to sysctl knob\n"); |
656 | return false; | 656 | return false; |
657 | } | 657 | } |
658 | 658 | ||