]> www.infradead.org Git - nvme.git/commitdiff
fwctl: Fix repeated device word in log message
authorShannon Nelson <shannon.nelson@amd.com>
Tue, 8 Apr 2025 22:33:00 +0000 (15:33 -0700)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 11 Apr 2025 23:47:45 +0000 (20:47 -0300)
Remove the repeated word "device" from a dev_warn() message.

Link: https://patch.msgid.link/r/20250408223300.24561-1-shannon.nelson@amd.com
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/fwctl/main.c

index cb1ac9c4023938ac526e1658f06c20470861c630..bc6378506296cdc6fefb12d685278105461b3193 100644 (file)
@@ -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);
                }