From: kbuild test robot <lkp@intel.com>
To: Arnd Bergmann <arnd@arndb.de>
Cc: kbuild-all@01.org, "Wolfram Sang" <wsa@the-dreams.de>,
linux-i2c@vger.kernel.org,
"Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>,
linux-sh@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] i2c: allow building emev2 without slave mode again
Date: Thu, 10 Dec 2015 22:54:25 +0800 [thread overview]
Message-ID: <201512102224.cVm7Hcp0%fengguang.wu@intel.com> (raw)
In-Reply-To: <2144222.LfzPx9mJ0p@wuerfel>
[-- Attachment #1: Type: text/plain, Size: 5094 bytes --]
Hi Arnd,
[auto build test WARNING on wsa/i2c/for-next]
[also build test WARNING on next-20151210]
[cannot apply to v4.4-rc4]
url: https://github.com/0day-ci/linux/commits/Arnd-Bergmann/i2c-allow-building-emev2-without-slave-mode-again/20151210-211642
base: https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux i2c/for-next
config: x86_64-randconfig-r0-12102217 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
Note: it may well be a FALSE warning. FWIW you are at least aware of it now.
http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings
All warnings (new ones prefixed by >>):
In file included from arch/x86/include/asm/realmode.h:5:0,
from arch/x86/include/asm/acpi.h:33,
from arch/x86/include/asm/fixmap.h:19,
from arch/x86/include/asm/apic.h:12,
from arch/x86/include/asm/smp.h:12,
from arch/x86/include/asm/mmzone_64.h:10,
from arch/x86/include/asm/mmzone.h:4,
from include/linux/mmzone.h:856,
from include/linux/gfp.h:5,
from include/linux/device.h:29,
from drivers/i2c/busses/i2c-emev2.c:15:
drivers/i2c/busses/i2c-emev2.c: In function 'em_i2c_irq_handler':
>> arch/x86/include/asm/io.h:53:3: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized]
{ asm volatile("mov" size " %0,%1": :reg (val), \
^
drivers/i2c/busses/i2c-emev2.c:232:13: note: 'value' was declared here
u8 status, value;
^
vim +/value +53 arch/x86/include/asm/io.h
b310f381d include/asm-x86/io.h venkatesh.pallipadi@intel.com 2008-03-18 37 #define ARCH_HAS_IOREMAP_WC
d838270e2 arch/x86/include/asm/io.h Toshi Kani 2015-06-04 38 #define ARCH_HAS_IOREMAP_WT
b310f381d include/asm-x86/io.h venkatesh.pallipadi@intel.com 2008-03-18 39
1c5b9069e arch/x86/include/asm/io.h Brian Gerst 2010-02-05 40 #include <linux/string.h>
c1f64a580 include/asm-x86/io.h Linus Torvalds 2008-05-27 41 #include <linux/compiler.h>
976e8f677 arch/x86/include/asm/io.h Jeremy Fitzhardinge 2009-02-06 42 #include <asm/page.h>
5b7c73e00 arch/x86/include/asm/io.h Mark Salter 2014-04-07 43 #include <asm/early_ioremap.h>
d6472302f arch/x86/include/asm/io.h Stephen Rothwell 2015-06-02 44 #include <asm/pgtable_types.h>
c1f64a580 include/asm-x86/io.h Linus Torvalds 2008-05-27 45
c1f64a580 include/asm-x86/io.h Linus Torvalds 2008-05-27 46 #define build_mmio_read(name, size, type, reg, barrier) \
c1f64a580 include/asm-x86/io.h Linus Torvalds 2008-05-27 47 static inline type name(const volatile void __iomem *addr) \
1c5b0eb66 include/asm-x86/io.h Mikael Pettersson 2008-08-13 48 { type ret; asm volatile("mov" size " %1,%0":reg (ret) \
c1f64a580 include/asm-x86/io.h Linus Torvalds 2008-05-27 49 :"m" (*(volatile type __force *)addr) barrier); return ret; }
c1f64a580 include/asm-x86/io.h Linus Torvalds 2008-05-27 50
c1f64a580 include/asm-x86/io.h Linus Torvalds 2008-05-27 51 #define build_mmio_write(name, size, type, reg, barrier) \
c1f64a580 include/asm-x86/io.h Linus Torvalds 2008-05-27 52 static inline void name(type val, volatile void __iomem *addr) \
c1f64a580 include/asm-x86/io.h Linus Torvalds 2008-05-27 @53 { asm volatile("mov" size " %0,%1": :reg (val), \
c1f64a580 include/asm-x86/io.h Linus Torvalds 2008-05-27 54 "m" (*(volatile type __force *)addr) barrier); }
c1f64a580 include/asm-x86/io.h Linus Torvalds 2008-05-27 55
1c5b0eb66 include/asm-x86/io.h Mikael Pettersson 2008-08-13 56 build_mmio_read(readb, "b", unsigned char, "=q", :"memory")
1c5b0eb66 include/asm-x86/io.h Mikael Pettersson 2008-08-13 57 build_mmio_read(readw, "w", unsigned short, "=r", :"memory")
1c5b0eb66 include/asm-x86/io.h Mikael Pettersson 2008-08-13 58 build_mmio_read(readl, "l", unsigned int, "=r", :"memory")
c1f64a580 include/asm-x86/io.h Linus Torvalds 2008-05-27 59
1c5b0eb66 include/asm-x86/io.h Mikael Pettersson 2008-08-13 60 build_mmio_read(__readb, "b", unsigned char, "=q", )
1c5b0eb66 include/asm-x86/io.h Mikael Pettersson 2008-08-13 61 build_mmio_read(__readw, "w", unsigned short, "=r", )
:::::: The code at line 53 was first introduced by commit
:::::: c1f64a58003fd2efaa725a857e269a15f765791a x86: MMIO and gcc re-ordering issue
:::::: TO: Linus Torvalds <torvalds@linux-foundation.org>
:::::: CC: Ingo Molnar <mingo@elte.hu>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 22579 bytes --]
next prev parent reply other threads:[~2015-12-10 14:55 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-10 13:14 Arnd Bergmann
2015-12-10 13:34 ` Wolfram Sang
2015-12-10 13:51 ` Arnd Bergmann
2015-12-10 14:54 ` kbuild test robot [this message]
2015-12-10 15:06 ` Arnd Bergmann
2015-12-10 15:17 ` Wolfram Sang
2015-12-12 16:20 ` Wolfram Sang
2015-12-12 21:05 ` Arnd Bergmann
2015-12-13 9:09 ` Wolfram Sang
2015-12-14 12:02 ` Arnd Bergmann
2015-12-14 13:52 ` Wolfram Sang
2015-12-14 22:27 ` Arnd Bergmann
2015-12-17 12:01 ` Wolfram Sang
2015-12-17 14:48 ` Arnd Bergmann
2015-12-17 19:40 ` Wolfram Sang
2015-12-17 19:57 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201512102224.cVm7Hcp0%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=arnd@arndb.de \
--cc=kbuild-all@01.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sh@vger.kernel.org \
--cc=niklas.soderlund+renesas@ragnatech.se \
--cc=wsa@the-dreams.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®