Received: by 10.213.65.68 with SMTP id h4csp2118670imn; Sun, 8 Apr 2018 20:10:04 -0700 (PDT) X-Google-Smtp-Source: AIpwx49kgriKPzOvhnpsm88zhjGtRT72tZx8gKRU5GdqYMfJ6Pbv9A96PGoS5aNGRwQPVDAwm4Xk X-Received: by 2002:a17:902:a9c4:: with SMTP id b4-v6mr37512782plr.333.1523243404655; Sun, 08 Apr 2018 20:10:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523243404; cv=none; d=google.com; s=arc-20160816; b=lvRrOfTvo93BuIya8YrjA32VdU35a2V+Na/lMomE5GbzIGeASgG0JeOi7NmOLES+0I 9aCn8i+Rvgpg0OR6weP9gjIawN7WAq77psfKM04Ckj1tNaNDZ3XJabdoS/9hODFF8JMM iVsJLa9qAgft44IGqesIshsdtMyUYLLOComGm3wbNyxnC9Y10HK0gpvJGMx/0Io9rlfJ BjH0V+ZqEZOjEUIyocS/WN95bVvWHxJOp6UmC9SYBw3063w2zbInTudIguLDSVur/M1/ AAkl84Qru0tXyO0LMyNvlr4K0MEkw/4ydhFl7hP79df4bHa2QRluXg6hb6nsRp/PWqiZ f8Og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=H92DH+tCFp8wj2EG1gSN812HooRgR8hNQLcsWc98O08=; b=1BfblZP6JSSddAdOBdzZZPZXp9TJ9GDhr9PjW7wyDlosRBgu6X13JkLluNc0dWaEK0 8qHci7ognnJr/dVjNzIGfqYPCxneZGDHGOC0RaySK3gmXctFFA3lRko0MuO6qcztnO8v afkJXQ3TdDG7HIVu2Ocu9gkzLabFyQ9YhlUophi8DhsmDolIo29TztRel3J+VNNc1Cj1 O2TmZX1s79HgMQRuLNs0ASFfI2/31jcBSdCk5T0Bxinoj4Sy1OVluY9UGO0pMv9dm8Rw 5lYLCKwEbAeMv/uj3yR+OZB6i5M7zMG150mlxVd1w8ExbAL+8D16QspztNptBe2m57Sc 7T+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=MxGeDhsL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g24si12020659pfe.263.2018.04.08.20.09.27; Sun, 08 Apr 2018 20:10:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=MxGeDhsL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757259AbeDIB2N (ORCPT + 99 others); Sun, 8 Apr 2018 21:28:13 -0400 Received: from mail-cys01nam02on0106.outbound.protection.outlook.com ([104.47.37.106]:1992 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755698AbeDIAgM (ORCPT ); Sun, 8 Apr 2018 20:36:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=H92DH+tCFp8wj2EG1gSN812HooRgR8hNQLcsWc98O08=; b=MxGeDhsL2H3QtZQTZFoDEE4GDUgMd+xgSBpJIVRfXxQwlSfvkJrj3SNWObpDFNTv9ZVHCQbOxmJpYmT2I3i7F003wZNFJdlls6TQYIz5qXpteLip8jE7K60E9wFezYXI7Mq+wN0uAldamb2LcPVwe1J6g1YL/4lV5l2r8ZS3kPk= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB1015.namprd21.prod.outlook.com (52.132.133.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.696.0; Mon, 9 Apr 2018 00:36:09 +0000 Received: from DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8109:aef0:a777:7059]) by DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::8109:aef0:a777:7059%2]) with mapi id 15.20.0696.003; Mon, 9 Apr 2018 00:36:09 +0000 From: Sasha Levin To: "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: Luc Van Oostenryck , Catalin Marinas , Will Deacon , "linux-arm-kernel@lists.infradead.org" , Sasha Levin Subject: [PATCH AUTOSEL for 4.4 054/162] arm64: pass machine size to sparse Thread-Topic: [PATCH AUTOSEL for 4.4 054/162] arm64: pass machine size to sparse Thread-Index: AQHTz5mq7p7+4O+tv0SXqqyi4pyldA== Date: Mon, 9 Apr 2018 00:28:21 +0000 Message-ID: <20180409002738.163941-54-alexander.levin@microsoft.com> References: <20180409002738.163941-1-alexander.levin@microsoft.com> In-Reply-To: <20180409002738.163941-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR2101MB1015;7:qdjsZJfp8WndL050CtBO5ndvvxE8/FyV6JeyoJewm9xiJYMAdqqF4/xTnZTIXtkXCaFmIzUTKIWr0sdTBitwOJ0IfmdMES+i/IJfAETCn5qCExaO2JIiEoxpbIVZvTmBwP7jm2drkiZrKcSCG3bQ/CokFWFqrJtmMY+F4F4dha1a9km3RLb/+eKrxqKN4mpRydmJ0h7XVNabORUQcJEvVwOOGvHSZXRvFANMeEnu4v/7voDIwk4d2HVQnerYVxo0;20:63ElV6MaPVpgUnfgCFS3UnwkWENskj/ATquQw3wHzG9HAqipFvGx0JxWEGfHJlwdyEyyR9rKjUTV7zvADOk5OAFAN/qDjWXD4FDCAOKOyQ3arUR8DvRXtpPrp5w/606gyaEI9oBYXexzSAu/TK6OVaCnqRyNJqGg84sZqOME50A= x-ms-office365-filtering-ht: Tenant X-MS-Office365-Filtering-Correlation-Id: 90629a1e-f9c3-40b2-47e2-08d59db1e387 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020);SRVR:DM5PR2101MB1015; x-ms-traffictypediagnostic: DM5PR2101MB1015: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(180628864354917)(89211679590171)(85827821059158)(258649278758335); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(61425038)(6040522)(2401047)(8121501046)(5005006)(3231221)(944501327)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(61426038)(61427038)(6041310)(20161123560045)(20161123564045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:DM5PR2101MB1015;BCL:0;PCL:0;RULEID:;SRVR:DM5PR2101MB1015; x-forefront-prvs: 0637FCE711 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(396003)(39860400002)(39380400002)(376002)(346002)(366004)(189003)(199004)(53936002)(4326008)(478600001)(72206003)(3280700002)(2616005)(14454004)(305945005)(5250100002)(3660700001)(2501003)(2900100001)(54906003)(110136005)(86362001)(1076002)(107886003)(6506007)(36756003)(446003)(68736007)(6512007)(7736002)(486006)(2906002)(5660300001)(6436002)(3846002)(86612001)(6486002)(66066001)(11346002)(575784001)(476003)(6666003)(59450400001)(26005)(10090500001)(316002)(22452003)(8676002)(81156014)(81166006)(6116002)(105586002)(99286004)(186003)(106356001)(76176011)(39060400002)(25786009)(97736004)(10290500003)(102836004)(8936002)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR2101MB1015;H:DM5PR2101MB1032.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: RrCPQwGkR+Hl3HnfWSykzZ82FPSjajeSwJy4VFh+l6mQadn9TtMHGxDpgvaHxiD8mEHsAhp3eofVSbuonq9UWlop/xs3OQao3Mm4dDyozEdDKCGZfC35g1rkgfyMR8NrkVi/NYyFnON47h2G09kTjwIV1ZFIVb1uDRzNkFwVl8ttL4K0Acx/CUPpZqnoV7ro37cjMogdwtU+apt90VqmfMOGJhND99auXNGIR7sdf1hnUs91BC0XPs2XBFxb8pUgAixtvq530rIaiD4aBtKadJyQEez59hWt8YH7RkZcid+IvGX5doNs2jX8/FHp+e20X724KffnBnyvoKhdAJkf0UsfLze3Rn/LO218sMkLaETrsq/zUXUPFl847HEH+SZU5XoFqlTFOqTrFSXwTwSHUI1gtnGJW4+EgoDVyc9597w= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 90629a1e-f9c3-40b2-47e2-08d59db1e387 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Apr 2018 00:28:21.6144 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB1015 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Luc Van Oostenryck [ Upstream commit f5d284900c0f960e318a063f4c40826b6e3aa6a8 ] When using sparse on the arm64 tree we get many thousands of warnings like 'constant ... is so big it is unsigned long long' or 'shift too big (32) for type unsigned long'. This happens because by default sparse considers the machine as 32bit and defines the size of the types accordingly. Fix this by passing the '-m64' flag to sparse so that sparse can correctly define longs as being 64bit. CC: Catalin Marinas CC: Will Deacon CC: linux-arm-kernel@lists.infradead.org Signed-off-by: Luc Van Oostenryck Signed-off-by: Will Deacon Signed-off-by: Sasha Levin --- arch/arm64/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile index b6c90e5006e4..119d1885a3c0 100644 --- a/arch/arm64/Makefile +++ b/arch/arm64/Makefile @@ -40,7 +40,7 @@ AS +=3D -EL LD +=3D -EL endif =20 -CHECKFLAGS +=3D -D__aarch64__ +CHECKFLAGS +=3D -D__aarch64__ -m64 =20 ifeq ($(CONFIG_ARM64_ERRATUM_843419), y) KBUILD_CFLAGS_MODULE +=3D -mcmodel=3Dlarge --=20 2.15.1