* [android-common:android-4.4-p 8/8] /tmp/sas_event-781575.s:651: Warning: no instruction mnemonic suffix given and no register operands; using default for `btr'
@ 2020-11-03 3:58 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-11-03 3:58 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 15540 bytes --]
tree: https://android.googlesource.com/kernel/common android-4.4-p
head: 05de67ed2af314b5d1c5083b66c8b077628aaf52
commit: 05de67ed2af314b5d1c5083b66c8b077628aaf52 [8/8] BACKPORT: xfrm/compat: Translate 32-bit user_policy from sockptr
config: x86_64-randconfig-a002-20201102 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project cc91554ebb66e8c9a4b8c67ca2f1343eaac10cf6)
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 android-common https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android-4.4-p
git checkout 05de67ed2af314b5d1c5083b66c8b077628aaf52
# 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 >>):
In file included from drivers/scsi/libsas/sas_event.c:26:
In file included from include/scsi/scsi_host.h:10:
In file included from include/linux/blk-mq.h:4:
In file included from include/linux/blkdev.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:177:3: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare]
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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>:153: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/scsi/libsas/sas_event.c:26:
In file included from include/scsi/scsi_host.h:10:
In file included from include/linux/blk-mq.h:4:
In file included from include/linux/blkdev.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>:313: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/scsi/libsas/sas_event.c:26:
In file included from include/scsi/scsi_host.h:10:
In file included from include/linux/blk-mq.h:4:
In file included from include/linux/blkdev.h:14:
In file included from include/linux/pagemap.h:10:
In file included from include/linux/highmem.h:8:
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:181:40: note: expanded from macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from drivers/scsi/libsas/sas_event.c:26:
In file included from include/scsi/scsi_host.h:10:
In file included from include/linux/blk-mq.h:4:
In file included from include/linux/blkdev.h:14:
In file included from include/linux/pagemap.h:10:
In file included from include/linux/highmem.h:8:
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:181:40: note: expanded from macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from drivers/scsi/libsas/sas_event.c:26:
In file included from include/scsi/scsi_host.h:10:
In file included from include/linux/blk-mq.h:4:
In file included from include/linux/blkdev.h:18:
include/linux/bio.h:424:14: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
if (sectors >= bio_sectors(bio))
~~~~~~~ ^ ~~~~~~~~~~~~~~~~
In file included from drivers/scsi/libsas/sas_event.c:26:
In file included from include/scsi/scsi_host.h:10:
In file included from include/linux/blk-mq.h:4:
include/linux/blkdev.h:1714:16: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
for (i = 0; i < ARRAY_SIZE(latency_x_axis_us); i++)
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/scsi/libsas/sas_event.c:27:
In file included from drivers/scsi/libsas/sas_internal.h:32:
In file included from include/scsi/libsas.h:33:
include/linux/libata.h:113:23: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
if (dval < 0 || dval >= (sizeof(u32) * 8))
~~~~ ^ ~~~~~~~~~~~~~~~
7 warnings generated.
/tmp/sas_event-781575.s: Assembler messages:
>> /tmp/sas_event-781575.s:651: Warning: no instruction mnemonic suffix given and no register operands; using default for `btr'
>> /tmp/sas_event-781575.s:698: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
/tmp/sas_event-781575.s:1218: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'
--
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from kernel/trace/trace.c:14:
In file included from include/linux/ring_buffer.h:7:
In file included from include/linux/poll.h:11:
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:181:40: note: expanded from macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from kernel/trace/trace.c:17:
In file included from include/linux/writeback.h:7:
In file included from include/linux/sched.h:62:
In file included from include/linux/cgroup-defs.h:16:
include/linux/percpu-refcount.h:177:3: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare]
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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>:160: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 kernel/trace/trace.c:17:
In file included from include/linux/writeback.h:7:
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>:320: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 kernel/trace/trace.c:45:
kernel/trace/trace.h:521:33: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
if ((val & TRACE_CONTEXT_MASK) > max)
~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~
kernel/trace/trace.c:1015:10: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
if (cnt > len)
~~~ ^ ~~~
kernel/trace/trace.c:1882:24: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
if (trace.nr_entries > size)
~~~~~~~~~~~~~~~~ ^ ~~~~
kernel/trace/trace.c:2199:10: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
if (len > TRACE_BUF_SIZE/sizeof(int) || len < 0)
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
kernel/trace/trace.c:3496:10: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
if (len >= count) {
~~~ ^ ~~~~~
kernel/trace/trace.c:3937:12: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
if (*ptr == -1 || *ptr == NO_CMDLINE_MAP)
~~~~ ^ ~~
kernel/trace/trace.c:4272:24: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
if (pid == -1 || pid == NO_CMDLINE_MAP)
~~~ ^ ~~~~~~~~~~~~~~
kernel/trace/trace.c:4630:8: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
if (r > sizeof(buf))
~ ^ ~~~~~~~~~~~
kernel/trace/trace.c:4918:34: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
if (trace_seq_used(&iter->seq) >= cnt)
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~
kernel/trace/trace.c:5338:16: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
for (i = 0; i < ARRAY_SIZE(trace_clocks); i++)
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
kernel/trace/trace.c:5352:16: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
for (i = 0; i < ARRAY_SIZE(trace_clocks); i++) {
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~
kernel/trace/trace.c:5792:11: warning: comparison of integers of different signs: 'ssize_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
if (size > count)
~~~~ ^ ~~~~~
kernel/trace/trace.c:5926:16: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
for (i = 0; i < spd.nr_pages_max && len && entries; i++, len -= PAGE_SIZE) {
~ ^ ~~~~~~~~~~~~~~~~
17 warnings generated.
/tmp/trace-625645.s: Assembler messages:
>> /tmp/trace-625645.s:21238: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/tmp/trace-625645.s:21258: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/tmp/trace-625645.s:21300: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
/tmp/trace-625645.s:21321: Warning: no instruction mnemonic suffix given and no register operands; using default for `bt'
---
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: 28275 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-11-03 3:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-03 3:58 [android-common:android-4.4-p 8/8] /tmp/sas_event-781575.s:651: Warning: no instruction mnemonic suffix given and no register operands; using default for `btr' kernel test robot
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.