Re: [PATCH v2] LLVMLinux: Remove warning about returning an uninitialized variable

2014-03-22 Thread Behan Webster
On 03/22/14 09:42, James Bottomley wrote: On Sat, 2014-03-22 at 09:37 -0700, Behan Webster wrote: On 03/22/14 09:29, James Bottomley wrote: On Sat, 2014-03-22 at 08:48 -0700, beh...@converseincode.com wrote: From: Behan Webster Fix uninitialized return code in default case in cmpxchg-local.h

Re: [PATCH v2] LLVMLinux: Remove warning about returning an uninitialized variable

2014-03-22 Thread James Bottomley
On Sat, 2014-03-22 at 09:37 -0700, Behan Webster wrote: > On 03/22/14 09:29, James Bottomley wrote: > > On Sat, 2014-03-22 at 08:48 -0700, beh...@converseincode.com wrote: > >> From: Behan Webster > >> > >> Fix uninitialized return code in default case in cmpxchg-local.h > >> > >> This patch fixes

Re: [PATCH v2] LLVMLinux: Remove warning about returning an uninitialized variable

2014-03-22 Thread Behan Webster
On 03/22/14 09:29, James Bottomley wrote: On Sat, 2014-03-22 at 08:48 -0700, beh...@converseincode.com wrote: From: Behan Webster Fix uninitialized return code in default case in cmpxchg-local.h This patch fixes the code to prevent an uninitialized return value that is detected when compilin

Re: [PATCH v2] LLVMLinux: Remove warning about returning an uninitialized variable

2014-03-22 Thread Behan Webster
On 03/22/14 09:21, Sam Ravnborg wrote: On Sat, Mar 22, 2014 at 08:48:19AM -0700, beh...@converseincode.com wrote: From: Behan Webster Fix uninitialized return code in default case in cmpxchg-local.h This patch fixes the code to prevent an uninitialized return value that is detected when comp

Re: [PATCH v2] LLVMLinux: Remove warning about returning an uninitialized variable

2014-03-22 Thread James Bottomley
On Sat, 2014-03-22 at 08:48 -0700, beh...@converseincode.com wrote: > From: Behan Webster > > Fix uninitialized return code in default case in cmpxchg-local.h > > This patch fixes the code to prevent an uninitialized return value that is > detected > when compiling with clang. The bug produces

Re: [PATCH v2] LLVMLinux: Remove warning about returning an uninitialized variable

2014-03-22 Thread Sam Ravnborg
On Sat, Mar 22, 2014 at 08:48:19AM -0700, beh...@converseincode.com wrote: > From: Behan Webster > > Fix uninitialized return code in default case in cmpxchg-local.h > > This patch fixes the code to prevent an uninitialized return value that is > detected > when compiling with clang. The bug pr

[PATCH v2] LLVMLinux: Remove warning about returning an uninitialized variable

2014-03-22 Thread behanw
From: Behan Webster Fix uninitialized return code in default case in cmpxchg-local.h This patch fixes the code to prevent an uninitialized return value that is detected when compiling with clang. The bug produces numerous warnings when compiling the Linux kernel with clang. Signed-off-by: Beha