From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752936AbcD2GzF (ORCPT ); Fri, 29 Apr 2016 02:55:05 -0400 Received: from ozlabs.org ([103.22.144.67]:33143 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752668AbcD2GzC (ORCPT ); Fri, 29 Apr 2016 02:55:02 -0400 Date: Fri, 29 Apr 2016 16:55:00 +1000 From: Stephen Rothwell To: Andrew Morton Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Josh Poimboeuf , Quinn Tran Subject: Re: linux-next: build warning after merge of the akpm-current tree Message-ID: <20160429165500.0148ec5d@canb.auug.org.au> In-Reply-To: <20160429164543.039df436@canb.auug.org.au> References: <20160429164543.039df436@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, On Fri, 29 Apr 2016 16:45:43 +1000 Stephen Rothwell wrote: > > After merging the akpm-current tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > drivers/scsi/ipr.c: In function 'ipr_show_device_id': > drivers/scsi/ipr.c:4462:34: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] > len = snprintf(buf, PAGE_SIZE, "0x%llx\n", be64_to_cpu(res->dev_id)); > ^ > > Lots and lots like this :-( > > Introduced by commit > > eef17fb79096 ("byteswap: try to avoid __builtin_constant_p gcc bug") > > I guess __builtin_bswap64() has type "unsigned long int" :-( So, I have reverted that commit for today ... it produces too many warnings :-( -- Cheers, Stephen Rothwell