Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1245278
| From | Liao Tonglang <liaotonglang@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] mm: cleanup balance_dirty_pages() that leave variables uninitialized |
| Date | 2015-10-13 03:50 +0200 |
| Message-ID | <qiWT0-4U-23@gated-at.bofh.it> (permalink) |
| References | <qiKoP-7fZ-35@gated-at.bofh.it> <qiKRQ-7QK-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] mm: cleanup balance_dirty_pages() that leave variables uninitialized Liao Tonglang <liaotonglang@gmail.com> - 2015-10-12 14:30 +0200
Re: [PATCH] mm: cleanup balance_dirty_pages() that leave variables uninitialized Jan Kara <jack@suse.cz> - 2015-10-12 15:00 +0200
Re: [PATCH] mm: cleanup balance_dirty_pages() that leave variables uninitialized Liao Tonglang <liaotonglang@gmail.com> - 2015-10-13 03:50 +0200
csiph-web