Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp106003imu; Fri, 16 Nov 2018 18:29:06 -0800 (PST) X-Google-Smtp-Source: AJdET5e1/IbjO+mpWlcLPcVuZNv8d1PWup5GphGAW7O6nZve5UuihjkjH9lEHoWechYu98YWnblC X-Received: by 2002:a63:8043:: with SMTP id j64mr12399469pgd.405.1542421745901; Fri, 16 Nov 2018 18:29:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542421745; cv=none; d=google.com; s=arc-20160816; b=I+Yc7nrEr6bbHTQ2g5rBoG1mrr9OZYF1G9vwYuSquo+knwUAS0yaytBYLPRmOotaA5 Pl++wi3ghj8N2gLpoj3s1jJzRqREcuGn/UjpqB+MabyqBVZwn254NXf+x2eFhFL9qeJh XEUsxz91g1HaCALmoSyb/ZAo4keV4ERzBZ7wbscXXAQsOm6S1e+BSW7ZhKmTXjrizu0w cXy05WwfXgo67S0waD8hMC0G2cHqkpivmQq0JRDeIpqnqOnXkCPid7w8wFYAoh9gG2m6 xKBn6xKFEEPPs/V5OSwb5w0MIzLeRSl2McNXFIwbSeSUXcjTbCNvQvWxzEMiL4k+R1dX Wwew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=+0BkCoaCmgu6p28mUqq9yNv/I0s8QJ1ji8eYvcUVRVU=; b=byO0bIOJ85pnLZyGwx0BnbDSuM5DT7utHg9UbuX0FdtBdf8dd5ODgHqfpXqi+kQdGw gCBYbyRQbj7lHY9jy8o5ZhvHsx2HbS1UyA3h1++IGpqZt3tBv4cy6Z31IysJYwSxPDxR /pSGYcHgdZn5ecZpjQdV6ElHAF8f0uE7Zg7q0gBbQ64Aud4xCn1nKq5cmDH5aQW2BEDL vBJXQQjYQW2hFKkZXb04CB0Of5hrDvIuooL2kYb92RpdD4YipkMqQjlxG7maM/5nhxnY IS68886rqagj1t3ps2VKkuOqE0T4yFax7aTZgdi5QUSmBwPi7e3wCTsuFDYF4yFMqaR5 hVOQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d16si21479499plj.104.2018.11.16.18.28.27; Fri, 16 Nov 2018 18:29:05 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729853AbeKQMlz (ORCPT + 99 others); Sat, 17 Nov 2018 07:41:55 -0500 Received: from foss.arm.com ([217.140.101.70]:35010 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729736AbeKQMlz (ORCPT ); Sat, 17 Nov 2018 07:41:55 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 53BD0A78; Fri, 16 Nov 2018 18:27:00 -0800 (PST) Received: from brain-police (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id F12883F5A0; Fri, 16 Nov 2018 18:26:59 -0800 (PST) Date: Sat, 17 Nov 2018 02:26:57 +0000 From: Will Deacon To: Olof Johansson Cc: Catalin Marinas , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: Explicitly mark 64-bit constant as unsigned long Message-ID: <20181117022656.GB2470@brain-police> References: <20181117015456.101222-1-olof@lixom.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181117015456.101222-1-olof@lixom.net> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Olof, On Fri, Nov 16, 2018 at 05:54:56PM -0800, Olof Johansson wrote: > Makes sparse happy. Before: > > arch/arm64/include/asm/sysreg.h:471:42: warning: constant 0xffffffffffffffff is so big it is unsigned long > arch/arm64/include/asm/sysreg.h:512:42: warning: constant 0xffffffffffffffff is so big it is unsigned long > > Signed-off-by: Olof Johansson > --- > arch/arm64/include/asm/sysreg.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) The warning is bogus imo, but since it's harmless to fix it then we can do that. However, you've been beaten by: http://lists.infradead.org/pipermail/linux-arm-kernel/2018-November/613179.html Will