mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: kbuild-all@01.org, akpm@linux-foundation.org,
	krinkin.m.u@gmail.com, ying.huang@linux.intel.com,
	davej@codemonkey.org.uk, x86@kernel.org,
	linux-kernel@vger.kernel.org,
	Andrey Ryabinin <aryabinin@virtuozzo.com>
Subject: Re: [PATCH -mm] ubsan, x86: disable alignemnt checks for arch/x86/*
Date: Tue, 2 Feb 2016 04:16:01 +0800	[thread overview]
Message-ID: <201602020452.xgr2d6uv%fengguang.wu@intel.com> (raw)
In-Reply-To: <1454346499-31868-1-git-send-email-aryabinin@virtuozzo.com>

[-- Attachment #1: Type: text/plain, Size: 14717 bytes --]

Hi Andrey,

[auto build test WARNING on next-20160201]
[cannot apply to kbuild/for-next kbuild/rc-fixes v4.5-rc2 v4.5-rc1 v4.4-rc8 v4.5-rc2]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Andrey-Ryabinin/ubsan-x86-disable-alignemnt-checks-for-arch-x86/20160202-010948
config: m68k-allyesconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=m68k 

All warnings (new ones prefixed by >>):

>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'alignment'
   cc1: warning: unrecognized argument to -fsanitize= option: 'bounds'
   cc1: warning: unrecognized argument to -fsanitize= option: 'object-size'
   cc1: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
   cc1: warning: unrecognized argument to -fsanitize= option: 'alignment'
--
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'alignment'
   cc1: warning: unrecognized argument to -fsanitize= option: 'bounds'
   cc1: warning: unrecognized argument to -fsanitize= option: 'object-size'
   cc1: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
   cc1: warning: unrecognized argument to -fsanitize= option: 'alignment'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'alignment'
   cc1: warning: unrecognized argument to -fsanitize= option: 'bounds'
   cc1: warning: unrecognized argument to -fsanitize= option: 'object-size'
   cc1: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
   cc1: warning: unrecognized argument to -fsanitize= option: 'alignment'
--
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'alignment'
   cc1: warning: unrecognized argument to -fsanitize= option: 'bounds'
   cc1: warning: unrecognized argument to -fsanitize= option: 'object-size'
   cc1: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
   cc1: warning: unrecognized argument to -fsanitize= option: 'alignment'
   drivers/tty/serial/ifx6x60.c: In function 'ifx_spi_complete':
   drivers/tty/serial/ifx6x60.c:715:8: warning: 'more' may be used uninitialized in this function [-Wmaybe-uninitialized]
        if (more)
           ^
--
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'alignment'
   cc1: warning: unrecognized argument to -fsanitize= option: 'bounds'
   cc1: warning: unrecognized argument to -fsanitize= option: 'object-size'
   cc1: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
   cc1: warning: unrecognized argument to -fsanitize= option: 'alignment'
   drivers/media/dvb-frontends/drx39xyj/drxj.c: In function 'drx39xxj_read_status':
   drivers/media/dvb-frontends/drx39xyj/drxj.c:10737:33: warning: 'mer' may be used uninitialized in this function [-Wmaybe-uninitialized]
        p->cnr.stat[0].svalue = mer * 100;
                                    ^
   drivers/media/dvb-frontends/drx39xyj/drxj.c:10670:6: note: 'mer' was declared here
     u16 mer, strength = 0;
         ^
   drivers/media/dvb-frontends/drx39xyj/drxj.c:10728:38: warning: 'ber' may be used uninitialized in this function [-Wmaybe-uninitialized]
        p->post_bit_error.stat[0].uvalue += ber;
                                         ^
   drivers/media/dvb-frontends/drx39xyj/drxj.c:10669:6: note: 'ber' was declared here
     u32 ber, cnt, err, pkt;
         ^
   drivers/media/dvb-frontends/drx39xyj/drxj.c:10705:35: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized]
        p->block_error.stat[0].uvalue += err;
                                      ^
   drivers/media/dvb-frontends/drx39xyj/drxj.c:10669:16: note: 'err' was declared here
     u32 ber, cnt, err, pkt;
                   ^
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'alignment'
   cc1: warning: unrecognized argument to -fsanitize= option: 'bounds'
   cc1: warning: unrecognized argument to -fsanitize= option: 'object-size'
   cc1: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
   cc1: warning: unrecognized argument to -fsanitize= option: 'alignment'
--
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'alignment'
   cc1: warning: unrecognized argument to -fsanitize= option: 'bounds'
   cc1: warning: unrecognized argument to -fsanitize= option: 'object-size'
   cc1: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
   cc1: warning: unrecognized argument to -fsanitize= option: 'alignment'
   drivers/video/backlight/adp8860_bl.c: In function 'adp8860_bl_ambient_light_level_show':
   drivers/video/backlight/adp8860_bl.c:579:10: warning: 'ret_val' may be used uninitialized in this function [-Wmaybe-uninitialized]
     ret_val += (reg_val & 0x1F) << 8;
             ^
--
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'alignment'
   cc1: warning: unrecognized argument to -fsanitize= option: 'bounds'
   cc1: warning: unrecognized argument to -fsanitize= option: 'object-size'
   cc1: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
   cc1: warning: unrecognized argument to -fsanitize= option: 'alignment'
   drivers/w1/slaves/w1_therm.c: In function 'w1_slave_show':
   drivers/w1/slaves/w1_therm.c:313:7: warning: 'crc' may be used uninitialized in this function [-Wmaybe-uninitialized]
     c -= snprintf(buf + PAGE_SIZE - c, c, ": crc=%02x %s\n",
          ^
--
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'alignment'
   cc1: warning: unrecognized argument to -fsanitize= option: 'bounds'
   cc1: warning: unrecognized argument to -fsanitize= option: 'object-size'
   cc1: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
   cc1: warning: unrecognized argument to -fsanitize= option: 'alignment'
   In file included from include/linux/printk.h:287:0,
                    from include/linux/kernel.h:13,
                    from include/linux/list.h:8,
                    from include/linux/module.h:9,
                    from drivers/net/ethernet/amd/xgbe/xgbe-mdio.c:117:
   drivers/net/ethernet/amd/xgbe/xgbe-mdio.c: In function 'xgbe_serdes_complete_ratechange':
   include/linux/dynamic_debug.h:94:3: warning: 'status' may be used uninitialized in this function [-Wmaybe-uninitialized]
      __dynamic_netdev_dbg(&descriptor, dev, fmt, \
      ^
   drivers/net/ethernet/amd/xgbe/xgbe-mdio.c:172:6: note: 'status' was declared here
     u16 status;
         ^
--
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'alignment'
   cc1: warning: unrecognized argument to -fsanitize= option: 'bounds'
   cc1: warning: unrecognized argument to -fsanitize= option: 'object-size'
   cc1: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
   cc1: warning: unrecognized argument to -fsanitize= option: 'alignment'
   drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c: In function 'xgene_sgmac_init':
   drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c:256:34: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized]
     if (!(data & AUTO_NEG_COMPLETE) || !(data & LINK_STATUS))
                                     ^
--
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'alignment'
   cc1: warning: unrecognized argument to -fsanitize= option: 'bounds'
   cc1: warning: unrecognized argument to -fsanitize= option: 'object-size'
   cc1: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
   cc1: warning: unrecognized argument to -fsanitize= option: 'alignment'
   drivers/net/wireless/ath/ath6kl/init.c: In function '__ath6kl_init_hw_start':
   drivers/net/wireless/ath/ath6kl/init.c:1249:3: warning: 'board_ext_address' may be used uninitialized in this function [-Wmaybe-uninitialized]
      ath6kl_dbg(ATH6KL_DBG_BOOT,
      ^
   drivers/net/wireless/ath/ath6kl/init.c:1193:21: note: 'board_ext_address' was declared here
     u32 board_address, board_ext_address, param;
                        ^
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'alignment'
   cc1: warning: unrecognized argument to -fsanitize= option: 'bounds'
   cc1: warning: unrecognized argument to -fsanitize= option: 'object-size'
   cc1: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
   cc1: warning: unrecognized argument to -fsanitize= option: 'alignment'
--
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'alignment'
   cc1: warning: unrecognized argument to -fsanitize= option: 'bounds'
   cc1: warning: unrecognized argument to -fsanitize= option: 'object-size'
   cc1: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
   cc1: warning: unrecognized argument to -fsanitize= option: 'alignment'
   drivers/net/ethernet/hisilicon/hns/hns_enet.c: In function 'hns_nic_rx_poll_one':
   drivers/net/ethernet/hisilicon/hns/hns_enet.c:756:12: warning: 'bnum' may be used uninitialized in this function [-Wmaybe-uninitialized]
      recv_bds += bnum;
               ^
--
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'alignment'
   cc1: warning: unrecognized argument to -fsanitize= option: 'bounds'
   cc1: warning: unrecognized argument to -fsanitize= option: 'object-size'
   cc1: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
   cc1: warning: unrecognized argument to -fsanitize= option: 'alignment'
   net/core/dev.c: In function 'validate_xmit_skb_list':
   net/core/dev.c:2984:15: warning: 'tail' may be used uninitialized in this function [-Wmaybe-uninitialized]
       tail->next = skb;
                  ^
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'bounds'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'object-size'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
>> m68k-linux-gcc: warning: unrecognized argument to -fsanitize= option: 'alignment'
   cc1: warning: unrecognized argument to -fsanitize= option: 'bounds'
   cc1: warning: unrecognized argument to -fsanitize= option: 'object-size'
   cc1: warning: unrecognized argument to -fsanitize= option: 'returns-nonnull-attribute'
   cc1: warning: unrecognized argument to -fsanitize= option: 'alignment'
..

---
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: 35769 bytes --]

  parent reply	other threads:[~2016-02-01 20:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-01 17:08 Andrey Ryabinin
2016-02-01 18:24 ` kbuild test robot
2016-02-01 19:09 ` kbuild test robot
2016-02-01 20:16 ` kbuild test robot [this message]
2016-02-01 21:09 ` Mike Krinkin

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=201602020452.xgr2d6uv%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=aryabinin@virtuozzo.com \
    --cc=davej@codemonkey.org.uk \
    --cc=kbuild-all@01.org \
    --cc=krinkin.m.u@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=x86@kernel.org \
    --cc=ying.huang@linux.intel.com \
    /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®