Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp82564imu; Fri, 16 Nov 2018 17:56:08 -0800 (PST) X-Google-Smtp-Source: AJdET5eNLHkLCbR5WC7u0at/fjiq2rcdUZhae1B4EKOpAtb2DRSjuv5FHQV+59ps0ak8Hdi4xGGM X-Received: by 2002:a17:902:2ec1:: with SMTP id r59-v6mr13291948plb.61.1542419768154; Fri, 16 Nov 2018 17:56:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542419768; cv=none; d=google.com; s=arc-20160816; b=o8RVDcK3xGdqVdwB8HBA5W1fn1L2IJ6bri7Xp1XnyHMg6VkfK9wKfad6bAEIhuVcGl cf6Mxrep9d6Yt322LzgreA1eyTWRSDEDneE3Kj4qwiI4TRF/mhyxYMdbhoWdQYLYlEtw 9XTpbOXQ1Vutffris3pUH5p9Vo49lUh62QDjaPGzSi2F5itHBIxxGEaX6p+jIZUadgCH PBEOZ1AjBChfGSO/FCYlweN/lQwM7yIiXmXAkrHDr4uY9jlvHLd++3FwOOXKgxokY0YV kHEaLLpOQXlOQahLrbD5qqMBNC4mfTeKqew6pOJis2YfYMsEOPGnWF6RgC9sdsQKVd4C c+VA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=fYD1CJsEoNuW6Fa4eRyng4gkxuPQdpl1uLpVMpBV/MI=; b=IoK+x63yKTxuFOR3H2cO6UJsukssKZCamIYDAZEgzsz8ajaThtChWEvbeVnNHGSxEO MLZ0T/ojSCTB3xb1jOpPilZ2TI0ZAFTmjJ0FuCzXr/qt5E2R9U3lXPco4UD+rxAhgqst +aLAGBjD/lQg9n+vquoVHMqHRbs0nxjOLRAon4xFW7KMRioh4+pNYfIlRyV2X9jKIepU 6LbPkPp/uqUKu5P4jPJxQ3tSR65rWz2WXNXW9T/7cs4IZNUSf3Dv7rDHaG15k9TgGWn+ gDNzwkSazFYeMmWff/lRZbvHza+RSYI/VsHZ0fISLS+hiXohQNDafvFY6xtdkomxz7v2 w8Sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=bNUEGftr; 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 d12si33129852pgf.470.2018.11.16.17.55.53; Fri, 16 Nov 2018 17:56:08 -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; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b=bNUEGftr; 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 S1729843AbeKQMKB (ORCPT + 99 others); Sat, 17 Nov 2018 07:10:01 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:42434 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727116AbeKQMKB (ORCPT ); Sat, 17 Nov 2018 07:10:01 -0500 Received: by mail-pf1-f194.google.com with SMTP id 64so7735646pfr.9 for ; Fri, 16 Nov 2018 17:55:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lixom-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=fYD1CJsEoNuW6Fa4eRyng4gkxuPQdpl1uLpVMpBV/MI=; b=bNUEGftrAIdiKpYru2HhxiDE4HSCggd9u+JIAOxv81GHQRj16cvhnq90aIh9OOlxOx I2nSv9VtbRaOVV5J75VMjU7ctrdXuzzuICecAYwMb/VJnuaZVLGjkKsVObpAXjU+SQ4e X41kfS1mMAYC7gO6PqzMhsyRtuuIsyMbSQmKULBwzOvHeaaGKN7tsr/fP3PPYQsFzEKN jngXfDal8rPjFkVL3uUqDSsvHfIE8qxSDCUaQ/NhyugOH0opWhdpL7QaIYxKJs7La74Y IQvKSOeFtR0dEOuPLKAMwWegeNNjwtb/XBiFk/lECTjButi4xRQnmQ74z5zL0G961O8W /J3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=fYD1CJsEoNuW6Fa4eRyng4gkxuPQdpl1uLpVMpBV/MI=; b=MUxjb83TJ0GyuPqhoshKX9tozt4B2fuDpoE17xp25tms+TXJSrxkhhg/wuif2EAkrf gOANVbFAac94QCQcDpAe3D78mo4AAdG0+5lMCTyvE7VfIyAZH638bf6qEsYWy+AZzKMb cc5eeyiCWXD9GOBKf2kHAjV9Efu3P0FGW2rHsdRQonpGKJ2aM4WpaJIFs1ltegjYmVL7 ZVPVccWEGGRHJ3vVKpaOZBo81WFoWfN18AiAhcvKHvMcl0ppSPWvpiIFbGTGWkZAs5oN 8VsC0b8fnwUxhkxx9kpLHm2XG3yeE65TCawlFj6UfkhRZ71fjqBnFAZ73XY95FK7gZOi K7Cg== X-Gm-Message-State: AGRZ1gL31jFXr+HESL0dRu1rdz4hmpAe+F4dw++6RLeGFDNkC5Bef9sq 8LO0NzHbP6hPg7i1PDBbPCSRMQqQzX2vdQ== X-Received: by 2002:aa7:8354:: with SMTP id z20mr13440648pfm.81.1542419710826; Fri, 16 Nov 2018 17:55:10 -0800 (PST) Received: from rip.lixom.net (99-152-116-91.lightspeed.sntcca.sbcglobal.net. [99.152.116.91]) by smtp.gmail.com with ESMTPSA id u7-v6sm23777203pfu.34.2018.11.16.17.55.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Nov 2018 17:55:09 -0800 (PST) From: Olof Johansson To: Catalin Marinas , Will Deacon Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Olof Johansson Subject: [PATCH] arm64: Explicitly mark 64-bit constant as unsigned long Date: Fri, 16 Nov 2018 17:54:56 -0800 Message-Id: <20181117015456.101222-1-olof@lixom.net> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h index 0c909c4a932ff..981892b67b8f6 100644 --- a/arch/arm64/include/asm/sysreg.h +++ b/arch/arm64/include/asm/sysreg.h @@ -468,7 +468,7 @@ SCTLR_ELx_SA | SCTLR_ELx_I | SCTLR_ELx_WXN | \ SCTLR_ELx_DSSBS | ENDIAN_CLEAR_EL2 | SCTLR_EL2_RES0) -#if (SCTLR_EL2_SET ^ SCTLR_EL2_CLEAR) != 0xffffffffffffffff +#if (SCTLR_EL2_SET ^ SCTLR_EL2_CLEAR) != 0xfffffffffffffffful #error "Inconsistent SCTLR_EL2 set/clear bits" #endif @@ -509,7 +509,7 @@ SCTLR_EL1_UMA | SCTLR_ELx_WXN | ENDIAN_CLEAR_EL1 |\ SCTLR_ELx_DSSBS | SCTLR_EL1_NTWI | SCTLR_EL1_RES0) -#if (SCTLR_EL1_SET ^ SCTLR_EL1_CLEAR) != 0xffffffffffffffff +#if (SCTLR_EL1_SET ^ SCTLR_EL1_CLEAR) != 0xfffffffffffffffful #error "Inconsistent SCTLR_EL1 set/clear bits" #endif -- 2.11.0