Skip to contentSkip to conversation

dbus: Fix condition for invalidating path

PATCH Applied Luiz Augusto von Dentz 3 participants 3 messages Apr 1, 2025 Bluetooth drivers

lore
Share & tools
lore

Luiz Augusto von Dentz

author maintainer
#0 lore raw

PATCH 1/1 dbus: Fix condition for invalidating path

From: Luiz Augusto von Dentz <[email protected]>

This fixes the condition introduced in cdd02afbb7ef ("dbus: Fix add invalid memory during interface removal") which was reversed while applying the original fix.

---
 gdbus/object.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
gdbus/object.c +1 -1
index 54e04b983a98..f8c694aaffdf 100644
@@ -810,7 +810,7 @@ static struct generic_data *invalidate_parent_data(DBusConnection *conn,
 	if (child == NULL || g_slist_find(data->objects, child) != NULL)
 		goto done;
 
-	if (!g_slist_find(parent->objects, child))
+	if (g_slist_find(parent->objects, child))
 		goto done;
 
 	data->objects = g_slist_prepend(data->objects, child);
Signature · 1 line
2.48.1
#1 lore raw

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=948957

---Test result---

Test Summary:

CheckPatch                    PENDING   0.39 seconds
GitLint                       PENDING   0.32 seconds
BuildEll                      PASS      20.49 seconds
BluezMake                     PASS      1501.79 seconds
MakeCheck                     PASS      12.93 seconds
MakeDistcheck                 PASS      157.66 seconds
CheckValgrind                 PASS      216.69 seconds
CheckSmatch                   PASS      283.78 seconds
bluezmakeextell               PASS      97.95 seconds
IncrementalBuild              PENDING   0.34 seconds
ScanBuild                     PASS      868.85 seconds

Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:

##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:

##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series Output:

---
Regards,
Linux Bluetooth

#2 lore raw
In reply to Luiz Augusto von Dentz
This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:

Hello:

This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:

Quoted 9 lines · On Tue, 1 Apr 2025 09:49:04 -0400 you wrote:

From: Luiz Augusto von Dentz <[email protected]>

This fixes the condition introduced in cdd02afbb7ef ("dbus: Fix add invalid memory during interface removal") which was reversed while applying the original fix.

[...]

Here is the summary with links:
- [BlueZ,v1] dbus: Fix condition for invalidating path

    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=da5846c096cd

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html