lkml.org 
[lkml]   [2014]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v4] LLVMLinux: Remove warning about returning an uninitialized variable
Date
behanw@converseincode.com wrote:

> From: Behan Webster <behanw@converseincode.com>
>
> 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: Behan Webster <behanw@converseincode.com>
> Signed-off-by: Mark Charlebois <charlebm@gmail.com>

Acked-by: David Howells <dhowells@redhat.com>


\
 
 \ /
  Last update: 2014-03-24 11:21    [W:0.056 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site