diff mbox series

[10/10] target: iscsi: Improve a log message

Message ID 20241129153056.6985-11-a.kovaleva@yadro.com
State New
Headers show
Series Improve SCSI target logs | expand

Commit Message

Anastasia Kovaleva Nov. 29, 2024, 3:30 p.m. UTC
Change the log message to a useful one.

Reviewed-by: Dmitriy Bogdanov <d.bogdanov@yadro.com>
Signed-off-by: Anastasia Kovaleva <a.kovaleva@yadro.com>
---
 drivers/target/iscsi/iscsi_target_parameters.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/target/iscsi/iscsi_target_parameters.c b/drivers/target/iscsi/iscsi_target_parameters.c
index 9eae01538696..587a7a69405b 100644
--- a/drivers/target/iscsi/iscsi_target_parameters.c
+++ b/drivers/target/iscsi/iscsi_target_parameters.c
@@ -1143,7 +1143,7 @@  static int iscsi_check_value(struct iscsi_param *param, char *value)
 			if (iscsi_check_string_or_list_value(param, value) < 0)
 				return -1;
 		} else {
-			target_err("Huh? 0x%02x\n", param->type);
+			target_err("Unknown parameter: 0x%02x\n", param->type);
 			return -1;
 		}