All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ v1] dbus: Fix condition for invalidating path
@ 2025-04-01 13:48 Luiz Augusto von Dentz
  0 siblings, 0 replies; 4+ messages in thread
From: Luiz Augusto von Dentz @ 2025-04-01 13:48 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

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(-)

diff --git a/gdbus/object.c b/gdbus/object.c
index 54e04b983a98..f8c694aaffdf 100644
--- a/gdbus/object.c
+++ b/gdbus/object.c
@@ -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);
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH BlueZ v1] dbus: Fix condition for invalidating path
@ 2025-04-01 13:49 Luiz Augusto von Dentz
  2025-04-01 15:11 ` [BlueZ,v1] " bluez.test.bot
  2025-04-01 21:40 ` [PATCH BlueZ v1] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 4+ messages in thread
From: Luiz Augusto von Dentz @ 2025-04-01 13:49 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

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

Fixes: https://github.com/bluez/bluez/issues/1155
---
 gdbus/object.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdbus/object.c b/gdbus/object.c
index 54e04b983a98..f8c694aaffdf 100644
--- a/gdbus/object.c
+++ b/gdbus/object.c
@@ -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);
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* RE: [BlueZ,v1] dbus: Fix condition for invalidating path
  2025-04-01 13:49 [PATCH BlueZ v1] dbus: Fix condition for invalidating path Luiz Augusto von Dentz
@ 2025-04-01 15:11 ` bluez.test.bot
  2025-04-01 21:40 ` [PATCH BlueZ v1] " patchwork-bot+bluetooth
  1 sibling, 0 replies; 4+ messages in thread
From: bluez.test.bot @ 2025-04-01 15:11 UTC (permalink / raw)
  To: linux-bluetooth, luiz.dentz

[-- Attachment #1: Type: text/plain, Size: 1260 bytes --]

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH BlueZ v1] dbus: Fix condition for invalidating path
  2025-04-01 13:49 [PATCH BlueZ v1] dbus: Fix condition for invalidating path Luiz Augusto von Dentz
  2025-04-01 15:11 ` [BlueZ,v1] " bluez.test.bot
@ 2025-04-01 21:40 ` patchwork-bot+bluetooth
  1 sibling, 0 replies; 4+ messages in thread
From: patchwork-bot+bluetooth @ 2025-04-01 21:40 UTC (permalink / raw)
  To: Luiz Augusto von Dentz; +Cc: linux-bluetooth

Hello:

This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Tue,  1 Apr 2025 09:49:04 -0400 you wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
> 
> This fixes the condition introduced in cdd02afbb7ef
> ("dbus: Fix add invalid memory during interface removal") which was
> reversed while applying the original fix.
> 
> Fixes: https://github.com/bluez/bluez/issues/1155
> 
> [...]

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!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-04-01 21:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-01 13:49 [PATCH BlueZ v1] dbus: Fix condition for invalidating path Luiz Augusto von Dentz
2025-04-01 15:11 ` [BlueZ,v1] " bluez.test.bot
2025-04-01 21:40 ` [PATCH BlueZ v1] " patchwork-bot+bluetooth
  -- strict thread matches above, loose matches on Subject: below --
2025-04-01 13:48 Luiz Augusto von Dentz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.