IB/iser: Add missing newlines to logging messages
authorRoi Dayan <roid@mellanox.com>
Thu, 22 May 2014 08:00:20 +0000 (11:00 +0300)
committerRoland Dreier <roland@purestorage.com>
Mon, 26 May 2014 15:19:48 +0000 (08:19 -0700)
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>
drivers/infiniband/ulp/iser/iscsi_iser.c

index f2174880a63ae69a00de1342554f8d712d7fd919..eb7973957a6ea35585a16086adc40e29df151cb9 100644 (file)
@@ -508,28 +508,28 @@ iscsi_iser_set_param(struct iscsi_cls_conn *cls_conn,
        case ISCSI_PARAM_HDRDGST_EN:
                sscanf(buf, "%d", &value);
                if (value) {
-                       iser_err("DataDigest wasn't negotiated to None");
+                       iser_err("DataDigest wasn't negotiated to None\n");
                        return -EPROTO;
                }
                break;
        case ISCSI_PARAM_DATADGST_EN:
                sscanf(buf, "%d", &value);
                if (value) {
-                       iser_err("DataDigest wasn't negotiated to None");
+                       iser_err("DataDigest wasn't negotiated to None\n");
                        return -EPROTO;
                }
                break;
        case ISCSI_PARAM_IFMARKER_EN:
                sscanf(buf, "%d", &value);
                if (value) {
-                       iser_err("IFMarker wasn't negotiated to No");
+                       iser_err("IFMarker wasn't negotiated to No\n");
                        return -EPROTO;
                }
                break;
        case ISCSI_PARAM_OFMARKER_EN:
                sscanf(buf, "%d", &value);
                if (value) {
-                       iser_err("OFMarker wasn't negotiated to No");
+                       iser_err("OFMarker wasn't negotiated to No\n");
                        return -EPROTO;
                }
                break;