Message ID | 20241127115007.1303616-1-hadess@hadess.net |
---|---|
State | New |
Headers | show |
Series | [BlueZ,1/2] profiles/audio: Quiet plug-in warnings | expand |
Hello: This series was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>: On Wed, 27 Nov 2024 12:49:52 +0100 you wrote: > A normal daemon start should not throw warnings on a system in the > default configuration. Quiet the plug-in warnings that require > experimental features to be enabled. They will still appear in the debug > output. > > bluetoothd[896]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled > > [...] Here is the summary with links: - [BlueZ,1/2] profiles/audio: Quiet plug-in warnings https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=fdcde2ce2112 - [BlueZ,2/2] plugin: Quiet start-up warnings https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=252883241228 You are awesome, thank you!
diff --git a/profiles/audio/media.c b/profiles/audio/media.c index 746e538fcacd..062475e56c49 100644 --- a/profiles/audio/media.c +++ b/profiles/audio/media.c @@ -1249,7 +1249,7 @@ static bool endpoint_init_pac(struct media_endpoint *endpoint, uint8_t type, char *name; if (!(g_dbus_get_flags() & G_DBUS_FLAG_ENABLE_EXPERIMENTAL)) { - warn("D-Bus experimental not enabled"); + DBG("D-Bus experimental not enabled"); *err = -ENOTSUP; return false; } diff --git a/profiles/audio/micp.c b/profiles/audio/micp.c index 452027c75da2..3f0845dcb328 100644 --- a/profiles/audio/micp.c +++ b/profiles/audio/micp.c @@ -318,7 +318,7 @@ static unsigned int micp_id; static int micp_init(void) { if (!(g_dbus_get_flags() & G_DBUS_FLAG_ENABLE_EXPERIMENTAL)) { - warn("D-Bus experimental not enabled"); + DBG("D-Bus experimental not enabled"); return -ENOTSUP; }