From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1165874AbdEYWpI (ORCPT ); Thu, 25 May 2017 18:45:08 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:44424 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030578AbdEYWnf (ORCPT ); Thu, 25 May 2017 18:43:35 -0400 Date: Thu, 25 May 2017 15:43:28 -0700 From: Andrew Morton To: "Zi Yan" Cc: "kbuild test robot" , kbuild-all@01.org, n-horiguchi@ah.jp.nec.com, kirill.shutemov@linux.intel.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, minchan@kernel.org, vbabka@suse.cz, mgorman@techsingularity.net, mhocko@kernel.org, khandual@linux.vnet.ibm.com, dnellans@nvidia.com, dave.hansen@intel.com Subject: Re: [PATCH v6 05/10] mm: thp: enable thp migration in generic path Message-Id: <20170525154328.61a2b2ceef37183895d5ce43@linux-foundation.org> In-Reply-To: <138B8C07-2A41-40AA-9B4C-5F85FEFD6F0D@cs.rutgers.edu> References: <201705260111.PCjyEyr4%fengguang.wu@intel.com> <138B8C07-2A41-40AA-9B4C-5F85FEFD6F0D@cs.rutgers.edu> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 25 May 2017 13:19:54 -0400 "Zi Yan" wrote: > On 25 May 2017, at 13:06, kbuild test robot wrote: > > > Hi Zi, > > > > [auto build test WARNING on mmotm/master] > > [also build test WARNING on v4.12-rc2 next-20170525] > > [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] > > > > url: https://github.com/0day-ci/linux/commits/Zi-Yan/mm-page-migration-enhancement-for-thp/20170526-003749 > > base: git://git.cmpxchg.org/linux-mmotm.git master > > config: i386-randconfig-x016-201721 (attached as .config) > > compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 > > reproduce: > > # save the attached .config to linux build tree > > make ARCH=i386 > > > > All warnings (new ones prefixed by >>): > > > > In file included from fs/proc/task_mmu.c:15:0: > > include/linux/swapops.h: In function 'swp_entry_to_pmd': > >>> include/linux/swapops.h:222:16: warning: missing braces around initializer [-Wmissing-braces] > > return (pmd_t){{ 0 }}; > > ^ > > The braces are added to eliminate the warning from "m68k-linux-gcc (GCC) 4.9.0", > which has the bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119. I think we'd prefer to have a warning on m68k than on i386! Is there something smarter we can do here?