linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Possible usage of uninitalized task_ratelimit variable in mm/page-writeback.c
@ 2011-11-07  8:18 Witold Baryluk
  2011-11-07  9:17 ` Wu Fengguang
  0 siblings, 1 reply; 4+ messages in thread
From: Witold Baryluk @ 2011-11-07  8:18 UTC (permalink / raw)
  To: Wu Fengguang, linux-mm

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>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-11-07 11:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-07  8:18 Possible usage of uninitalized task_ratelimit variable in mm/page-writeback.c Witold Baryluk
2011-11-07  9:17 ` Wu Fengguang
2011-11-07 11:05   ` Witold Baryluk
2011-11-07 11:15     ` Wu Fengguang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).