linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Witold Baryluk <baryluk@smp.if.uj.edu.pl>
To: Wu Fengguang <fengguang.wu@intel.com>, linux-mm@kvack.org
Subject: Possible usage of uninitalized task_ratelimit variable in mm/page-writeback.c
Date: Mon, 7 Nov 2011 09:18:24 +0100	[thread overview]
Message-ID: <20111107081824.GA18221@smp.if.uj.edu.pl> (raw)

Hi,

I found a minor issue when compiling kernel today


  CC      mm/page-writeback.o
mm/page-writeback.c: In function a??balance_dirty_pages_ratelimited_nra??:
include/trace/events/writeback.h:281:1: warning: a??task_ratelimita?? may be used uninitialized in this function [-Wuninitialized]
mm/page-writeback.c:1018:16: note: a??task_ratelimita?? was declared here

Indeed in balance_dirty_pages a task_ratelimit may be not initialized
(initialization skiped by goto pause;), and then used when calling
tracing hook.

Regards,
Witek


-- 
Witold Baryluk
JID: witold.baryluk // jabster.pl

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

             reply	other threads:[~2011-11-07  8:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-07  8:18 Witold Baryluk [this message]
2011-11-07  9:17 ` Wu Fengguang
2011-11-07 11:05   ` Witold Baryluk
2011-11-07 11:15     ` Wu Fengguang

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=20111107081824.GA18221@smp.if.uj.edu.pl \
    --to=baryluk@smp.if.uj.edu.pl \
    --cc=fengguang.wu@intel.com \
    --cc=linux-mm@kvack.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox