Re: [PATCH RESEND v1] locking/ww_mutex: Prevent read of uninitialized memory

2017-03-16 Thread kbuild test robot
Hi Robert, [auto build test WARNING on tip/locking/core] [also build test WARNING on v4.11-rc2 next-20170310] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH RESEND v1] locking/ww_mutex: Prevent read of uninitialized memory

2017-03-16 Thread kbuild test robot
Hi Robert, [auto build test WARNING on tip/locking/core] [also build test WARNING on v4.11-rc2 next-20170310] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

Re: [PATCH RESEND v1] locking/ww_mutex: Prevent read of uninitialized memory

2017-03-14 Thread Chris Wilson
On Tue, Mar 14, 2017 at 03:44:02PM -0400, Robert Foss wrote: > On "missed ABBA deadlock" abba.result is read, but not initialized > in all situations. > > Detected by CoverityScan, CID#1402035 ("Uninitialized scalar variable") It's unconditionally set by the worker, and only accessed by the

Re: [PATCH RESEND v1] locking/ww_mutex: Prevent read of uninitialized memory

2017-03-14 Thread Chris Wilson
On Tue, Mar 14, 2017 at 03:44:02PM -0400, Robert Foss wrote: > On "missed ABBA deadlock" abba.result is read, but not initialized > in all situations. > > Detected by CoverityScan, CID#1402035 ("Uninitialized scalar variable") It's unconditionally set by the worker, and only accessed by the

[PATCH RESEND v1] locking/ww_mutex: Prevent read of uninitialized memory

2017-03-14 Thread Robert Foss
On "missed ABBA deadlock" abba.result is read, but not initialized in all situations. Detected by CoverityScan, CID#1402035 ("Uninitialized scalar variable") Signed-off-by: Robert Foss --- kernel/locking/test-ww_mutex.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH RESEND v1] locking/ww_mutex: Prevent read of uninitialized memory

2017-03-14 Thread Robert Foss
On "missed ABBA deadlock" abba.result is read, but not initialized in all situations. Detected by CoverityScan, CID#1402035 ("Uninitialized scalar variable") Signed-off-by: Robert Foss --- kernel/locking/test-ww_mutex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git