Received: by 10.192.165.156 with SMTP id m28csp502964imm; Wed, 11 Apr 2018 02:45:39 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/MdxVrTI6srzlm3rfKDfvRZCWi9pxVm9x1s2fDz759jUBdozWCEH8m5TNKYPkfJkU/p6Yp X-Received: by 10.98.31.216 with SMTP id l85mr3427354pfj.80.1523439939647; Wed, 11 Apr 2018 02:45:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523439939; cv=none; d=google.com; s=arc-20160816; b=LotQytG1XvnwUqsanHzKJHDX/4u59FGgExrk53EzdFNWztBVGP/wwBAEdbCFljFNyG KIJskbgwiNgkrDKyfCi5bliHwyOmT6x6rV/4+W/Q0QPIyT3uUFKC+JYL42XnUinINMzx ZXZ8aMlAFhCbezOmiWoz0TXEcRgfsi7V384qvTK47ljjIw30JqcfGxL6a/ZO9v+Lu631 xcj5j5MwyNKShAs04qGx25OoelXwcIIk+80jrNp5NKtrsjR5ihwE/o4hdfoYN0ExiBxm oNjf6lWm/2pS03X5rYrEc/Tvdzhg+okdcYuv52O9H2zEQJcHgZpnrFTyV7rUe7LBS1J2 oDzQ== 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:arc-authentication-results; bh=OsWzwfy+y1D7B1Qg9ygrhnjoBfxilREronL8tHeoE1Q=; b=OffeMW70XSIn4BJe2cFr6V6E3CFiajV+mQsua8wgNFGOyKbrcrFgQczY3yrhVaDUTo vMJLd1PaiWxGFebS90D0KMX/82J4Gmlo2vAEQsbbfMFDgDHwAaxzFfmYhaV+63CwA23A iWaqx2BEdG6ldz9U+stJHSs2loDcEaqa9uPSjMbc0sMrtOg0d2OyfalWTdyGdeGK9bkC Ott3DuTyq/rc4nbEd6bgZ2I6EV1BN9wEYbAi1nQZn/e4TPjgHElbdy34aS4KtphnTFwa BlrFx9wYwkJKAfnjeJMykmviUMwmT5IFJFh2VXAMsTADD+4A47Fqk7my2ndA2Dw9emMZ 6YFw== 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 q10si537012pff.124.2018.04.11.02.45.02; Wed, 11 Apr 2018 02:45:39 -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; 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 S1752178AbeDKJlv (ORCPT + 99 others); Wed, 11 Apr 2018 05:41:51 -0400 Received: from mx2.suse.de ([195.135.220.15]:33947 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751546AbeDKJlu (ORCPT ); Wed, 11 Apr 2018 05:41:50 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id DD20FAEB6; Wed, 11 Apr 2018 09:41:48 +0000 (UTC) Date: Wed, 11 Apr 2018 11:41:47 +0200 From: Petr Mladek To: Andy Shevchenko Cc: Luc Van Oostenryck , "Tobin C . Harding" , linux@rasmusvillemoes.dk, 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: <20180411094147.6zmq5h46men6g74t@pathway.suse.cz> References: <20180216210711.79901-1-andriy.shevchenko@linux.intel.com> <20180218125802.lu5abzydm2hwxj5p@ltop.local> <1519053862.22495.396.camel@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1519053862.22495.396.camel@linux.intel.com> User-Agent: NeoMutt/20170421 (1.8.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 2018-02-19 17:24:22, Andy Shevchenko wrote: > On Sun, 2018-02-18 at 13:58 +0100, Luc Van Oostenryck wrote: > > 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. > > Yes, UL works as well. I have updated the patch and pushed it into printk.git, branch for-4.18-vsprintf-cleanup. Reviewed-by: Petr Mladek Best Regards, Petr