[llvmlinux] Fwd: Various static checker fixes

Behan Webster behanw at converseincode.com
Mon Oct 28 18:48:22 UTC 2013

Just in case you guys didn't see this on lkml.

Considering we were trying to get kernel devs to use the static checker,
this is a huge win! :)


-------- Original Message --------
Subject: 	Various static checker fixes
Date: 	Mon, 30 Sep 2013 13:29:01 -0700
From: 	Andi Kleen <andi at firstfloor.org>
To: 	linux-kernel at vger.kernel.org

I was playing around with LLVM's static checker. Here are some fixes
from reviewing the output on a kernel build.

Some merely shut up the checker -- it is technically right, but
the problem is not a real bug as far as I can tell. Still it's
cleaner/clearer to avoid uninitialized variables and similar.

A few others are real bugs.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/llvmlinux/attachments/20131028/4c1f7c4c/attachment.html>

More information about the LLVMLinux mailing list