Commit 2705f6f1 authored by Dariusz Stojaczyk's avatar Dariusz Stojaczyk Committed by Daniel Verkamp
Browse files

Fixed all SPDK_LOG() calls without newline char

parent 14451d76
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -247,7 +247,7 @@ spdk_fio_init_env(struct thread_data *td)
		return -1;
	}
	if (spdk_conf_first_section(config) == NULL) {
		SPDK_ERRLOG("Invalid configuration file format");
		SPDK_ERRLOG("Invalid configuration file format\n");
		spdk_conf_free(config);
		return -1;
	}
+1 −1
Original line number Diff line number Diff line
@@ -444,7 +444,7 @@ spdk_bdev_initialize(spdk_bdev_init_cb cb_fn, void *cb_arg,
				  SPDK_ENV_SOCKET_ID_ANY);

	if (g_bdev_mgr.bdev_io_pool == NULL) {
		SPDK_ERRLOG("could not allocate spdk_bdev_io pool");
		SPDK_ERRLOG("could not allocate spdk_bdev_io pool\n");
		spdk_bdev_module_init_complete(-1);
		return;
	}
+1 −1
Original line number Diff line number Diff line
@@ -889,7 +889,7 @@ spdk_iscsi_drop_conns(struct spdk_iscsi_conn *conn, const char *conn_match,
					    conn->target->name, conn_match);
			}

			SPDK_ERRLOG("exiting conn by %s (%s)",
			SPDK_ERRLOG("exiting conn by %s (%s)\n",
				    xconn_match, xconn->initiator_addr);
			if (xconn->sess != NULL) {
				SPDK_TRACELOG(SPDK_TRACE_ISCSI, "TSIH=%u\n", xconn->sess->tsih);
+1 −1
Original line number Diff line number Diff line
@@ -4087,7 +4087,7 @@ static int spdk_iscsi_op_data(struct spdk_iscsi_conn *conn,
	}

	if (pdu->data_segment_len > task->desired_data_transfer_length) {
		SPDK_ERRLOG("the dataout pdu data length is larger than the value sent by R2T PDU");
		SPDK_ERRLOG("the dataout pdu data length is larger than the value sent by R2T PDU\n");
		return SPDK_ISCSI_CONNECTION_FATAL;
	}

+1 −1
Original line number Diff line number Diff line
@@ -352,7 +352,7 @@ spdk_scsi_lun_delete(const char *lun_name)
	pthread_mutex_lock(&g_spdk_scsi.mutex);
	lun = spdk_lun_db_get_lun(lun_name);
	if (lun == NULL) {
		SPDK_ERRLOG("LUN '%s' not found", lun_name);
		SPDK_ERRLOG("LUN '%s' not found\n", lun_name);
		pthread_mutex_unlock(&g_spdk_scsi.mutex);
		return -1;
	}
Loading