All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Cc: linux-kernel@vger.kernel.org, Frank Mayhar <fmayhar@google.com>
Subject: Re: [PATCH -tip] sched: fix using uninilialzed rq in task_delta_exec()
Date: Tue, 30 Sep 2008 10:58:50 +0200	[thread overview]
Message-ID: <20080930085850.GA27452@elte.hu> (raw)
In-Reply-To: <48E11D0D.3040000@ct.jp.nec.com>


* Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com> wrote:

> From: Hiroshi Shimamoto <h-shimamoto@ct.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

  reply	other threads:[~2008-09-30  8:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-29 18:23 [PATCH -tip] sched: fix using uninilialzed rq in task_delta_exec() Hiroshi Shimamoto
2008-09-30  8:58 ` Ingo Molnar [this message]
2008-09-30 16:45   ` Hiroshi Shimamoto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080930085850.GA27452@elte.hu \
    --to=mingo@elte.hu \
    --cc=fmayhar@google.com \
    --cc=h-shimamoto@ct.jp.nec.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.