Received: by 10.223.185.116 with SMTP id b49csp2719764wrg; Sun, 18 Feb 2018 05:15:39 -0800 (PST) X-Google-Smtp-Source: AH8x227lmSx+fdvUZYI5ONJ0IkN/wV8+qDg/YhSSMph+0V0wjY8oevNCaEQMFpcnbtfQ/X+M3zo6 X-Received: by 10.101.82.198 with SMTP id z6mr1457904pgp.41.1518959739531; Sun, 18 Feb 2018 05:15:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518959739; cv=none; d=google.com; s=arc-20160816; b=mHmai15XPCp+6YrIh2N26CF9LCz1TObyAQoNq0VAOmZMYf/B7bM29LFllDoKmj1HLp 5qR7k2Q5oLHVglxIlFaX0IyhpdNYQhUfCGGIFtJEzN5qS3c+3kT19rAHJI6YcvN2hWUB Er5X5EKxq3A/RFvy3xhuygzzl++Iu4cunCyTb//mW9Fawv1Hc6pJLPs15OAqWsV/5GaB QsGEXEydmPgQWty7EKPOHolfdz0if6vqYu4xVcZqhktezbB+0Gc5veYjzWe5VTNiumkj xahmbf1IHrzNSrpBWlgZ+TeFA51rR7UEgl/iN1DB9f9CUEdAteinXtEVnnnRpqB8iFvH XQRw== 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:dkim-signature:arc-authentication-results; bh=jrD3z0eW8AX0gZnlbJ6sV9A/5JxBcVSsHSz5YW1avHQ=; b=voQ4VtTMThNsQEccx5zJscWBT3j/lHLio4Hyb2ZKqoyjR+TxhjcurnIThLEadUoz1x eWC282fAPbnfy5W4fjQpFpYOteLcOI4mUXi5bogPayim29xK6CVOufv2Mu6tikGP9nED /lxFoBUkT/rneB49OKfvaci7rblTDWTKGWNM8XKbGwBBW0snp9wfdxWFdw94hAv5472E xcU8tHJ5UqIWFBRxloVBbyB5j/qTSbtTjOngUAvTjg9JVZUT5BPHG2UoNKMSAaQelmB0 jlJHVir4dze/5O93waAw6GRo3nirWpQRUXVI6k8anoksAJz29IHQqgvI1sCaDfReVzWB Q+QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dW5ceA4a; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m2-v6si6057530plt.418.2018.02.18.05.15.24; Sun, 18 Feb 2018 05:15:39 -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=@gmail.com header.s=20161025 header.b=dW5ceA4a; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751356AbeBRM6M (ORCPT + 99 others); Sun, 18 Feb 2018 07:58:12 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:55639 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751292AbeBRM6L (ORCPT ); Sun, 18 Feb 2018 07:58:11 -0500 Received: by mail-wm0-f68.google.com with SMTP id q83so1186600wme.5 for ; Sun, 18 Feb 2018 04:58:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=jrD3z0eW8AX0gZnlbJ6sV9A/5JxBcVSsHSz5YW1avHQ=; b=dW5ceA4aQtvkRD1/0N7OxdjsG+ImmxVPHqDgRY/MTLPMTVYzty2LGWvtJHHMRKJ92x rHWFBJyoZdJD5Hl9qQDKNf1GH8Puai93CiRENG+0ciYYDNUicFyI8hwx4JK5R75OLU83 QMMnhYzx8Efi7ES/AbjybEmMXJD7cYle3YjaBXhMHwg7oftFiNO2hMrfW07zI+/1UAtl VrNxmA/qGIFAMjnksKJAYCCx0Ps3TFNpF++YCSzSuzemDzdcfXN5G4m2aDmetkBtARVV OmXDtzw3a38VCXysmYfqHhtbI+fHdrK+M6+G+uLxxs9Y0npaM8mZ2CqIZ21iTkvuF80f pBUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=jrD3z0eW8AX0gZnlbJ6sV9A/5JxBcVSsHSz5YW1avHQ=; b=ow/nwFt0Xn7dDCCo4gdvHWrY1yMxv6+Rb0dlJgy9phOARY4CSmJlSGOga9o5j4Bp4O uzjgrcWHyIeU5GJ4gGPyiPI6km9Fee4jp9i2nfkl7wdUvUqHunC/ObBkv8deCJQdD7Gt lVlkSkm6kTddR1LpTsFEUiFhf6yVA/RmAbnWJJuZhhYUGxzXbTB17aT0rXiV56MOEUbZ /+/LnCZ/SWtdavteRB7XT1F8mZbxElap3E80++SEbA9/0LQiwR0F211OpqtjHKejw7+/ NlFyPrbrptPkFFnBePgCPI7VnjDplPT+HJFTmsrDVcWzFe0lgqbNVQvdMuubvI3m1vqa 26iw== X-Gm-Message-State: APf1xPCGpVIx/TazTxcMpny8tam5nQ4u/RVvn3gaMB+nEm+bYXsWBVHf 08+S3L+Dgdjh0wPUk009rGE= X-Received: by 10.80.208.195 with SMTP id g3mr1645523edf.63.1518958690125; Sun, 18 Feb 2018 04:58:10 -0800 (PST) Received: from ltop.local ([2a02:a03f:40f4:c400:f5af:36e:bad9:6771]) by smtp.gmail.com with ESMTPSA id j6sm1003730edj.88.2018.02.18.04.58.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Feb 2018 04:58:09 -0800 (PST) Date: Sun, 18 Feb 2018 13:58:04 +0100 From: Luc Van Oostenryck To: Andy Shevchenko Cc: "Tobin C . Harding" , linux@rasmusvillemoes.dk, Petr Mladek , Joe Perches , linux-kernel@vger.kernel.org, Andrew Morton Subject: Re: [PATCH v2 1/9] lib/test_printf: Mark big constant with ULL Message-ID: <20180218125802.lu5abzydm2hwxj5p@ltop.local> References: <20180216210711.79901-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180216210711.79901-1-andriy.shevchenko@linux.intel.com> User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 16, 2018 at 11:07:03PM +0200, Andy Shevchenko wrote: > 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. It should be 'UL' not 'ULL' since for architectures a pointer and a unsigned long have the ame size while on 32bit archs, long long are (or may?) 64bit. -- Luc Van Oostenryck