commit | 3104bf03a923c72043a9c5009d9cd56724304916 | [log] [tgz] |
---|---|---|
author | Christian Engelmayer <christian.engelmayer@frequentis.com> | Tue Jun 16 10:35:12 2009 +0200 |
committer | Ingo Molnar <mingo@elte.hu> | Wed Jun 17 18:37:54 2009 +0200 |
tree | c65dbf477871ea843241055cda84b2448aee0c71 | |
parent | 348ec61e6268c3cd7ee75cfa50e408184a941506 [diff] |
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 <christian.engelmayer@frequentis.com> LKML-Reference: <20090616103512.0c846e51@frequentis.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>