Received: by 10.213.65.68 with SMTP id h4csp2113696imn; Sun, 8 Apr 2018 20:03:45 -0700 (PDT) X-Google-Smtp-Source: AIpwx496DUnG4hKyEeJC8MWYq20bkWZnHvePEwVI87qZ5HJ8u3uYhPpXLLiwJBPf/uB5cfrH+NTV X-Received: by 10.99.95.78 with SMTP id t75mr23968570pgb.330.1523243025378; Sun, 08 Apr 2018 20:03:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523243025; cv=none; d=google.com; s=arc-20160816; b=XvvrI1JVqcEr28/mJIiwP24vPU78E9yDLsQ0STTVxANj/CtRYXpOYYOUd4+BfDsh/g S61jZ1snnIw7IShT+hLjfaZD+dN+OAjQT5KqMqYNpvnNqnC0hCgo2+vTBUmHFjUYH9J/ 5vPtNGVXs9sLS8Jsnnb+DXOlcg8RfiSVcLOu+K6N6PSckb9zdck4hXsEgGq98x8chv+T ANGWaPR1ubx24K2phXgzVqGIWnqylbfCk9FCICIEObaq03QeqawW8RTMnYhl72W/r8Gh z1N2cz7X0LFnxaObqCPd0YC8J9xkCHtoC9kCs4rC9aIYPRvsLUNBm0vplAiig3IzKaVh o/ag== 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=XCQwH4ME/zeruJA/89ZUJSlZWRhBgrVxZQlIg3cokYg=; b=XUvqWSX++PNRt/ipIzJpaM+OJfTJKOp5FAwI6LFxOA5jwrdsv0PxicMB9pYqxW6028 QER75ytWRtaMviRb5DINJlAO+uRd93NQ4GilHw+SwIy77pTWC9n+fBN4td92Enj6bpUQ 9Ma+uG90kAvip39GLE5Uy+MqU9Ht/Afk3xlLallee7CVd4yrOQ13/79YFu9vlKPES+g1 TourD5ADKpfZvjDflFTyBmUgqOvncGxR0dZ2M4EBhLYJJex+RUfwGPIBhjSC6m4STAPX tuNswIwyZGVytMXC/pMGRHEcrEjONxJ6KS7ZwCGr3TinhDLlHqwJlKkiiMIjajF5qwMM DtHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=hANtXO3K; 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 l7-v6si14620437plk.380.2018.04.08.20.03.08; Sun, 08 Apr 2018 20:03:45 -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=hANtXO3K; 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 S1756034AbeDIA3k (ORCPT + 99 others); Sun, 8 Apr 2018 20:29:40 -0400 Received: from mail-by2nam03on0107.outbound.protection.outlook.com ([104.47.42.107]:6816 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755032AbeDIA3e (ORCPT ); Sun, 8 Apr 2018 20:29:34 -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=XCQwH4ME/zeruJA/89ZUJSlZWRhBgrVxZQlIg3cokYg=; b=hANtXO3K+thPpVWv8OUkazd78cPO6y5zNg8c8LXh58wCqpqZnpB7Sr13rXXJXzvIDryFBc1HcF4ARMc6TNv8YvmyWzutgf97YH4P7eB0eC7XuMfbKTJFgtRj9Hhk8GF2XxXl/OCBFAxgUBkO7Qsi65YbKvpdusbFRXrc+wo8a7M= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB0967.namprd21.prod.outlook.com (52.132.133.25) 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:29:31 +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:29:31 +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.9 104/293] arm64: pass machine size to sparse Thread-Topic: [PATCH AUTOSEL for 4.9 104/293] arm64: pass machine size to sparse Thread-Index: AQHTz5kXHAEHOY7AyEC7UZigcYN6LA== Date: Mon, 9 Apr 2018 00:24:14 +0000 Message-ID: <20180409002239.163177-104-alexander.levin@microsoft.com> References: <20180409002239.163177-1-alexander.levin@microsoft.com> In-Reply-To: <20180409002239.163177-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;DM5PR2101MB0967;7:KrdURTtXY2v/6jtwu4mE8J7f9CbM4xnB1ZitKtjVMp57662kyRFeMQbGYpuEQOMZnXa+/1gIJv5L5U+ZBRaks7vtPJMWbHrDk/5DwxbRI6JegHeZFC27qcwW6OMrCnLhZLvTP8eDA33xp11zlunMufxkqcZRx5DNxMj9b1kdsFQ1aCX/ZTLzl/hMaMm21t4uV6HT3DzIL8T9YsL2L4KPoSuD7tfkANtTfxNWSdXNyAc4PPquxPnqBZ/vidVKvvzY;20:yNmIpOse8jHlLorO0ZLHDoflQJTx3YGSpQHTv4OzSNlfhiiqTO1AvZOQvWZvLcCc7sR72SAHtQnJKMicF5AvbEN/xY1jtGurvhnxPvLDbP40zPEcRG3QzHV67qQtQLqURLyE79itcQoy4ra66e0oHsJBp6J5ta+m6OGe0y0Mpj4= x-ms-office365-filtering-ht: Tenant X-MS-Office365-Filtering-Correlation-Id: cd50a7ea-8cbb-49cd-65f3-08d59db0f644 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020);SRVR:DM5PR2101MB0967; x-ms-traffictypediagnostic: DM5PR2101MB0967: 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)(5005006)(8121501046)(93006095)(93001095)(3231221)(944501327)(52105095)(3002001)(10201501046)(6055026)(61426038)(61427038)(6041310)(20161123558120)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011);SRVR:DM5PR2101MB0967;BCL:0;PCL:0;RULEID:;SRVR:DM5PR2101MB0967; x-forefront-prvs: 0637FCE711 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(396003)(39860400002)(366004)(376002)(39380400002)(346002)(199004)(189003)(6506007)(486006)(575784001)(86362001)(14454004)(59450400001)(68736007)(102836004)(99286004)(26005)(3846002)(6116002)(186003)(476003)(2616005)(1076002)(3280700002)(86612001)(72206003)(4326008)(446003)(54906003)(76176011)(11346002)(2906002)(22452003)(3660700001)(110136005)(97736004)(316002)(6666003)(5660300001)(478600001)(8676002)(6512007)(8936002)(39060400002)(107886003)(6486002)(53936002)(81166006)(36756003)(81156014)(10290500003)(6436002)(10090500001)(25786009)(66066001)(106356001)(305945005)(7736002)(2501003)(5250100002)(105586002)(2900100001)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR2101MB0967;H:DM5PR2101MB1032.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: REzNTb/vZE1ag5pvhMcVHLKfSetLoHSkrh52YYAf5mMJfnmmqWMQGYdP0MIHH6Ngs/JT/mjqiHuv0jdHUtN4IWPHKO3vhqtPnhIJDz28NuFgHZ1zIvAG83cEIRgRW4kIKP4eW2nHOQECISAoCEvxMrd5aDhxqht9Kiyez9vnnlMVcC1xMMa6TntKQJontlTMnQyYQrnIKI35S5PCusslm6NNwZJQczREseTpJLr1cw7JWgFU4Q4+9pW1dngdeM+THaWFyAeF4FbXF9DEglh5lvcjouTWT0oUqgcdkTmulocBAlRroLoNqgQTFN4QZy5mD/a/SRtP0aL0PGECABpAs6FTdS1WkArTMTGU/Dq80jHhGWrCuDsVGVs9erjjqpFlnEvoEe8+2DP6WpkqdfmKc5tIn3GERVZt2fPNqzsUQQ8= 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: cd50a7ea-8cbb-49cd-65f3-08d59db0f644 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Apr 2018 00:24:15.0031 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB0967 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 92110c2c6c59..bc66f4b6a1cb 100644 --- a/arch/arm64/Makefile +++ b/arch/arm64/Makefile @@ -58,7 +58,7 @@ LD +=3D -EL UTS_MACHINE :=3D aarch64 endif =20 -CHECKFLAGS +=3D -D__aarch64__ +CHECKFLAGS +=3D -D__aarch64__ -m64 =20 ifeq ($(CONFIG_ARM64_MODULE_CMODEL_LARGE), y) KBUILD_CFLAGS_MODULE +=3D -mcmodel=3Dlarge --=20 2.15.1