Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754150AbdCOQBh (ORCPT ); Wed, 15 Mar 2017 12:01:37 -0400 Received: from mail-dm3nam03on0139.outbound.protection.outlook.com ([104.47.41.139]:11597 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754121AbdCOQA5 (ORCPT ); Wed, 15 Mar 2017 12:00:57 -0400 Authentication-Results: linux-m68k.org; dkim=none (message not signed) header.d=none;linux-m68k.org; dmarc=none action=none header.from=cs.rutgers.edu; From: Zi Yan To: Geert Uytterhoeven CC: kbuild test robot , "kbuild-all@01.org" , "linux-kernel@vger.kernel.org" , Linux MM , "Kirill A. Shutemov" , Andrew Morton , Minchan Kim , Vlastimil Babka , Mel Gorman , Michal Hocko , Naoya Horiguchi , Anshuman Khandual , Subject: Re: [PATCH v4 05/11] mm: thp: enable thp migration in generic path Date: Wed, 15 Mar 2017 11:00:52 -0500 Message-ID: <84C15843-6697-42AD-B590-DBB72E672632@cs.rutgers.edu> In-Reply-To: References: <201703150534.RFh2ClRg%fengguang.wu@intel.com> <58C866B6.4040800@cs.rutgers.edu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=_MailMate_35421DC6-9F93-4FE9-8CEB-4E393BAC88D3_="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Mailer: MailMate (2.0BETAr6080) X-Originating-IP: [12.1.252.66] X-ClientProxiedBy: DM5PR16CA0026.namprd16.prod.outlook.com (10.172.42.140) To MWHPR14MB1664.namprd14.prod.outlook.com (10.171.146.146) X-MS-Office365-Filtering-Correlation-Id: c1331f99-8640-42b7-80eb-08d46bbc76dc X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:MWHPR14MB1664; X-Microsoft-Exchange-Diagnostics: 1;MWHPR14MB1664;3:pol4CKBmDUtDRndf18wwttgXM55NW0sOFDu8sSGhJbs8ViZXxDdxf1oBnEI7rFc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TekH4cKTwRPTT+A6MWuI0RC3EZ/g1CyRYEhNGFjTS3RUO18vGq+w08orrF96wvwYTMYe0CAr7me/YH2JiLRwKnmjdZnfLfj3jmPnaR7YHHI+NaypalWBxhiDq3KnjIL3+RIgo6AJ+HNRAOyt5n2hDbyGbnfgT8SfQorwu9U5Ekuy4r12nnyNP+GafeQjfpIhwrzNzECMfU6+vrbPEtQzB98citdR2TuXm2Ip+7liBv1RgirjEo4wzQGEvl4x4fOF/NwRZauRTDcgRL3EGrPY3znFxyP8zDekBbpxD5BE9Wn2brxrr7X2Ny81cLAigtVBJ31IW+Zdr2kbsamzEyIeUM6EjvC0OgmiA8C9o8edJ8bJod3/D5xIAOLHMXU8/RlCTrefMPhVs8baa4zFtGEUQCVS+AOhaBRUdb8lDe X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(22074186197030)(183786458502308); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6041248)(20161123564025)(20161123555025)(20161123560025)(20161123562025)(20161123558025)(6072148);SRVR:MWHPR14MB1664;BCL:0;PCL:0;RULEID:;SRVR:MWHPR14MB1664; X-Microsoft-Exchange-Diagnostics: 1;MWHPR14MB1664;4:14JI8GPnakBZ6oqyFbbKry3Ympck4Rli1+u+rG/JFf3Dv+EsXsQQ8C2JSUeiMTiO0BOmdP0UW5Jw6oF92Ogs4BtNohTW10LwbDoWBSRm5EVJwNn4ym7iCrUHms3EdgT34crkSo/S1FBgbKJU/KGJQCrYkYIGFIg86aWffueB4YBjdLUxLsfjlXjIbxovU9Be1H9IiG2FYnBQnjY7eF/2soqMc3LYurp0PUOsTt/J48p5k+osKj8g8UtFzNkgq++iAt8aQZeYL805O1CLL+lOBp1Wui5JxLJbqe/Ws9LX0F6XI9zFAUZH6U6VGKmLq7lQk1Y05IMGkbSup6pPVhG4Vc2bHrKq9MMhoEGKLDDH7DLKMXrLmJIGnZNcVeYW+ctKseapFRyGO4ABKBuAQGrgoggbFmUOsyGwf9jMiRyFRMnETmDrzJTqgunz2iYQTdxbugJZNOHCFc7VxJ7eesoYIDWEkD9q07V+2NbbvIzvqPTO3KTNBrNkoslIJf7lP+2CG6NmZo/gw3ljzVYdVwiNajkK3mdjeOpE+/jpkT25qsySgJQQe4BWDABVRQQNJmhnk7U4sYWIwvi4CBVdgg5DQ3FKXyKAKVa64B/n8bmb+/7ZwsBRlXZYGbFkxY7yHkbDGqXArOTlciGZAkujXFif96GpDrY+OxNs4YREucL6eTBenmn0S94z0SJu+M0pWJCN X-Forefront-PRVS: 02475B2A01 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(4630300001)(6009001)(6049001)(39450400003)(39410400002)(24454002)(377454003)(77096006)(189998001)(4326008)(229853002)(568964002)(88552002)(6116002)(5890100001)(66066001)(2906002)(90366009)(76176999)(42882006)(3846002)(50986999)(6486002)(2950100002)(84326002)(83716003)(21480400002)(75432002)(82746002)(110136004)(5000100001)(50226002)(53936002)(42186005)(81166006)(7736002)(25786008)(8676002)(6916009)(54906002)(6246003)(305945005)(5660300001)(6306002)(7416002)(53546007)(38730400002)(86362001)(33656002)(41533002)(72826003);DIR:OUT;SFP:1102;SCL:1;SRVR:MWHPR14MB1664;H:[10.20.179.120];FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;MWHPR14MB1664;23:oK+VUquvI6FvCt5/IBoLDrLni5GEzssiedCCCedL4?= =?us-ascii?Q?l7Lk7Su8GtZAyJtRJdcFvERc5Bv+3gagPRAqJa16OYK5gMtcVcNVjZcCKklu?= =?us-ascii?Q?/b6aipVQnSuZIOMmpzAwdil3hiUHrGhbe36Nu2QvtCkXrH2uJGwmiMuZmBgO?= =?us-ascii?Q?TJrgLB2rUe5fwDmJO8Q6cM9s6VStCvUfOF4QiHyTSDno9Ok0jnpWhwQdIqE2?= =?us-ascii?Q?mJs24/1KAKfntQu0mI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-ascii?Q?WBKiFzP8MjAw4u9c7E2zTgy2Dc9y9VfdICeJuKupouEy3tHUhSuha/X3DiCo?= =?us-ascii?Q?9MOioTIlaenEks3fUrOjbSlmwgjhJPBgyQMs01kp1UXd2T6uFizwfJAc5Y6g?= =?us-ascii?Q?8tz4hpdqIZILtys5K0=3D?= X-Microsoft-Exchange-Diagnostics: 1;MWHPR14MB1664;6:1nb4zQKpXXc1FNQccV4mo3EtEjM80THfOv7dVZ0tJ1HbLR6fZoTnC/qBwRoJg1jhWFLMPppA8D3qarAzGp9RY5F5/pfbRn31g/i4ySA8K6eFFNDVLY2XIbCzzM3EQPP6rg9CCGk50m7OMIVTJK3kjEPrd4KktySVxEtuvysZ40hY8+0R+I6yOcIlh6uexhXioyQPGPSdOAugQ8hySCTLKcjNoDxGOJKHgqRA/s1BPvo65y59yzyIteiOpjU9lK70ZX+LNiIrs1xO31KBi00vwnXU5A/Hd3IINgWxf7l+jyO9Wm4+Qpi0Gzu1rZ169hnHuIXVBxlFg1zgZ6MT8wHI43kCGDGTYeRwZPnaP8cYWEu9fFQLyywRSQ9AUZWtqaGoyvBsa2F0NYJgEtYF4KVaAg==;5:W0Sy5ys6nVjs5bsFsXpbX4OxDs2iAaqEgjDi8DPfiIjIkZAUk6NaqSql/KvaIRP0g71d4dd+6/Gkfqw04+9lGa793+qORElTUWWQYpLRh2FM64GvletEfSJD3axfwOZh2Wg8dMzkq86JY90ccWln0QuoxnDIzex1vSGckZcnRpk=;24:KCI93GyL1GOb1PFEZxRtNZCs0JD2LK7MhDsGFTpSBtujSbCMx0fQqoAQ5G6nXpN9aVuci3DOvadXEe2BR+uOHnTQAFVHb5adDa5loxEXb7A= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;MWHPR14MB1664;7:9YyRSk9OC7IF5qSe23pOHBvfQWTFnKuISV8jkvGaqcc9lsiQYwL8zA3qPbOvyJdEUN7z4/gJCQlp0M2VQOIZRuAN/g1wF/Jjg9bAAcnoFjTQImzKV+wGQ8x67Qh+7u/bElXvu83JDt9syyxO1aGaFCrfW5iBs2ys6EbjEanU0OS1u3sIwHsAYMpNrjYcc1EoUha56yHgWeUepylonO/JFkFwuxoY4oGrVFqkurUY9kbk5k+RwD2VBJxSzNzhNMb0m7RxvSAhRvs52PjvWZ5ZwtlT3HI/z2iM8qhltb7Scb1gKZtyc7+cCC435YLYroN25bXNZCPydOml2n06TfyHww== X-OriginatorOrg: cs.rutgers.edu X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Mar 2017 16:00:54.7799 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR14MB1664 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1593 Lines: 50 --=_MailMate_35421DC6-9F93-4FE9-8CEB-4E393BAC88D3_= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 15 Mar 2017, at 4:01, Geert Uytterhoeven wrote: > On Tue, Mar 14, 2017 at 10:55 PM, Zi Yan wrote:= >>>>> include/linux/swapops.h:223:2: warning: missing braces around initi= alizer [-Wmissing-braces] >>> return (pmd_t){ 0 }; >>> ^ >>> include/linux/swapops.h:223:2: warning: (near initialization for '= (anonymous).pmd') [-Wmissing-braces] >> >> I do not have any warning with gcc 6.3.0. This seems to be a GCC bug >> (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53119). > > I guess you need > > return (pmd_t) { { 0, }}; > > to kill the warning. Yeah, that should work. I find the same solution from StackOverflow. Thanks. -- Best Regards Yan Zi --=_MailMate_35421DC6-9F93-4FE9-8CEB-4E393BAC88D3_= Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJYyWU0AAoJEEGLLxGcTqbM3ngIAImIhggnRA9M/OXwo4slVc2V 8iDC1krL5hGgMg2dVRtYzeDjfcGhMDWXAG/3sECdf1g+3a89bQUeL1vbmjElMALW DxiYo1SUXuYASKd5F8WOh8xKH5FFCCun2JjjHKmVzaUx2zDSENRcJ35KIPdJLppp RYWTcc3NIcJ5lezVAIh+Jj9fHjMNnNoXB8rVAMVS0hg0J65SNHO9AvV4F3GSBWDr YpfKv4Q7aui8tdLOBb7HxNTWG/1MGp8sZ9twjzv94XmeKb/OeOd5oIPmKqKIczbJ eJrOZGZ41c1oH8qi3bBW9kehmHTBo3iFREMJnBOyGmM3OSFCeDaDigP4bT9ZkCE= =JAwp -----END PGP SIGNATURE----- --=_MailMate_35421DC6-9F93-4FE9-8CEB-4E393BAC88D3_=--