[PATCH] selftests: ALSA: fix memory leak in utimer test

2025-07-31 Thread WangYuli
Free the malloc'd buffer in TEST_F(timer_f, utimer) to prevent memory leak. Reported-by: Jun Zhan Signed-off-by: WangYuli --- tools/testing/selftests/alsa/utimer-test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/alsa/utimer-test.c b/tools/testing/self

Re: [PATCH RESEND] ipvs: ip_vs_conn_expire_now: Rename del_timer in comment

2025-07-22 Thread WangYuli
Hi Pablo Neira Ayuso, On 2025/7/22 11:25, Pablo Neira Ayuso wrote: On Fri, Jul 04, 2025 at 04:35:53PM +0800, WangYuli wrote: Commit 8fa7292fee5c ("treewide: Switch/rename to timer_delete[_sync]()") switched del_timer to timer_delete, but did not modify the comment for ip_vs_conn_

[PATCH] selftests/thermal: Remove duplicate newlines in perror calls

2025-07-10 Thread WangYuli
ting. Signed-off-by: WangYuli --- .../intel/workload_hint/workload_hint_test.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/testing/selftests/thermal/intel/workload_hint/workload_hint_test.c b/tools/testing/selftests/thermal/intel/workload_hint/worklo

[PATCH] selftests/thermal: Remove duplicate sprintf() call in workload_hint_test

2025-07-10 Thread WangYuli
Remove redundant sprintf() call that was duplicating the same operation of formatting delay_str with argv[1]. Signed-off-by: WangYuli --- .../selftests/thermal/intel/workload_hint/workload_hint_test.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/testing/selftests/thermal/intel

[PATCH RESEND] ipvs: ip_vs_conn_expire_now: Rename del_timer in comment

2025-07-04 Thread WangYuli
Commit 8fa7292fee5c ("treewide: Switch/rename to timer_delete[_sync]()") switched del_timer to timer_delete, but did not modify the comment for ip_vs_conn_expire_now(). Now fix it. Signed-off-by: WangYuli --- net/netfilter/ipvs/ip_vs_conn.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH] virtio: virtio_dma_buf: fix missing parameter documentation

2025-06-22 Thread WangYuli
rameter 'attach' not described in 'virtio_dma_buf_attach' The function documentation was missing descriptions for both the 'dma_buf' and 'attach' parameters. Add proper parameter documentation following kernel-doc format. Signed-off-by: WangYuli --- drivers/

[PATCH v2 4/5] ipvs: ip_vs_conn_expire_now: Rename del_timer in comment

2025-04-13 Thread WangYuli
Cc: Eric Dumazet Cc: Jakub Kicinski Cc: Paolo Abeni Cc: net...@vger.kernel.org Cc: lvs-de...@vger.kernel.org Cc: netfilter-de...@vger.kernel.org Cc: coret...@netfilter.org Cc: linux-kernel@vger.kernel.org Signed-off-by: WangYuli --- net/netfilter/ipvs/ip_vs_conn.c | 2 +- 1 file changed, 1

[RESEND PATCH v2] wireguard: selftests: Cleanup CONFIG_UBSAN_SANITIZE_ALL

2025-02-23 Thread WangYuli
ned-off-by: WangYuli --- Changelog: *v1->v2: Add Simon Horman's "Reviewed-by" tag. Signed-off-by: WangYuli --- tools/testing/selftests/wireguard/qemu/debug.config | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/testing/selftests/wireguard/qemu/debug.config b/tools/test

[PATCH v2] wireguard: selftests: Cleanup CONFIG_UBSAN_SANITIZE_ALL

2025-02-06 Thread WangYuli
Commit 918327e9b7ff ("ubsan: Remove CONFIG_UBSAN_SANITIZE_ALL") removed the CONFIG_UBSAN_SANITIZE_ALL configuration option. Eliminate invalid configurations to improve code readability. Reviewed-by: Simon Horman Signed-off-by: WangYuli --- Changelog: *v1->v2: Add Simon Horman&#

[PATCH] wireguard: selftests: Cleanup CONFIG_UBSAN_SANITIZE_ALL

2025-01-22 Thread WangYuli
Commit 918327e9b7ff ("ubsan: Remove CONFIG_UBSAN_SANITIZE_ALL") removed the CONFIG_UBSAN_SANITIZE_ALL configuration option. Eliminate invalid configurations to improve code readability. Signed-off-by: WangYuli --- tools/testing/selftests/wireguard/qemu/debug.config | 1 - 1 file

[PATCH v4] x86/cpu: Adjust the error message when BIOS does not support SGX

2024-08-25 Thread WangYuli
ues/10032 Acked-by: Kai Huang Link: https://lore.kernel.org/all/a30f7700c7817b3e7e2f2bdb37d5c10a318b2c3b.ca...@intel.com/ Co-developed-by: Zelong Xiang Signed-off-by: Zelong Xiang Signed-off-by: WangYuli --- arch/x86/kernel/cpu/feat_ctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-

Re: [PATCH v3] x86/cpu: Adjust the error message when BIOS does not support SGX

2024-08-25 Thread WangYuli
n is unreasonably long. I'll send a patch-v4 to fix it. Thanks -- WangYuli

[PATCH v3] x86/cpu: Adjust the error message when BIOS does not support SGX

2024-08-25 Thread WangYuli
ues/10032 Acked-by: Kai Huang Link: https://lore.kernel.org/all/a30f7700c7817b3e7e2f2bdb37d5c10a318b2c3b.ca...@intel.com/ Signed-off-by: Zelong Xiang Signed-off-by: WangYuli --- arch/x86/kernel/cpu/feat_ctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/c

[PATCH v2] x86/cpu: Adjust the error message when BIOS does not support SGX

2024-07-31 Thread WangYuli
/10032 Reviewed-by: Kai Huang Link: https://lore.kernel.org/all/a30f7700c7817b3e7e2f2bdb37d5c10a318b2c3b.ca...@intel.com/ Signed-off-by: Zelong Xiang Signed-off-by: WangYuli --- arch/x86/kernel/cpu/feat_ctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/c

Re: [PATCH] x86/cpufeatures: SGX: Adjust the error message when BIOS does not support SGX

2024-07-30 Thread WangYuli
ually shifting from 'professionals' to 'general users'. As I mentioned in the commit msg. I hope to make kernel logs clearer and more understandable, reducing confusion for those who are unfamiliar with the codebase. It's important that any change in upstream can potentially impact countless users. Sincerely, -- WangYuli

Re: [PATCH] x86/cpufeatures: SGX: Adjust the error message when BIOS does not support SGX

2024-07-30 Thread WangYuli
;closed". Please clarify. -- WangYuli