All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [chrome-os:chromeos-4.4 1/1] /tmp/i6300esb-633821.s:803: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
Date: Tue, 20 Oct 2020 18:43:51 +0800	[thread overview]
Message-ID: <202010201848.FN2eRVcl-lkp@intel.com> (raw)

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

tree:   https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-4.4
head:   ff2f124e9fc35cb17b382fa64807a9f3a8f532cf
commit: ff2f124e9fc35cb17b382fa64807a9f3a8f532cf [1/1] BACKPORT: FROMLIST: xhci: Tune interrupt blocking for isochronous transfers
config: x86_64-randconfig-a012-20201019 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 094e9f4779eb9b5c6a49014f2f80b8cbb833572f)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
        git fetch --no-tags chrome-os chromeos-4.4
        git checkout ff2f124e9fc35cb17b382fa64807a9f3a8f532cf
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   <scratch space>:86:1: note: expanded from here
   this_cpu_add_8
   ^
   arch/x86/include/asm/percpu.h:478:35: note: expanded from macro 'this_cpu_add_8'
   #define this_cpu_add_8(pcp, val)                percpu_add_op((pcp), val)
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~
   arch/x86/include/asm/percpu.h:130:31: note: expanded from macro 'percpu_add_op'
                                 ((val) == 1 || (val) == -1)) ?            \
                                                 ~~~  ^  ~~
   In file included from drivers/watchdog/i6300esb.c:39:
   In file included from include/linux/pci.h:32:
   In file included from include/linux/resource_ext.h:19:
   In file included from include/linux/slab.h:113:
   In file included from include/linux/kasan.h:4:
   In file included from include/linux/sched.h:62:
   In file included from include/linux/cgroup-defs.h:16:
   include/linux/percpu-refcount.h:276:3: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare]
                   this_cpu_sub(*percpu_count, nr);
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/percpu-defs.h:536:33: note: expanded from macro 'this_cpu_sub'
   #define this_cpu_sub(pcp, val)          this_cpu_add(pcp, -(typeof(pcp))(val))
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/percpu-defs.h:526:33: note: expanded from macro 'this_cpu_add'
   #define this_cpu_add(pcp, val)          __pcpu_size_call(this_cpu_add_, pcp, val)
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/percpu-defs.h:397:11: note: expanded from macro '__pcpu_size_call'
                   case 8: stem##8(variable, __VA_ARGS__);break;           \
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   <scratch space>:246:1: note: expanded from here
   this_cpu_add_8
   ^
   arch/x86/include/asm/percpu.h:478:35: note: expanded from macro 'this_cpu_add_8'
   #define this_cpu_add_8(pcp, val)                percpu_add_op((pcp), val)
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~
   arch/x86/include/asm/percpu.h:130:31: note: expanded from macro 'percpu_add_op'
                                 ((val) == 1 || (val) == -1)) ?            \
                                                 ~~~  ^  ~~
   In file included from drivers/watchdog/i6300esb.c:41:
   In file included from include/linux/uaccess.h:8:
   arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
           if (likely(sz < 0 || sz >= n)) {
                                ~~ ^  ~
   include/linux/compiler.h:150:73: note: expanded from macro 'likely'
   #  define likely(x)     (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 1))
                                                                               ^
   include/linux/compiler.h:139:29: note: expanded from macro '__branch_check__'
                           ______r = likely_notrace(x);                    \
                                                    ^
   include/linux/compiler.h:126:47: note: expanded from macro 'likely_notrace'
   #define likely_notrace(x)       __builtin_expect(!!(x), 1)
                                                       ^
   In file included from drivers/watchdog/i6300esb.c:41:
   In file included from include/linux/uaccess.h:8:
   arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
           if (likely(sz < 0 || sz >= n)) {
                                ~~ ^  ~
   include/linux/compiler.h:150:43: note: expanded from macro 'likely'
   #  define likely(x)     (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 1))
                                                 ^
   In file included from drivers/watchdog/i6300esb.c:41:
   In file included from include/linux/uaccess.h:8:
   arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
           if (likely(sz < 0 || sz >= n)) {
                                ~~ ^  ~
   include/linux/compiler.h:150:51: note: expanded from macro 'likely'
   #  define likely(x)     (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 1))
                                                         ^
   In file included from drivers/watchdog/i6300esb.c:41:
   In file included from include/linux/uaccess.h:8:
   arch/x86/include/asm/uaccess.h:773:26: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
           if (likely(sz < 0 || sz >= n)) {
                                ~~ ^  ~
   include/linux/compiler.h:150:73: note: expanded from macro 'likely'
   #  define likely(x)     (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 1))
                                                                               ^
   include/linux/compiler.h:139:29: note: expanded from macro '__branch_check__'
                           ______r = likely_notrace(x);                    \
                                                    ^
   include/linux/compiler.h:126:47: note: expanded from macro 'likely_notrace'
   #define likely_notrace(x)       __builtin_expect(!!(x), 1)
                                                       ^
   In file included from drivers/watchdog/i6300esb.c:41:
   In file included from include/linux/uaccess.h:8:
   arch/x86/include/asm/uaccess.h:773:26: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
           if (likely(sz < 0 || sz >= n)) {
                                ~~ ^  ~
   include/linux/compiler.h:150:43: note: expanded from macro 'likely'
   #  define likely(x)     (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 1))
                                                 ^
   In file included from drivers/watchdog/i6300esb.c:41:
   In file included from include/linux/uaccess.h:8:
   arch/x86/include/asm/uaccess.h:773:26: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
           if (likely(sz < 0 || sz >= n)) {
                                ~~ ^  ~
   include/linux/compiler.h:150:51: note: expanded from macro 'likely'
   #  define likely(x)     (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 1))
                                                         ^
   8 warnings generated.
   /tmp/i6300esb-633821.s: Assembler messages:
>> /tmp/i6300esb-633821.s:803: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
--
                          off == frag->page_offset + skb_frag_size(frag);
                          ~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/skbuff.h:2933:51: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
           return copy_from_iter(data, len, &msg->msg_iter) == len ? 0 : -EFAULT;
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~
   include/linux/skbuff.h:2938:49: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
           return copy_to_iter(data, len, &msg->msg_iter) == len ? 0 : -EFAULT;
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~
   In file included from drivers/net/ethernet/nvidia/forcedeth.c:51:
   In file included from include/linux/netdevice.h:43:
   In file included from include/net/net_namespace.h:17:
   In file included from include/net/netns/ipv4.h:9:
   In file included from include/net/inet_frag.h:4:
   include/linux/rhashtable.h:264:34: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
           return atomic_read(&ht->nelems) > (tbl->size / 4 * 3) &&
                  ~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~
   include/linux/rhashtable.h:277:34: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
           return atomic_read(&ht->nelems) < (tbl->size * 3 / 10) &&
                  ~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~
   include/linux/rhashtable.h:289:34: warning: comparison of integers of different signs: 'int' and 'const unsigned int' [-Wsign-compare]
           return atomic_read(&ht->nelems) > tbl->size &&
                  ~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~
   include/linux/rhashtable.h:302:34: warning: comparison of integers of different signs: 'int' and 'const unsigned int' [-Wsign-compare]
                  atomic_read(&ht->nelems) >= ht->p.insecure_max_entries;
                  ~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/net/ethernet/nvidia/forcedeth.c:51:
   include/linux/netdevice.h:2413:34: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
                   skb_checksum_start_offset(skb) <
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
   include/linux/netdevice.h:3051:15: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
           BUG_ON(index >= dev->num_rx_queues);
                  ~~~~~ ^  ~~~~~~~~~~~~~~~~~~
   include/asm-generic/bug.h:58:45: note: expanded from macro 'BUG_ON'
   #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
                                               ^~~~~~~~~
   include/linux/compiler.h:153:75: note: expanded from macro 'unlikely'
   #  define unlikely(x)   (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 0))
                                                                               ^
   include/linux/compiler.h:139:29: note: expanded from macro '__branch_check__'
                           ______r = likely_notrace(x);                    \
                                                    ^
   include/linux/compiler.h:126:47: note: expanded from macro 'likely_notrace'
   #define likely_notrace(x)       __builtin_expect(!!(x), 1)
                                                       ^
   In file included from drivers/net/ethernet/nvidia/forcedeth.c:51:
   include/linux/netdevice.h:3051:15: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
           BUG_ON(index >= dev->num_rx_queues);
                  ~~~~~ ^  ~~~~~~~~~~~~~~~~~~
   include/asm-generic/bug.h:58:45: note: expanded from macro 'BUG_ON'
   #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
                                               ^~~~~~~~~
   include/linux/compiler.h:153:45: note: expanded from macro 'unlikely'
   #  define unlikely(x)   (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 0))
                                                 ^
   In file included from drivers/net/ethernet/nvidia/forcedeth.c:51:
   include/linux/netdevice.h:3051:15: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
           BUG_ON(index >= dev->num_rx_queues);
                  ~~~~~ ^  ~~~~~~~~~~~~~~~~~~
   include/asm-generic/bug.h:58:45: note: expanded from macro 'BUG_ON'
   #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
                                               ^~~~~~~~~
   include/linux/compiler.h:153:53: note: expanded from macro 'unlikely'
   #  define unlikely(x)   (__builtin_constant_p(x) ? !!(x) : __branch_check__(x, 0))
                                                         ^
   In file included from drivers/net/ethernet/nvidia/forcedeth.c:51:
   include/linux/netdevice.h:3325:37: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
           if (debug_value < 0 || debug_value >= (sizeof(u32) * 8))
                                  ~~~~~~~~~~~ ^   ~~~~~~~~~~~~~~~
   drivers/net/ethernet/nvidia/forcedeth.c:1216:16: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
           for (i = 0; i < ARRAY_SIZE(ri); i++) {
                       ~ ^ ~~~~~~~~~~~~~~
   drivers/net/ethernet/nvidia/forcedeth.c:2009:16: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
           for (i = 0; i < np->tx_ring_size; i++) {
                       ~ ^ ~~~~~~~~~~~~~~~~
   drivers/net/ethernet/nvidia/forcedeth.c:2673:17: warning: comparison of integers of different signs: 'int' and 'u32' (aka 'unsigned int') [-Wsign-compare]
                   for (i = 0; i <= np->register_size; i += 32) {
                               ~ ^  ~~~~~~~~~~~~~~~~~
   drivers/net/ethernet/nvidia/forcedeth.c:3011:30: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
           if (new_mtu < 64 || new_mtu > np->pkt_limit)
                               ~~~~~~~ ^ ~~~~~~~~~~~~~
   drivers/net/ethernet/nvidia/forcedeth.c:3401:44: warning: comparison of integers of different signs: 'u32' (aka 'unsigned int') and 'int' [-Wsign-compare]
           if (np->duplex == newdup && np->linkspeed == newls)
                                       ~~~~~~~~~~~~~ ^  ~~~~~
   drivers/net/ethernet/nvidia/forcedeth.c:3947:17: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
                   for (i = 0; i < (np->msi_flags & NV_MSI_X_VECTORS_MASK); i++)
                               ~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/net/ethernet/nvidia/forcedeth.c:4060:17: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
                   for (i = 0; i < (np->msi_flags & NV_MSI_X_VECTORS_MASK); i++)
                               ~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/net/ethernet/nvidia/forcedeth.c:4511:16: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
           for (i = 0; i < np->register_size/sizeof(u32); i++)
                       ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/net/ethernet/nvidia/forcedeth.c:6116:16: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
           for (i = 0; i <= np->register_size/sizeof(u32); i++)
                       ~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/net/ethernet/nvidia/forcedeth.c:6131:16: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
           for (i = 0; i <= np->register_size/sizeof(u32); i++)
                       ~ ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 warnings generated.
   /tmp/forcedeth-102397.s: Assembler messages:
>> /tmp/forcedeth-102397.s:2441: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
   /tmp/forcedeth-102397.s:3088: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
   /tmp/forcedeth-102397.s:3119: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
   /tmp/forcedeth-102397.s:9212: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
   /tmp/forcedeth-102397.s:9309: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
>> /tmp/forcedeth-102397.s:11282: Warning: no instruction mnemonic suffix given and no register operands; using default for `btr'
   /tmp/forcedeth-102397.s:18260: Warning: no instruction mnemonic suffix given and no register operands; using default for `btr'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 23650 bytes --]

                 reply	other threads:[~2020-10-20 10:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202010201848.FN2eRVcl-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.