[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <561C6160.2090400@gmail.com>
Date: Tue, 13 Oct 2015 09:41:52 +0800
From: Liao Tonglang <liaotonglang@...il.com>
To: Jan Kara <jack@...e.cz>
Cc: tj@...nel.org, axboe@...com, akpm@...ux-foundation.org,
hannes@...xchg.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm: cleanup balance_dirty_pages() that leave variables
uninitialized
On 2015/10/12 20:58, Jan Kara wrote:
> What
> gcc version are you using?
It is the last line of my gcc -v command.
gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC)
And it warn like this:
mm/page-writeback.c: In function ‘balance_dirty_pages.isra.26’:
mm/page-writeback.c:1537:26: warning: ‘m_thresh’ may be used
uninitialized in this function [-Wmaybe-uninitialized]
unsigned long m_dirty, m_thresh, m_bg_thresh;
^
mm/page-writeback.c:1537:17: warning: ‘m_dirty’ may be used
uninitialized in this function [-Wmaybe-uninitialized]
unsigned long m_dirty, m_thresh, m_bg_thresh;
^
--
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