Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1390802

linux-next: build warning after merge of the akpm-current tree

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Stephen Rothwell <sfr@canb.auug.org.au>
Newsgroups linux.kernel
Subject linux-next: build warning after merge of the akpm-current tree
Date Fri, 29 Apr 2016 08:50:02 +0200
Message-ID <rtaps-1qB-3@gated-at.bofh.it> (permalink)
X-Original-To Andrew Morton <akpm@linux-foundation.org>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201601; t=1461912343; bh=wH0h7NbeevaaCyJRwpuV+cFNd9zttxoMWt8Nt9+0j7E=; h=Date:From:To:Cc:Subject:From; b=Deq3K7JZygdyZWTzUPSWXnu9+NeOq8IrXn8caMpOh2GkVp1DpHzFCjZFP6l4bp2Kr GFd6U//68NueSv5vjVaAXLjgCaU9wLSNnefA6e4VaOLlXhFqlwxy1wiql7VwLH8kRk T0angBfMYsdSJSF8BxURsYP8Ev6iot1HqJD6l31c=
MIME-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 21
Organization linux.* mail to news gateway
X-Original-Cc linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>, Josh Poimboeuf <jpoimboe@redhat.com>, Quinn Tran <quinn.tran@qlogic.com>
X-Original-Date Fri, 29 Apr 2016 16:45:43 +1000
X-Original-Message-ID <20160429164543.039df436@canb.auug.org.au>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1390802

Show key headers only | View raw


Hi Andrew,

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 :-(

Probably introduced by commit

  eef17fb79096 ("byteswap: try to avoid __builtin_constant_p gcc bug")

I guess __builtin_bswap64() has type "unsigned long int" :-(

-- 
Cheers,
Stephen Rothwell

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

linux-next: build warning after merge of the akpm-current tree Stephen Rothwell <sfr@canb.auug.org.au> - 2016-04-29 08:50 +0200
  Re: linux-next: build warning after merge of the akpm-current tree Stephen Rothwell <sfr@canb.auug.org.au> - 2016-04-29 09:00 +0200
  Re: linux-next: build warning after merge of the akpm-current tree Josh Poimboeuf <jpoimboe@redhat.com> - 2016-04-29 15:40 +0200
    Re: linux-next: build warning after merge of the akpm-current tree Josh Poimboeuf <jpoimboe@redhat.com> - 2016-04-29 16:10 +0200
      Re: linux-next: build warning after merge of the akpm-current tree Stephen Rothwell <sfr@canb.auug.org.au> - 2016-04-30 08:00 +0200

csiph-web