mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-17 17:53:56 +08:00
scsi: tcmu: Don't pass KERN_ERR to pr_err
Fix warning: smatch warnings: drivers/target/target_core_user.c:301 tcmu_genl_cmd_done() warn: KERN_* level not at start of string Signed-off-by: Mike Christie <mchristi@redhat.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
328728630d
commit
0c218e16a8
@ -383,7 +383,7 @@ static int tcmu_genl_cmd_done(struct genl_info *info, int completed_cmd)
|
||||
}
|
||||
|
||||
if (!udev) {
|
||||
pr_err(KERN_ERR "tcmu nl cmd %u/%d completion could not find device with dev id %u.\n",
|
||||
pr_err("tcmu nl cmd %u/%d completion could not find device with dev id %u.\n",
|
||||
completed_cmd, rc, dev_id);
|
||||
ret = -ENODEV;
|
||||
goto unlock;
|
||||
|
Loading…
Reference in New Issue
Block a user