Received: by 10.223.185.116 with SMTP id b49csp1136299wrg; Fri, 16 Feb 2018 13:09:16 -0800 (PST) X-Google-Smtp-Source: AH8x226+XKnUU2eYlpNALwbZNeTbha97q4l1EJMuR5c61D+T4C2E6XWRT0h3t4nUtPVG9M9NjgCf X-Received: by 10.99.96.145 with SMTP id u139mr6191324pgb.110.1518815356645; Fri, 16 Feb 2018 13:09:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518815356; cv=none; d=google.com; s=arc-20160816; b=vFvsR/JiVylA7FzJHd2jb3IEHkB74Y+04zirSPXJW8sOtuMr6Kh0gJ9D1cOkTossv2 a+o/izhPrjfkiZt4lSkJG+FoywMW/wNMTFU0o5FaA1h8XazV4cpi7RUhs8xesUyE+VhV JGuyhidboQoAI3l/4cdSr8WsGUg0cRAn43lBLrjvYRjjNJNxTTFyNv1yk8NtEQ+FDsqn /lvpMx2+3X69e5zwEEMhJ9iQFArmRhIHc3HfXLaMp80jpqGB065fBG1KbzCpYOuOeKrB LmMAqckbuc/fSmZlLRnQ62MYeToiBXBydXwWKHCGxqpbItzGqAaYN7p7JmCSi75JNWSB ccXQ== 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 :arc-authentication-results; bh=B2AKhTZJtW9pqtXnYppEfN2mEBT0AJ8O2Ec95NzlnlY=; b=jREWK45zotdDCnEAmD6A4DRJWe+DH3bjhE2D3N1XQzAF09u1d9XlDRNFPb/hvvapII LuQzzkZonaz5Tag3JGWF78q2i6nsI6RG7xk3h7Z78gxw9+1XGAya7i/4gZvGr/vj3kLi hsZcHukLN2l8TVVIZUe/0oxeYn2P5J9cPOrPmeCj4QpMCxfIE1TceF2f6sfIq0kdFpYe sE0iWphpPmfdaIb9eXdzk5f5XE0IoQ5J2jGxNSoTU+bXRcmqd4+oGwI9xgeiZ0Fh6GjY M1IPg/jtBAXyHhMb0k4UEqLHGIjOKl9RCjbXZ5ZIhM8qLdlLM2+MLMOuFQZORCDIKZhq nkWA== 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 f2si901156pgc.817.2018.02.16.13.09.01; Fri, 16 Feb 2018 13:09:16 -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 S1750917AbeBPVHU (ORCPT + 99 others); Fri, 16 Feb 2018 16:07:20 -0500 Received: from mga04.intel.com ([192.55.52.120]:5977 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750730AbeBPVHQ (ORCPT ); Fri, 16 Feb 2018 16:07:16 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Feb 2018 13:07:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,520,1511856000"; d="scan'208";a="201760376" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga005.jf.intel.com with ESMTP; 16 Feb 2018 13:07:13 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id 04C48EC; Fri, 16 Feb 2018 23:07:12 +0200 (EET) From: Andy Shevchenko To: "Tobin C . Harding" , linux@rasmusvillemoes.dk, Petr Mladek , Joe Perches , linux-kernel@vger.kernel.org, Andrew Morton Cc: Andy Shevchenko Subject: [PATCH v2 1/9] lib/test_printf: Mark big constant with ULL Date: Fri, 16 Feb 2018 23:07:03 +0200 Message-Id: <20180216210711.79901-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.15.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Sparse complains that constant is so bit for unsigned long on 64-bit architecture. lib/test_printf.c:217:54: warning: constant 0xffff0123456789ab is so big it is unsigned long lib/test_printf.c:246:54: warning: constant 0xffff0123456789ab is so big it is unsigned long To satisfy everyone, mark the constant with ULL. Signed-off-by: Andy Shevchenko --- lib/test_printf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/test_printf.c b/lib/test_printf.c index 71ebfa43ad05..309cf8d7e6d4 100644 --- a/lib/test_printf.c +++ b/lib/test_printf.c @@ -204,7 +204,7 @@ test_string(void) #if BITS_PER_LONG == 64 #define PTR_WIDTH 16 -#define PTR ((void *)0xffff0123456789ab) +#define PTR ((void *)0xffff0123456789abULL) #define PTR_STR "ffff0123456789ab" #define ZEROS "00000000" /* hex 32 zero bits */ -- 2.15.1