Message ID | 20220608051418.197426-1-hj.tedd.an@gmail.com |
---|---|
State | New |
Headers | show |
Series | [BlueZ] device: Fix not deleting the folder after removing the device | expand |
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
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!
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 > >
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)
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(-)