2022-06-08 08:33:08

by Tedd Ho-Jeong An

[permalink] [raw]
Subject: [PATCH BlueZ] device: Fix not deleting the folder after removing the device

From: Tedd Ho-Jeong An <[email protected]>

This patch fixes the issue not deleting the device folder when the
device is removed.
---
src/device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/device.c b/src/device.c
index 0d7c62c9c..3da09578f 100644
--- a/src/device.c
+++ b/src/device.c
@@ -4278,7 +4278,7 @@ static void delete_folder_tree(const char *dirname)
if (entry->d_type == DT_UNKNOWN)
entry->d_type = util_get_dt(dirname, entry->d_name);

- create_filename(filename, PATH_MAX, "%s/%s", dirname,
+ snprintf(filename, PATH_MAX, "%s/%s", dirname,
entry->d_name);

if (entry->d_type == DT_DIR)
--
2.25.1


2022-06-08 09:28:36

by bluez.test.bot

[permalink] [raw]
Subject: RE: [BlueZ] device: Fix not deleting the folder after removing the device

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=648310

---Test result---

Test Summary:
CheckPatch PASS 1.41 seconds
GitLint PASS 1.05 seconds
Prep - Setup ELL PASS 41.93 seconds
Build - Prep PASS 0.73 seconds
Build - Configure PASS 8.38 seconds
Build - Make PASS 1238.96 seconds
Make Check PASS 11.58 seconds
Make Check w/Valgrind PASS 426.43 seconds
Make Distcheck PASS 224.82 seconds
Build w/ext ELL - Configure PASS 8.46 seconds
Build w/ext ELL - Make PASS 1243.24 seconds
Incremental Build with patchesPASS 0.00 seconds



---
Regards,
Linux Bluetooth

2022-06-10 04:33:33

by patchwork-bot+bluetooth

[permalink] [raw]
Subject: Re: [PATCH BlueZ] device: Fix not deleting the folder after removing the device

Hello:

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

On Tue, 7 Jun 2022 22:14:18 -0700 you wrote:
> From: Tedd Ho-Jeong An <[email protected]>
>
> This patch fixes the issue not deleting the device folder when the
> device is removed.
> ---
> src/device.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- [BlueZ] device: Fix not deleting the folder after removing the device
https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=5ebc2b5a3e48

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html


2022-06-10 06:15:29

by Sathish Narasimman

[permalink] [raw]
Subject: Re: [PATCH BlueZ] device: Fix not deleting the folder after removing the device

Issue fixed with this patch

On Fri, Jun 10, 2022 at 10:04 AM <[email protected]> wrote:
>
> Hello:
>
> This patch was applied to bluetooth/bluez.git (master)
> by Luiz Augusto von Dentz <[email protected]>:
>
> On Tue, 7 Jun 2022 22:14:18 -0700 you wrote:
> > From: Tedd Ho-Jeong An <[email protected]>
> >
> > This patch fixes the issue not deleting the device folder when the
> > device is removed.
> > ---
> > src/device.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
>
> Here is the summary with links:
> - [BlueZ] device: Fix not deleting the folder after removing the device
> https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=5ebc2b5a3e48
>
> You are awesome, thank you!
> --
> Deet-doot-dot, I am a bot.
> https://korg.docs.kernel.org/patchwork/pwbot.html
>
>