Re: [PATCH] psi: simplify cgroup_move_task

2018-11-06 Thread Johannes Weiner
On Sat, Nov 03, 2018 at 11:33:39AM -0700, Olof Johansson wrote: > The existing code triggered an invalid warning about 'rq' possibly being > used uninitialized. Instead of doing the silly warning suppression by > initializa it to NULL, refactor the code to bail out early instead. > > Warning was:

Re: [PATCH] psi: simplify cgroup_move_task

2018-11-05 Thread Andrew Morton
On Sat, 3 Nov 2018 11:33:39 -0700 Olof Johansson wrote: > The existing code triggered an invalid warning about 'rq' possibly being > used uninitialized. Instead of doing the silly warning suppression by > initializa it to NULL, refactor the code to bail out early instead. > > Warning was: > >

[PATCH] psi: simplify cgroup_move_task

2018-11-03 Thread Olof Johansson
The existing code triggered an invalid warning about 'rq' possibly being used uninitialized. Instead of doing the silly warning suppression by initializa it to NULL, refactor the code to bail out early instead. Warning was: kernel/sched/psi.c: In function ‘cgroup_move_task’: kernel/sched/psi.c:63