Commit 25634298 authored by Daniel Verkamp's avatar Daniel Verkamp
Browse files

nvme: convert uevent failure message to TRACELOG



The message about the uevent socket is not a fatal error; it just means
that hotplug monitoring will not work.

Change-Id: I29f6a253e96a86420c0fde9e19135f9f1d229bb9
Signed-off-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent d89352a9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -638,7 +638,7 @@ nvme_pcie_ctrlr_scan(const struct spdk_nvme_transport_id *trid,
	if (hotplug_fd < 0) {
		hotplug_fd = spdk_uevent_connect();
		if (hotplug_fd < 0) {
			SPDK_ERRLOG("Failed to open uevent netlink socket\n");
			SPDK_TRACELOG(SPDK_TRACE_NVME, "Failed to open uevent netlink socket\n");
		}
	} else {
		_nvme_pcie_hotplug_monitor(cb_ctx, probe_cb, remove_cb);