public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ] device: Fix not deleting the folder after removing the device
@ 2022-06-08  5:14 Tedd Ho-Jeong An
  2022-06-08  8:19 ` [BlueZ] " bluez.test.bot
  2022-06-10  4:10 ` [PATCH BlueZ] " patchwork-bot+bluetooth
  0 siblings, 2 replies; 4+ messages in thread
From: Tedd Ho-Jeong An @ 2022-06-08  5:14 UTC (permalink / raw)
  To: linux-bluetooth

From: Tedd Ho-Jeong An <tedd.an@intel.com>

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


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

* RE: [BlueZ] device: Fix not deleting the folder after removing the device
  2022-06-08  5:14 [PATCH BlueZ] device: Fix not deleting the folder after removing the device Tedd Ho-Jeong An
@ 2022-06-08  8:19 ` bluez.test.bot
  2022-06-10  4:10 ` [PATCH BlueZ] " patchwork-bot+bluetooth
  1 sibling, 0 replies; 4+ messages in thread
From: bluez.test.bot @ 2022-06-08  8:19 UTC (permalink / raw)
  To: linux-bluetooth, hj.tedd.an

[-- Attachment #1: Type: text/plain, Size: 995 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=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


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

* Re: [PATCH BlueZ] device: Fix not deleting the folder after removing the device
  2022-06-08  5:14 [PATCH BlueZ] device: Fix not deleting the folder after removing the device Tedd Ho-Jeong An
  2022-06-08  8:19 ` [BlueZ] " bluez.test.bot
@ 2022-06-10  4:10 ` patchwork-bot+bluetooth
  2022-06-10  5:59   ` Sathish Narasimman
  1 sibling, 1 reply; 4+ messages in thread
From: patchwork-bot+bluetooth @ 2022-06-10  4:10 UTC (permalink / raw)
  To: Tedd Ho-Jeong An; +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,  7 Jun 2022 22:14:18 -0700 you wrote:
> From: Tedd Ho-Jeong An <tedd.an@intel.com>
> 
> 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



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

* Re: [PATCH BlueZ] device: Fix not deleting the folder after removing the device
  2022-06-10  4:10 ` [PATCH BlueZ] " patchwork-bot+bluetooth
@ 2022-06-10  5:59   ` Sathish Narasimman
  0 siblings, 0 replies; 4+ messages in thread
From: Sathish Narasimman @ 2022-06-10  5:59 UTC (permalink / raw)
  To: patchwork-bot+bluetooth; +Cc: Tedd Ho-Jeong An, Bluez mailing list

Issue fixed with this patch

On Fri, Jun 10, 2022 at 10:04 AM <patchwork-bot+bluetooth@kernel.org> wrote:
>
> Hello:
>
> This patch was applied to bluetooth/bluez.git (master)
> by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:
>
> On Tue,  7 Jun 2022 22:14:18 -0700 you wrote:
> > From: Tedd Ho-Jeong An <tedd.an@intel.com>
> >
> > 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
>
>

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

end of thread, other threads:[~2022-06-10  6:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-08  5:14 [PATCH BlueZ] device: Fix not deleting the folder after removing the device Tedd Ho-Jeong An
2022-06-08  8:19 ` [BlueZ] " bluez.test.bot
2022-06-10  4:10 ` [PATCH BlueZ] " patchwork-bot+bluetooth
2022-06-10  5:59   ` Sathish Narasimman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox