Skip to contentSkip to conversation

fwctl: fix repeated device word in log message

PATCH In review Shannon Nelson 3 participants 3 messages Apr 8, 2025 – Apr 9, 2025 Fwctl

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fwctl: fix repeated device word in log message

Remove the repeated word "device" from a dev_warn() message.

---
 drivers/fwctl/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/fwctl/main.c +1 -1
index cb1ac9c40239..bc6378506296 100644
@@ -105,7 +105,7 @@ static int fwctl_cmd_rpc(struct fwctl_ucmd *ucmd)
 		if (!test_and_set_bit(0, &fwctl_tainted)) {
 			dev_warn(
 				&fwctl->dev,
-				"%s(%d): has requested full access to the physical device device",
+				"%s(%d): has requested full access to the physical device",
 				current->comm, task_pid_nr(current));
 			add_taint(TAINT_FWCTL, LOCKDEP_STILL_OK);
 		}
Signature · 1 line
2.17.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Shannon Nelson

Remove the repeated word "device" from a dev_warn() message.

Quoted 17 lines
---
 drivers/fwctl/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/fwctl/main.c +1 -1
index cb1ac9c40239..bc6378506296 100644
@@ -105,7 +105,7 @@ static int fwctl_cmd_rpc(struct fwctl_ucmd *ucmd)
 		if (!test_and_set_bit(0, &fwctl_tainted)) {
 			dev_warn(
 				&fwctl->dev,
-				"%s(%d): has requested full access to the physical device device",
+				"%s(%d): has requested full access to the physical device",
 				current->comm, task_pid_nr(current));
 			add_taint(TAINT_FWCTL, LOCKDEP_STILL_OK);
 		}