[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080930085850.GA27452@elte.hu>
Date: Tue, 30 Sep 2008 10:58:50 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Hiroshi Shimamoto <h-shimamoto@...jp.nec.com>
Cc: linux-kernel@...r.kernel.org, Frank Mayhar <fmayhar@...gle.com>
Subject: Re: [PATCH -tip] sched: fix using uninilialzed rq in
task_delta_exec()
* Hiroshi Shimamoto <h-shimamoto@...jp.nec.com> wrote:
> From: Hiroshi Shimamoto <h-shimamoto@...jp.nec.com>
>
> compiler warnings;
>
> CC kernel/sched.o
> kernel/sched.c: In function 'task_delta_exec':
> kernel/sched.c:4055: warning: unused variable 'flags'
> kernel/sched.c:4054: warning: 'rq' is used uninitialized in this function
>
> calling task_delta_exec() may cause unexpected pointer access.
heh, just fixed that as well, latest tip/master should have the fix.
Have you seen any weirdness due to this uninitialized variable?
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists