tree: git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git review-cgroup-writeback-20150106 head: 393b71c00e25227a020f9dbf8ffdddebac4fdf1e commit: d3ef989a8ce459778acbb511fc03d0d85f11d4cc [86/265] fs/proc/task_mmu.c: reduce excessive indentation in clear_refs_write config: parisc-c3000_defconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout d3ef989a8ce459778acbb511fc03d0d85f11d4cc # save the attached .config to linux build tree make.cross ARCH=parisc All warnings: fs/proc/task_mmu.c: In function 'clear_refs_write': >> fs/proc/task_mmu.c:858:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] struct clear_refs_private cp = { ^ vim +858 fs/proc/task_mmu.c f248dcb34 Matt Mackall 2008-02-04 842 return -EINVAL; 541c237c0 Pavel Emelyanov 2013-07-03 843 541c237c0 Pavel Emelyanov 2013-07-03 844 if (type == CLEAR_REFS_SOFT_DIRTY) { 541c237c0 Pavel Emelyanov 2013-07-03 845 soft_dirty_cleared = true; 541c237c0 Pavel Emelyanov 2013-07-03 846 pr_warn_once("The pagemap bits 55-60 has changed their meaning!" c86c97ff4 Cyrill Gorcunov 2014-06-04 847 " See the linux/Documentation/vm/pagemap.txt for " c86c97ff4 Cyrill Gorcunov 2014-06-04 848 "details.\n"); 541c237c0 Pavel Emelyanov 2013-07-03 849 } 541c237c0 Pavel Emelyanov 2013-07-03 850 496ad9aa8 Al Viro 2013-01-23 851 task = get_proc_task(file_inode(file)); f248dcb34 Matt Mackall 2008-02-04 852 if (!task) f248dcb34 Matt Mackall 2008-02-04 853 return -ESRCH; f248dcb34 Matt Mackall 2008-02-04 854 mm = get_task_mm(task); d3ef989a8 Petr Cermak 2015-01-06 855 if (!mm) d3ef989a8 Petr Cermak 2015-01-06 856 goto out_task; d3ef989a8 Petr Cermak 2015-01-06 857 af9de7eb1 Pavel Emelyanov 2013-07-03 @858 struct clear_refs_private cp = { 0f8975ec4 Pavel Emelyanov 2013-07-03 859 .type = type, af9de7eb1 Pavel Emelyanov 2013-07-03 860 }; 20cbc9726 Andrew Morton 2008-07-05 861 struct mm_walk clear_refs_walk = { 20cbc9726 Andrew Morton 2008-07-05 862 .pmd_entry = clear_refs_pte_range, 20cbc9726 Andrew Morton 2008-07-05 863 .mm = mm, af9de7eb1 Pavel Emelyanov 2013-07-03 864 .private = &cp, 20cbc9726 Andrew Morton 2008-07-05 865 }; b813e931b David Rientjes 2007-05-06 866 down_read(&mm->mmap_sem); :::::: The code at line 858 was first introduced by commit :::::: af9de7eb180fa9b74c2cdc256349304a58c63c02 clear_refs: introduce private struct for mm_walk :::::: TO: Pavel Emelyanov :::::: CC: Linus Torvalds --- 0-DAY kernel test infrastructure Open Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation