From: Christian Engelmayer Date: Tue, 16 Jun 2009 08:35:12 +0000 (+0200) Subject: sched: Fix out of scope variable access in sched_slice() X-Git-Tag: v2.6.31-rc1~94^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3104bf03a923c72043a9c5009d9cd56724304916;p=pandora-kernel.git sched: Fix out of scope variable access in sched_slice() Access to local variable lw is aliased by usage of pointer load. Access to pointer load in calc_delta_mine() happens when lw is already out of scope. [ Reported by static code analysis. ] Signed-off-by: Christian Engelmayer LKML-Reference: <20090616103512.0c846e51@frequentis.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed