Re: [PATCH -next] acpi/hmat: fix an uninitialized memory_target

2019-04-08 Thread Keith Busch
On Sat, Apr 06, 2019 at 09:12:22PM -0400, Qian Cai wrote: > The commit 665ac7e92757 ("acpi/hmat: Register processor domain to its > memory") introduced an uninitialized "struct memory_target" that could > cause an incorrect branching. Thanks for the catch. We do have another patch submitted a few

Re: [PATCH -next] acpi/hmat: fix an uninitialized memory_target

2019-04-07 Thread Nathan Chancellor
On Sat, Apr 06, 2019 at 09:12:22PM -0400, Qian Cai wrote: > The commit 665ac7e92757 ("acpi/hmat: Register processor domain to its > memory") introduced an uninitialized "struct memory_target" that could > cause an incorrect branching. > > drivers/acpi/hmat/hmat.c:385:6: warning: variable 'target'

Re: [PATCH -next] acpi/hmat: fix an uninitialized memory_target

2019-04-06 Thread Mukesh Ojha
On 4/7/2019 6:42 AM, Qian Cai wrote: The commit 665ac7e92757 ("acpi/hmat: Register processor domain to its memory") introduced an uninitialized "struct memory_target" that could cause an incorrect branching. drivers/acpi/hmat/hmat.c:385:6: warning: variable 'target' is used uninitialized whene

[PATCH -next] acpi/hmat: fix an uninitialized memory_target

2019-04-06 Thread Qian Cai
The commit 665ac7e92757 ("acpi/hmat: Register processor domain to its memory") introduced an uninitialized "struct memory_target" that could cause an incorrect branching. drivers/acpi/hmat/hmat.c:385:6: warning: variable 'target' is used uninitialized whenever 'if' condition is false [-Wsometimes-