[BUG][KMEMLEAK] modprobe: unreferenced object (size 16)

2024-03-23 Thread Mirsad Todorovac
vin/linux/kernel/linux_torvalds/arch/x86/entry/entry_64.S:129) Unless this is a false positive (which I am unable to judge), I hope this will help catch the leak. Best regards, Mirsad Todorovac

Re: [PATCH v1 1/2] selftests/x86/syscall: fix coccinelle WARNING recommending the use of ARRAY_SIZE()

2024-11-02 Thread Mirsad Todorovac
On 11/1/24 13:04, Muhammad Usama Anjum wrote: > On 11/1/24 4:15 PM, Mirsad Todorovac wrote: >> Coccinelle gives WARNING recommending the use of ARRAY_SIZE() macro >> definition >> to improve the code readability: >> >> ./tools/testing/selftests/x86/syscall_nu

Re: [PATCH v1 2/2] selftests/mm: fix coccinelle WARNING recommending the use of ARRAY_SIZE()

2024-11-02 Thread Mirsad Todorovac
On 11/1/24 14:48, Peter Xu wrote: > On Fri, Nov 01, 2024 at 12:15:25PM +0100, Mirsad Todorovac wrote: >> Coccinelle gives WARNING recommending the use of ARRAY_SIZE() macro >> definition >> to improve the code readability: >> >> ./tools/testing/selftest

[PATCH v1 2/2] selftests/mm: fix coccinelle WARNING recommending the use of ARRAY_SIZE()

2024-11-01 Thread Mirsad Todorovac
: 16a45b57cbf2 ("selftests/mm: add framework for uffd-unit-test") Cc: Andrew Morton Cc: Shuah Khan Cc: Peter Xu Cc: linux...@kvack.org Cc: linux-kselft...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Mirsad Todorovac --- v1: initial version. tools/testing/selftests/mm

[PATCH v1 1/2] selftests/x86/syscall: fix coccinelle WARNING recommending the use of ARRAY_SIZE()

2024-11-01 Thread Mirsad Todorovac
Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: Dave Hansen Cc: x...@kernel.org Cc: "H. Peter Anvin" Cc: Shuah Khan Cc: linux-kernel@vger.kernel.org Cc: linux-kselft...@vger.kernel.org Signed-off-by: Mirsad Todorovac --- v1: initial version. tools/t

Re: [BUG] selftests/nci: ./nci_dev hang in wait4()

2024-09-20 Thread Mirsad Todorovac
On 9/20/24 18:22, Mirsad Todorovac wrote: > Hi, all, > > I was testing Linux torvalds tree vanilla kernel, and I've noticed for a > number of releases this > ./nci_dev stops testing until it's terminated (15). > > Now, I tried to examine what went wrong, I hoped i

[PROBLEM] selftests/bpf/progs/test_tunnel_kern.c: 678: 41-47: ERROR: application of sizeof to pointer

2024-11-09 Thread Mirsad Todorovac
Hi, all! In the linux-next tree, next-20241108, coccinelle found an error. In the line 617, ret = bpf_skb_set_tunnel_opt(skb, gopt, sizeof(local_gopt)); In the line 678, ret = bpf_skb_set_tunnel_opt(skb, gopt, sizeof(gopt)); when 592 struct local_geneve_opt local_gopt; 593 str