mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
IB/iser: Add missing newlines to logging messages
Logging messages need terminating newlines to avoid possible message interleaving. Add them. Signed-off-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
This commit is contained in:
parent
66d4e62d27
commit
e7eeffa4a0
@ -508,28 +508,28 @@ iscsi_iser_set_param(struct iscsi_cls_conn *cls_conn,
|
|||||||
case ISCSI_PARAM_HDRDGST_EN:
|
case ISCSI_PARAM_HDRDGST_EN:
|
||||||
sscanf(buf, "%d", &value);
|
sscanf(buf, "%d", &value);
|
||||||
if (value) {
|
if (value) {
|
||||||
iser_err("DataDigest wasn't negotiated to None");
|
iser_err("DataDigest wasn't negotiated to None\n");
|
||||||
return -EPROTO;
|
return -EPROTO;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case ISCSI_PARAM_DATADGST_EN:
|
case ISCSI_PARAM_DATADGST_EN:
|
||||||
sscanf(buf, "%d", &value);
|
sscanf(buf, "%d", &value);
|
||||||
if (value) {
|
if (value) {
|
||||||
iser_err("DataDigest wasn't negotiated to None");
|
iser_err("DataDigest wasn't negotiated to None\n");
|
||||||
return -EPROTO;
|
return -EPROTO;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case ISCSI_PARAM_IFMARKER_EN:
|
case ISCSI_PARAM_IFMARKER_EN:
|
||||||
sscanf(buf, "%d", &value);
|
sscanf(buf, "%d", &value);
|
||||||
if (value) {
|
if (value) {
|
||||||
iser_err("IFMarker wasn't negotiated to No");
|
iser_err("IFMarker wasn't negotiated to No\n");
|
||||||
return -EPROTO;
|
return -EPROTO;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case ISCSI_PARAM_OFMARKER_EN:
|
case ISCSI_PARAM_OFMARKER_EN:
|
||||||
sscanf(buf, "%d", &value);
|
sscanf(buf, "%d", &value);
|
||||||
if (value) {
|
if (value) {
|
||||||
iser_err("OFMarker wasn't negotiated to No");
|
iser_err("OFMarker wasn't negotiated to No\n");
|
||||||
return -EPROTO;
|
return -EPROTO;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user