Re: [PATCH] selftests/mm: Fix compiler -Wmaybe-uninitialized warning

2025-04-10 Thread David Hildenbrand
On 09.04.25 12:31, David Hildenbrand wrote: On 09.04.25 12:25, Anshuman Khandual wrote: On 4/9/25 15:51, David Hildenbrand wrote: On 09.04.25 12:09, Anshuman Khandual wrote: On 4/9/25 15:27, David Hildenbrand wrote: On 09.04.25 11:50, Anshuman Khandual wrote: Following build warning come

Re: [PATCH] selftests/mm: Fix compiler -Wmaybe-uninitialized warning

2025-04-09 Thread Anshuman Khandual
On 4/9/25 15:51, David Hildenbrand wrote: > On 09.04.25 12:09, Anshuman Khandual wrote: >> >> >> On 4/9/25 15:27, David Hildenbrand wrote: >>> On 09.04.25 11:50, Anshuman Khandual wrote: Following build warning comes up for cow test as 'transferred' variable has not been initialized. F

Re: [PATCH] selftests/mm: Fix compiler -Wmaybe-uninitialized warning

2025-04-09 Thread David Hildenbrand
On 09.04.25 12:25, Anshuman Khandual wrote: On 4/9/25 15:51, David Hildenbrand wrote: On 09.04.25 12:09, Anshuman Khandual wrote: On 4/9/25 15:27, David Hildenbrand wrote: On 09.04.25 11:50, Anshuman Khandual wrote: Following build warning comes up for cow test as 'transferred' variable h

Re: [PATCH] selftests/mm: Fix compiler -Wmaybe-uninitialized warning

2025-04-09 Thread David Hildenbrand
On 09.04.25 12:09, Anshuman Khandual wrote: On 4/9/25 15:27, David Hildenbrand wrote: On 09.04.25 11:50, Anshuman Khandual wrote: Following build warning comes up for cow test as 'transferred' variable has not been initialized. Fix the warning via zero init for the variable.    CC   cow

Re: [PATCH] selftests/mm: Fix compiler -Wmaybe-uninitialized warning

2025-04-09 Thread Anshuman Khandual
On 4/9/25 15:27, David Hildenbrand wrote: > On 09.04.25 11:50, Anshuman Khandual wrote: >> Following build warning comes up for cow test as 'transferred' variable has >> not been initialized. Fix the warning via zero init for the variable. >> >>    CC   cow >> cow.c: In function ‘do_test_vms

Re: [PATCH] selftests/mm: Fix compiler -Wmaybe-uninitialized warning

2025-04-09 Thread David Hildenbrand
On 09.04.25 11:50, Anshuman Khandual wrote: Following build warning comes up for cow test as 'transferred' variable has not been initialized. Fix the warning via zero init for the variable. CC cow cow.c: In function ‘do_test_vmsplice_in_parent’: cow.c:365:61: warning: ‘transferred’ may