[PATCH v4 1/3] firmware: fix typo on pr_info_once() when ignore_sysfs_fallback is used

From: Luis R. Rodriguez
Date: Wed Mar 21 2018 - 18:34:45 EST


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@xxxxxxxxxx>
---
drivers/base/firmware_loader/fallback.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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)
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;
}

--
2.16.2