[linux-stable-rc:linux-4.4.y 8047/9999] arch/powerpc/mm/ppc_mmu_32.c:55:16: error: comparison between signed and unsigned integer expressions
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.4.y
head: 95a3867e897abd7811196123f81a119a75aba863
commit: 23f53171bec2190d3bda773b93281531235e83a6 [8047/9999] powerpc/book3s/32: fix number of bats in p/v_block_mapped()
config: powerpc-mpc834x_mds_defconfig (attached as .config)
compiler: powerpc-linux-gcc (GCC) 7.5.0
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
# https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gi...
git remote add linux-stable-rc https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git fetch --no-tags linux-stable-rc linux-4.4.y
git checkout 23f53171bec2190d3bda773b93281531235e83a6
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-7.5.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from arch/powerpc/mm/ppc_mmu_32.c:26:0:
include/linux/mm.h: In function 'is_vmalloc_addr':
include/linux/mm.h:386:14: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
return addr >= VMALLOC_START && addr < VMALLOC_END;
^~
arch/powerpc/mm/ppc_mmu_32.c: At top level:
arch/powerpc/mm/ppc_mmu_32.c:52:13: error: no previous prototype for 'v_mapped_by_bats' [-Werror=missing-prototypes]
phys_addr_t v_mapped_by_bats(unsigned long va)
^~~~~~~~~~~~~~~~
arch/powerpc/mm/ppc_mmu_32.c: In function 'v_mapped_by_bats':
>> arch/powerpc/mm/ppc_mmu_32.c:55:16: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (b = 0; b < ARRAY_SIZE(bat_addrs); ++b)
^
arch/powerpc/mm/ppc_mmu_32.c: At top level:
arch/powerpc/mm/ppc_mmu_32.c:64:15: error: no previous prototype for 'p_mapped_by_bats' [-Werror=missing-prototypes]
unsigned long p_mapped_by_bats(phys_addr_t pa)
^~~~~~~~~~~~~~~~
arch/powerpc/mm/ppc_mmu_32.c: In function 'p_mapped_by_bats':
arch/powerpc/mm/ppc_mmu_32.c:67:16: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for (b = 0; b < ARRAY_SIZE(bat_addrs); ++b)
^
cc1: all warnings being treated as errors
vim +55 arch/powerpc/mm/ppc_mmu_32.c
48
49 /*
50 * Return PA for this VA if it is mapped by a BAT, or 0
51 */
52 phys_addr_t v_mapped_by_bats(unsigned long va)
53 {
54 int b;
> 55 for (b = 0; b < ARRAY_SIZE(bat_addrs); ++b)
56 if (va >= bat_addrs[b].start && va < bat_addrs[b].limit)
57 return bat_addrs[b].phys + (va - bat_addrs[b].start);
58 return 0;
59 }
60
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
Re: [PATCH v3] printk: Userspace format enumeration support
by kernel test robot
Hi Chris,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on jeyu/modules-next]
[also build test ERROR on linux/master soc/for-next openrisc/for-next powerpc/next uml/linux-next asm-generic/master linus/master v5.11-rc7 next-20210211]
[cannot apply to tip/x86/core pmladek/for-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Chris-Down/printk-Userspace-form...
base: https://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux.git modules-next
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.3.0
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
# https://github.com/0day-ci/linux/commit/e90a39fb011f4c6124b244b00025332cd...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Chris-Down/printk-Userspace-format-enumeration-support/20210209-223044
git checkout e90a39fb011f4c6124b244b00025332cd5d78bec
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/kernel.h:16,
from include/linux/list.h:9,
from include/linux/rculist.h:10,
from include/linux/sched/signal.h:5,
from arch/ia64/kernel/asm-offsets.c:10:
arch/ia64/include/asm/atomic.h: In function 'ia64_atomic_add':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
311 | ({ \
| ^
include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
142 | extern int printk(const char *fmt, ...); \
| ^~~~~~
arch/ia64/include/asm/atomic.h:38:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
38 | CMPXCHG_BUGCHECK(v); \
| ^~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:61:2: note: in expansion of macro 'ATOMIC_OP'
61 | ATOMIC_OP(op, c_op) \
| ^~~~~~~~~
arch/ia64/include/asm/atomic.h:64:1: note: in expansion of macro 'ATOMIC_OPS'
64 | ATOMIC_OPS(add, +)
| ^~~~~~~~~~
arch/ia64/include/asm/atomic.h: In function 'ia64_atomic_fetch_add':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
311 | ({ \
| ^
include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
142 | extern int printk(const char *fmt, ...); \
| ^~~~~~
arch/ia64/include/asm/atomic.h:53:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
53 | CMPXCHG_BUGCHECK(v); \
| ^~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:62:2: note: in expansion of macro 'ATOMIC_FETCH_OP'
62 | ATOMIC_FETCH_OP(op, c_op)
| ^~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:64:1: note: in expansion of macro 'ATOMIC_OPS'
64 | ATOMIC_OPS(add, +)
| ^~~~~~~~~~
arch/ia64/include/asm/atomic.h: In function 'ia64_atomic_sub':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
311 | ({ \
| ^
include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
142 | extern int printk(const char *fmt, ...); \
| ^~~~~~
arch/ia64/include/asm/atomic.h:38:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
38 | CMPXCHG_BUGCHECK(v); \
| ^~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:61:2: note: in expansion of macro 'ATOMIC_OP'
61 | ATOMIC_OP(op, c_op) \
| ^~~~~~~~~
arch/ia64/include/asm/atomic.h:65:1: note: in expansion of macro 'ATOMIC_OPS'
65 | ATOMIC_OPS(sub, -)
| ^~~~~~~~~~
arch/ia64/include/asm/atomic.h: In function 'ia64_atomic_fetch_sub':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
311 | ({ \
| ^
include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
142 | extern int printk(const char *fmt, ...); \
| ^~~~~~
arch/ia64/include/asm/atomic.h:53:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
53 | CMPXCHG_BUGCHECK(v); \
| ^~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:62:2: note: in expansion of macro 'ATOMIC_FETCH_OP'
62 | ATOMIC_FETCH_OP(op, c_op)
| ^~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:65:1: note: in expansion of macro 'ATOMIC_OPS'
65 | ATOMIC_OPS(sub, -)
| ^~~~~~~~~~
arch/ia64/include/asm/atomic.h: In function 'ia64_atomic_fetch_and':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
311 | ({ \
| ^
include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
142 | extern int printk(const char *fmt, ...); \
| ^~~~~~
arch/ia64/include/asm/atomic.h:53:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
53 | CMPXCHG_BUGCHECK(v); \
| ^~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:109:1: note: in expansion of macro 'ATOMIC_FETCH_OP'
109 | ATOMIC_FETCH_OP(and, &)
| ^~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h: In function 'ia64_atomic_fetch_or':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
311 | ({ \
| ^
include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
142 | extern int printk(const char *fmt, ...); \
| ^~~~~~
arch/ia64/include/asm/atomic.h:53:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
53 | CMPXCHG_BUGCHECK(v); \
| ^~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:110:1: note: in expansion of macro 'ATOMIC_FETCH_OP'
110 | ATOMIC_FETCH_OP(or, |)
| ^~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h: In function 'ia64_atomic_fetch_xor':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
311 | ({ \
| ^
include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
142 | extern int printk(const char *fmt, ...); \
| ^~~~~~
arch/ia64/include/asm/atomic.h:53:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
53 | CMPXCHG_BUGCHECK(v); \
| ^~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:111:1: note: in expansion of macro 'ATOMIC_FETCH_OP'
111 | ATOMIC_FETCH_OP(xor, ^)
| ^~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h: In function 'ia64_atomic64_add':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
311 | ({ \
| ^
include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
142 | extern int printk(const char *fmt, ...); \
| ^~~~~~
arch/ia64/include/asm/atomic.h:133:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
133 | CMPXCHG_BUGCHECK(v); \
| ^~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:156:2: note: in expansion of macro 'ATOMIC64_OP'
156 | ATOMIC64_OP(op, c_op) \
| ^~~~~~~~~~~
arch/ia64/include/asm/atomic.h:159:1: note: in expansion of macro 'ATOMIC64_OPS'
159 | ATOMIC64_OPS(add, +)
| ^~~~~~~~~~~~
arch/ia64/include/asm/atomic.h: In function 'ia64_atomic64_fetch_add':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
311 | ({ \
| ^
include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
142 | extern int printk(const char *fmt, ...); \
| ^~~~~~
arch/ia64/include/asm/atomic.h:148:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
148 | CMPXCHG_BUGCHECK(v); \
| ^~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:157:2: note: in expansion of macro 'ATOMIC64_FETCH_OP'
157 | ATOMIC64_FETCH_OP(op, c_op)
| ^~~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:159:1: note: in expansion of macro 'ATOMIC64_OPS'
159 | ATOMIC64_OPS(add, +)
| ^~~~~~~~~~~~
arch/ia64/include/asm/atomic.h: In function 'ia64_atomic64_sub':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
311 | ({ \
| ^
include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
142 | extern int printk(const char *fmt, ...); \
| ^~~~~~
arch/ia64/include/asm/atomic.h:133:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
133 | CMPXCHG_BUGCHECK(v); \
| ^~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:156:2: note: in expansion of macro 'ATOMIC64_OP'
156 | ATOMIC64_OP(op, c_op) \
| ^~~~~~~~~~~
arch/ia64/include/asm/atomic.h:160:1: note: in expansion of macro 'ATOMIC64_OPS'
160 | ATOMIC64_OPS(sub, -)
| ^~~~~~~~~~~~
arch/ia64/include/asm/atomic.h: In function 'ia64_atomic64_fetch_sub':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
311 | ({ \
| ^
include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
142 | extern int printk(const char *fmt, ...); \
| ^~~~~~
arch/ia64/include/asm/atomic.h:148:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
148 | CMPXCHG_BUGCHECK(v); \
| ^~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:157:2: note: in expansion of macro 'ATOMIC64_FETCH_OP'
157 | ATOMIC64_FETCH_OP(op, c_op)
| ^~~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:160:1: note: in expansion of macro 'ATOMIC64_OPS'
160 | ATOMIC64_OPS(sub, -)
| ^~~~~~~~~~~~
arch/ia64/include/asm/atomic.h: In function 'ia64_atomic64_fetch_and':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
311 | ({ \
| ^
include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
142 | extern int printk(const char *fmt, ...); \
| ^~~~~~
arch/ia64/include/asm/atomic.h:148:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
148 | CMPXCHG_BUGCHECK(v); \
| ^~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:194:1: note: in expansion of macro 'ATOMIC64_FETCH_OP'
194 | ATOMIC64_FETCH_OP(and, &)
| ^~~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h: In function 'ia64_atomic64_fetch_or':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
311 | ({ \
| ^
include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
142 | extern int printk(const char *fmt, ...); \
| ^~~~~~
arch/ia64/include/asm/atomic.h:148:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
148 | CMPXCHG_BUGCHECK(v); \
| ^~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:195:1: note: in expansion of macro 'ATOMIC64_FETCH_OP'
195 | ATOMIC64_FETCH_OP(or, |)
| ^~~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h: In function 'ia64_atomic64_fetch_xor':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
311 | ({ \
| ^
include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
142 | extern int printk(const char *fmt, ...); \
| ^~~~~~
arch/ia64/include/asm/atomic.h:148:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
148 | CMPXCHG_BUGCHECK(v); \
| ^~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:196:1: note: in expansion of macro 'ATOMIC64_FETCH_OP'
196 | ATOMIC64_FETCH_OP(xor, ^)
| ^~~~~~~~~~~~~~~~~
arch/ia64/kernel/asm-offsets.c: At top level:
arch/ia64/kernel/asm-offsets.c:23:6: warning: no previous prototype for 'foo' [-Wmissing-prototypes]
23 | void foo(void)
| ^~~
--
scripts/Makefile.build:68: 'arch/ia64/kernel/palinfo.ko' 'arch/ia64/kernel/mca_recovery.ko' 'arch/ia64/kernel/err_inject.ko' will not be built even though obj-m is specified.
scripts/Makefile.build:69: You cannot use subdir-y/m to visit a module Makefile. Use obj-y/m instead.
In file included from include/linux/kernel.h:16,
from include/linux/list.h:9,
from include/linux/rculist.h:10,
from include/linux/sched/signal.h:5,
from arch/ia64/kernel/asm-offsets.c:10:
arch/ia64/include/asm/atomic.h: In function 'ia64_atomic_add':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
311 | ({ \
| ^
include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
142 | extern int printk(const char *fmt, ...); \
| ^~~~~~
arch/ia64/include/asm/atomic.h:38:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
38 | CMPXCHG_BUGCHECK(v); \
| ^~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:61:2: note: in expansion of macro 'ATOMIC_OP'
61 | ATOMIC_OP(op, c_op) \
| ^~~~~~~~~
arch/ia64/include/asm/atomic.h:64:1: note: in expansion of macro 'ATOMIC_OPS'
64 | ATOMIC_OPS(add, +)
| ^~~~~~~~~~
arch/ia64/include/asm/atomic.h: In function 'ia64_atomic_fetch_add':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
311 | ({ \
| ^
include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
142 | extern int printk(const char *fmt, ...); \
| ^~~~~~
arch/ia64/include/asm/atomic.h:53:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
53 | CMPXCHG_BUGCHECK(v); \
| ^~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:62:2: note: in expansion of macro 'ATOMIC_FETCH_OP'
62 | ATOMIC_FETCH_OP(op, c_op)
| ^~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:64:1: note: in expansion of macro 'ATOMIC_OPS'
64 | ATOMIC_OPS(add, +)
| ^~~~~~~~~~
arch/ia64/include/asm/atomic.h: In function 'ia64_atomic_sub':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
311 | ({ \
| ^
include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
142 | extern int printk(const char *fmt, ...); \
| ^~~~~~
arch/ia64/include/asm/atomic.h:38:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
38 | CMPXCHG_BUGCHECK(v); \
| ^~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:61:2: note: in expansion of macro 'ATOMIC_OP'
61 | ATOMIC_OP(op, c_op) \
| ^~~~~~~~~
arch/ia64/include/asm/atomic.h:65:1: note: in expansion of macro 'ATOMIC_OPS'
65 | ATOMIC_OPS(sub, -)
| ^~~~~~~~~~
arch/ia64/include/asm/atomic.h: In function 'ia64_atomic_fetch_sub':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
311 | ({ \
| ^
include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
142 | extern int printk(const char *fmt, ...); \
| ^~~~~~
arch/ia64/include/asm/atomic.h:53:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
53 | CMPXCHG_BUGCHECK(v); \
| ^~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:62:2: note: in expansion of macro 'ATOMIC_FETCH_OP'
62 | ATOMIC_FETCH_OP(op, c_op)
| ^~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:65:1: note: in expansion of macro 'ATOMIC_OPS'
65 | ATOMIC_OPS(sub, -)
| ^~~~~~~~~~
arch/ia64/include/asm/atomic.h: In function 'ia64_atomic_fetch_and':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
311 | ({ \
| ^
include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
142 | extern int printk(const char *fmt, ...); \
| ^~~~~~
arch/ia64/include/asm/atomic.h:53:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
53 | CMPXCHG_BUGCHECK(v); \
| ^~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:109:1: note: in expansion of macro 'ATOMIC_FETCH_OP'
109 | ATOMIC_FETCH_OP(and, &)
| ^~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h: In function 'ia64_atomic_fetch_or':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
311 | ({ \
| ^
include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
142 | extern int printk(const char *fmt, ...); \
| ^~~~~~
arch/ia64/include/asm/atomic.h:53:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
53 | CMPXCHG_BUGCHECK(v); \
| ^~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:110:1: note: in expansion of macro 'ATOMIC_FETCH_OP'
110 | ATOMIC_FETCH_OP(or, |)
| ^~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h: In function 'ia64_atomic_fetch_xor':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
311 | ({ \
| ^
include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
142 | extern int printk(const char *fmt, ...); \
| ^~~~~~
arch/ia64/include/asm/atomic.h:53:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
53 | CMPXCHG_BUGCHECK(v); \
| ^~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:111:1: note: in expansion of macro 'ATOMIC_FETCH_OP'
111 | ATOMIC_FETCH_OP(xor, ^)
| ^~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h: In function 'ia64_atomic64_add':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
311 | ({ \
| ^
include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
142 | extern int printk(const char *fmt, ...); \
| ^~~~~~
arch/ia64/include/asm/atomic.h:133:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
133 | CMPXCHG_BUGCHECK(v); \
| ^~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:156:2: note: in expansion of macro 'ATOMIC64_OP'
156 | ATOMIC64_OP(op, c_op) \
| ^~~~~~~~~~~
arch/ia64/include/asm/atomic.h:159:1: note: in expansion of macro 'ATOMIC64_OPS'
159 | ATOMIC64_OPS(add, +)
| ^~~~~~~~~~~~
arch/ia64/include/asm/atomic.h: In function 'ia64_atomic64_fetch_add':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
311 | ({ \
| ^
include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
142 | extern int printk(const char *fmt, ...); \
| ^~~~~~
arch/ia64/include/asm/atomic.h:148:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
148 | CMPXCHG_BUGCHECK(v); \
| ^~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:157:2: note: in expansion of macro 'ATOMIC64_FETCH_OP'
157 | ATOMIC64_FETCH_OP(op, c_op)
| ^~~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:159:1: note: in expansion of macro 'ATOMIC64_OPS'
159 | ATOMIC64_OPS(add, +)
| ^~~~~~~~~~~~
arch/ia64/include/asm/atomic.h: In function 'ia64_atomic64_sub':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
311 | ({ \
| ^
include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
142 | extern int printk(const char *fmt, ...); \
| ^~~~~~
arch/ia64/include/asm/atomic.h:133:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
133 | CMPXCHG_BUGCHECK(v); \
| ^~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:156:2: note: in expansion of macro 'ATOMIC64_OP'
156 | ATOMIC64_OP(op, c_op) \
| ^~~~~~~~~~~
arch/ia64/include/asm/atomic.h:160:1: note: in expansion of macro 'ATOMIC64_OPS'
160 | ATOMIC64_OPS(sub, -)
| ^~~~~~~~~~~~
arch/ia64/include/asm/atomic.h: In function 'ia64_atomic64_fetch_sub':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
311 | ({ \
| ^
include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
142 | extern int printk(const char *fmt, ...); \
| ^~~~~~
arch/ia64/include/asm/atomic.h:148:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
148 | CMPXCHG_BUGCHECK(v); \
| ^~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:157:2: note: in expansion of macro 'ATOMIC64_FETCH_OP'
157 | ATOMIC64_FETCH_OP(op, c_op)
| ^~~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:160:1: note: in expansion of macro 'ATOMIC64_OPS'
160 | ATOMIC64_OPS(sub, -)
| ^~~~~~~~~~~~
arch/ia64/include/asm/atomic.h: In function 'ia64_atomic64_fetch_and':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
311 | ({ \
| ^
include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
142 | extern int printk(const char *fmt, ...); \
| ^~~~~~
arch/ia64/include/asm/atomic.h:148:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
148 | CMPXCHG_BUGCHECK(v); \
| ^~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:194:1: note: in expansion of macro 'ATOMIC64_FETCH_OP'
194 | ATOMIC64_FETCH_OP(and, &)
| ^~~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h: In function 'ia64_atomic64_fetch_or':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
311 | ({ \
| ^
include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
142 | extern int printk(const char *fmt, ...); \
| ^~~~~~
arch/ia64/include/asm/atomic.h:148:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
148 | CMPXCHG_BUGCHECK(v); \
| ^~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:195:1: note: in expansion of macro 'ATOMIC64_FETCH_OP'
195 | ATOMIC64_FETCH_OP(or, |)
| ^~~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h: In function 'ia64_atomic64_fetch_xor':
>> include/linux/printk.h:311:3: error: expected identifier or '(' before '{' token
311 | ({ \
| ^
include/linux/printk.h:331:26: note: in expansion of macro 'printk_store_fmt'
331 | #define printk(fmt, ...) printk_store_fmt(_printk, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/ia64/include/uapi/asm/cmpxchg.h:142:14: note: in expansion of macro 'printk'
142 | extern int printk(const char *fmt, ...); \
| ^~~~~~
arch/ia64/include/asm/atomic.h:148:3: note: in expansion of macro 'CMPXCHG_BUGCHECK'
148 | CMPXCHG_BUGCHECK(v); \
| ^~~~~~~~~~~~~~~~
arch/ia64/include/asm/atomic.h:196:1: note: in expansion of macro 'ATOMIC64_FETCH_OP'
196 | ATOMIC64_FETCH_OP(xor, ^)
| ^~~~~~~~~~~~~~~~~
arch/ia64/kernel/asm-offsets.c: At top level:
arch/ia64/kernel/asm-offsets.c:23:6: warning: no previous prototype for 'foo' [-Wmissing-prototypes]
23 | void foo(void)
| ^~~
make[2]: *** [scripts/Makefile.build:117: arch/ia64/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1206: prepare0] Error 2
make[1]: Target 'modules_prepare' not remade because of errors.
make: *** [Makefile:185: __sub-make] Error 2
make: Target 'modules_prepare' not remade because of errors.
..
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for FRAME_POINTER
Depends on DEBUG_KERNEL && (M68K || UML || SUPERH) || ARCH_WANT_FRAME_POINTERS
Selected by
- FAULT_INJECTION_STACKTRACE_FILTER && FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT && !X86_64 && !MIPS && !PPC && !S390 && !MICROBLAZE && !ARM && !ARC && !X86
vim +311 include/linux/printk.h
308
309 #ifdef CONFIG_PRINTK_ENUMERATION
310 #define printk_store_fmt(func, fmt, ...) \
> 311 ({ \
312 int _printk_ret; \
313 \
314 if (__builtin_constant_p(fmt)) { \
315 /*
316 * The compiler may not be able to eliminate this, so
317 * we need to make sure that it doesn't see any
318 * hypothetical assignment for non-constants even
319 * though this is already inside the
320 * __builtin_constant_p guard.
321 */ \
322 static const char *_fmt __section(".printk_fmts") = \
323 __builtin_constant_p(fmt) ? fmt : NULL; \
324 _printk_ret = func(_fmt, ##__VA_ARGS__); \
325 } else \
326 _printk_ret = func(fmt, ##__VA_ARGS__); \
327 \
328 _printk_ret; \
329 })
330
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
drivers/mmc/host/sdhci-esdhc-imx.c:343:19: warning: unused function 'is_imx6q_usdhc'
by kernel test robot
Hi Krzysztof,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 291009f656e8eaebbdfd3a8d99f6b190a9ce9deb
commit: 54d8454436a205682bd89d66d8d9eedbc8452d15 mmc: host: Enable compile testing of multiple drivers
date: 5 months ago
config: mips-randconfig-r036-20210212 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
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 mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 54d8454436a205682bd89d66d8d9eedbc8452d15
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
>> drivers/mmc/host/sdhci-esdhc-imx.c:343:19: warning: unused function 'is_imx6q_usdhc'
static inline int is_imx6q_usdhc(struct pltfm_imx_data
^
fatal error: error in backend: Nested variants found in inline asm string: '.if ( 0x00 ) != -1)) 0x00 ) != -1)) : ($( static struct ftrace_branch_data __attribute__((__aligned__(4))) __attribute__((__section__("_ftrace_branch"))) __if_trace = $( .func = __func__, .file = "arch/mips/include/asm/barrier.h", .line = 16, $); 0x00 ) != -1)) : $))) ) && ( (1 << 0) ); .set push; .set mips64r2; .rept 1; sync 0x00; .endr; .set pop; .else; ; .endif'
clang-12: error: clang frontend command failed with exit code 70 (use -v to see invocation)
clang version 12.0.0 (git://gitmirror/llvm_project c9439ca36342fb6013187d0a69aef92736951476)
Target: mipsel-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/cross/clang-c9439ca363/bin
clang-12: note: diagnostic msg:
Makefile arch drivers fs include kernel mm scripts source usr
--
>> drivers/mmc/host/sdhci-sprd.c:134:20: warning: unused function 'sdhci_sprd_writew'
static inline void sdhci_sprd_writew(struct sdhci_host u16 val, int reg)
^
fatal error: error in backend: Nested variants found in inline asm string: '.if ( 0x00 ) != -1)) 0x00 ) != -1)) : ($( static struct ftrace_branch_data __attribute__((__aligned__(4))) __attribute__((__section__("_ftrace_branch"))) __if_trace = $( .func = __func__, .file = "arch/mips/include/asm/barrier.h", .line = 16, $); 0x00 ) != -1)) : $))) ) && ( (1 << 0) ); .set push; .set mips64r2; .rept 1; sync 0x00; .endr; .set pop; .else; ; .endif'
clang-12: error: clang frontend command failed with exit code 70 (use -v to see invocation)
clang version 12.0.0 (git://gitmirror/llvm_project c9439ca36342fb6013187d0a69aef92736951476)
Target: mipsel-unknown-linux-gnu
Thread model: posix
InstalledDir: /opt/cross/clang-c9439ca363/bin
clang-12: note: diagnostic msg:
Makefile arch drivers fs include kernel mm scripts source usr
vim +/is_imx6q_usdhc +343 drivers/mmc/host/sdhci-esdhc-imx.c
57ed3314e0bfa9 Shawn Guo 2011-06-30 342
95a2482a9baaf5 Shawn Guo 2011-09-19 @343 static inline int is_imx6q_usdhc(struct pltfm_imx_data *data)
95a2482a9baaf5 Shawn Guo 2011-09-19 344 {
f47c4bbfa283df Shawn Guo 2013-10-17 345 return data->socdata == &usdhc_imx6q_data;
95a2482a9baaf5 Shawn Guo 2011-09-19 346 }
95a2482a9baaf5 Shawn Guo 2011-09-19 347
:::::: The code at line 343 was first introduced by commit
:::::: 95a2482a9baaf55a3403d2e76f2abd7c0a32298c mmc: sdhci-esdhc-imx: add basic imx6q usdhc support
:::::: TO: Shawn Guo <shawn.guo(a)linaro.org>
:::::: CC: Chris Ball <cjb(a)laptop.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
Re: [PATCH v2 2/6] platform/surface: aggregator_registry: Add base device hub
by kernel test robot
Hi Maximilian,
I love your patch! Yet something to improve:
[auto build test ERROR on next-20210211]
[cannot apply to linus/master v5.11-rc7 v5.11-rc6 v5.11-rc5 v5.11-rc7]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Maximilian-Luz/platform-surface-...
base: 671176b0016c80b3943cb5387312c886aba3308d
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/32e4dc2a84e7cfca40f6efbf16ba50e29...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Maximilian-Luz/platform-surface-Add-Surface-Aggregator-device-registry/20210212-035100
git checkout 32e4dc2a84e7cfca40f6efbf16ba50e294c70f1c
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from arch/x86/include/asm/bug.h:93,
from include/linux/bug.h:5,
from include/linux/cpumask.h:14,
from include/linux/smp.h:13,
from include/linux/lockdep.h:14,
from include/linux/mutex.h:17,
from include/linux/kernfs.h:12,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/of.h:17,
from include/linux/irqdomain.h:35,
from include/linux/acpi.h:13,
from drivers/platform/surface/surface_aggregator_registry.c:12:
drivers/platform/surface/surface_aggregator_registry.c: In function '__ssam_base_hub_update':
>> include/linux/lockdep.h:281:52: error: invalid type argument of '->' (have 'struct mutex')
281 | #define lockdep_is_held(lock) lock_is_held(&(lock)->dep_map)
| ^~
include/asm-generic/bug.h:119:25: note: in definition of macro 'WARN_ON'
119 | int __ret_warn_on = !!(condition); \
| ^~~~~~~~~
include/linux/lockdep.h:305:27: note: in expansion of macro 'lockdep_is_held'
305 | WARN_ON(debug_locks && !lockdep_is_held(l)); \
| ^~~~~~~~~~~~~~~
drivers/platform/surface/surface_aggregator_registry.c:266:2: note: in expansion of macro 'lockdep_assert_held'
266 | lockdep_assert_held(hub->lock);
| ^~~~~~~~~~~~~~~~~~~
vim +281 include/linux/lockdep.h
f607c668577481 Peter Zijlstra 2009-07-20 280
f8319483f57f1c Peter Zijlstra 2016-11-30 @281 #define lockdep_is_held(lock) lock_is_held(&(lock)->dep_map)
f8319483f57f1c Peter Zijlstra 2016-11-30 282 #define lockdep_is_held_type(lock, r) lock_is_held_type(&(lock)->dep_map, (r))
f607c668577481 Peter Zijlstra 2009-07-20 283
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
sdhci.c:undefined reference to `mmc_can_gpio_cd'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 291009f656e8eaebbdfd3a8d99f6b190a9ce9deb
commit: e65bb38824711559844ba932132f417bc5a355e2 mmc: sdhci: do not enable card detect interrupt for gpio cd type
date: 11 months ago
config: powerpc-randconfig-r032-20210210 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 9.3.0
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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout e65bb38824711559844ba932132f417bc5a355e2
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/wimax/op-msg.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/wimax/op-reset.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/wimax/op-rfkill.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/wimax/op-state-get.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/wimax/stack.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/wimax/debugfs.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/batman-adv/bat_algo.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/batman-adv/bat_iv_ogm.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/batman-adv/bitarray.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/batman-adv/fragmentation.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/batman-adv/gateway_client.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/batman-adv/gateway_common.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/batman-adv/hard-interface.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/batman-adv/hash.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/batman-adv/log.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/batman-adv/main.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/batman-adv/netlink.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/batman-adv/originator.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/batman-adv/routing.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/batman-adv/send.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/batman-adv/soft-interface.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/batman-adv/tp_meter.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/batman-adv/translation-table.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/batman-adv/tvlv.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/nfc/core.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/nfc/netlink.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/nfc/af_nfc.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/nfc/rawsock.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/nfc/llcp_core.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/nfc/llcp_commands.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/nfc/llcp_sock.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/nfc/nci/core.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/nfc/nci/data.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/nfc/nci/lib.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/nfc/nci/ntf.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/nfc/nci/rsp.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/nfc/nci/hci.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/nfc/nci/spi.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/nfc/hci/core.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/nfc/hci/hcp.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/nfc/hci/command.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/nfc/hci/llc.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/nfc/hci/llc_nop.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/nfc/hci/llc_shdlc.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/vmw_vsock/af_vsock.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/vmw_vsock/af_vsock_tap.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/vmw_vsock/vsock_addr.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/mpls/mpls_gso.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/hsr/hsr_main.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/hsr/hsr_framereg.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/hsr/hsr_device.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/hsr/hsr_netlink.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/hsr/hsr_slave.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/hsr/hsr_forward.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `net/hsr/hsr_debugfs.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/argv_split.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/bootconfig.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/bug.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/cmdline.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/cpumask.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/dec_and_lock.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/decompress.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/decompress_unlzma.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/dump_stack.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/extable.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/fdt.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/fdt_ro.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/fdt_rw.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/fdt_wip.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/flex_proportions.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/idr.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/ioremap.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/is_single_threaded.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/klist.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/kobject.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/kobject_uevent.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/logic_pio.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/memcat_p.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/plist.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/radix-tree.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/ratelimit.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/rbtree.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/seq_buf.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/sha1.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/show_mem.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/siphash.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/string.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/timerqueue.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/vsprintf.o' being placed in section `.ctors.65435'
powerpc-linux-ld: warning: orphan section `.ctors.65435' from `lib/xarray.o' being placed in section `.ctors.65435'
powerpc-linux-ld: drivers/mmc/host/sdhci.o: in function `sdhci_alloc_host':
(.text+0x25d0): undefined reference to `mmc_alloc_host'
powerpc-linux-ld: drivers/mmc/host/sdhci.o: in function `sdhci_free_host':
(.text+0x2ce4): undefined reference to `mmc_free_host'
powerpc-linux-ld: drivers/mmc/host/sdhci.o: in function `sdhci_get_cd':
sdhci.c:(.text+0x10894): undefined reference to `mmc_gpio_get_cd'
powerpc-linux-ld: drivers/mmc/host/sdhci.o: in function `sdhci_check_ro':
sdhci.c:(.text+0x119a8): undefined reference to `mmc_can_gpio_ro'
powerpc-linux-ld: sdhci.c:(.text+0x119f0): undefined reference to `mmc_gpio_get_ro'
powerpc-linux-ld: drivers/mmc/host/sdhci.o: in function `sdhci_set_card_detection':
>> sdhci.c:(.text+0x11f50): undefined reference to `mmc_can_gpio_cd'
powerpc-linux-ld: drivers/mmc/host/sdhci.o: in function `sdhci_remove_host':
(.text+0x1271c): undefined reference to `mmc_remove_host'
powerpc-linux-ld: (.text+0x12c9c): undefined reference to `mmc_remove_host'
powerpc-linux-ld: drivers/mmc/host/sdhci.o: in function `__sdhci_add_host':
(.text+0x13564): undefined reference to `mmc_add_host'
powerpc-linux-ld: drivers/mmc/host/sdhci.o: in function `sdhci_request_done':
sdhci.c:(.text+0x17540): undefined reference to `mmc_request_done'
powerpc-linux-ld: drivers/mmc/host/sdhci.o: in function `sdhci_thread_irq':
sdhci.c:(.text+0x187d4): undefined reference to `mmc_detect_change'
powerpc-linux-ld: drivers/mmc/host/sdhci.o: in function `sdhci_start_signal_voltage_switch':
(.text+0x1a608): undefined reference to `mmc_regulator_set_vqmmc'
powerpc-linux-ld: (.text+0x1a7e8): undefined reference to `mmc_regulator_set_vqmmc'
powerpc-linux-ld: (.text+0x1a9c8): undefined reference to `mmc_regulator_set_vqmmc'
powerpc-linux-ld: drivers/mmc/host/sdhci.o: in function `sdhci_setup_host':
(.text+0x1c3d8): undefined reference to `mmc_regulator_get_supply'
powerpc-linux-ld: (.text+0x20fe0): undefined reference to `mmc_gpio_get_cd'
powerpc-linux-ld: drivers/mmc/host/sdhci.o: in function `sdhci_finish_command':
sdhci.c:(.text+0x273f4): undefined reference to `mmc_command_done'
powerpc-linux-ld: drivers/mmc/host/sdhci.o: in function `sdhci_irq':
sdhci.c:(.text+0x28e4c): undefined reference to `sdio_signal_irq'
powerpc-linux-ld: sdhci.c:(.text+0x29d4c): undefined reference to `mmc_request_done'
powerpc-linux-ld: drivers/mmc/host/sdhci.o: in function `sdhci_set_power':
(.text+0x2b560): undefined reference to `mmc_regulator_set_ocr'
powerpc-linux-ld: drivers/mmc/host/sdhci.o: in function `sdhci_set_ios':
(.text+0x2bd04): undefined reference to `mmc_detect_change'
powerpc-linux-ld: (.text+0x2d884): undefined reference to `mmc_regulator_set_ocr'
powerpc-linux-ld: drivers/mmc/host/sdhci.o: in function `sdhci_abort_tuning':
(.text+0x2ec4c): undefined reference to `mmc_abort_tuning'
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for MMC_SDHCI
Depends on MMC && HAS_DMA
Selected by
- AKEBONO && PPC_47x
WARNING: unmet direct dependencies detected for MMC_SDHCI_PLTFM
Depends on MMC && MMC_SDHCI
Selected by
- AKEBONO && PPC_47x
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
Re: [PATCH 2/3] net:ethernet:rmnet:Support for downlink MAPv5 csum offload
by kernel test robot
Hi Sharath,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on ipvs/master]
[also build test ERROR on linus/master sparc-next/master v5.11-rc7 next-20210211]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Sharath-Chandra-Vurukala/docs-ne...
base: https://git.kernel.org/pub/scm/linux/kernel/git/horms/ipvs.git master
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
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
# https://github.com/0day-ci/linux/commit/293142d706c02bf2e6ce7acb4e04ebb6c...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Sharath-Chandra-Vurukala/docs-networking-Add-documentation-for-MAP-v5/20210212-063547
git checkout 293142d706c02bf2e6ce7acb4e04ebb6cf4a2a63
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
Note: the linux-review/Sharath-Chandra-Vurukala/docs-networking-Add-documentation-for-MAP-v5/20210212-063547 HEAD 7f0a1e35c1d1c17de5873aded88d5dadfedce2fb builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.c: In function 'rmnet_map_egress_handler':
>> drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.c:153:15: error: too few arguments to function 'rmnet_map_add_map_header'
153 | map_header = rmnet_map_add_map_header(skb, additional_header_len, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.c:14:
drivers/net/ethernet/qualcomm/rmnet/rmnet_map.h:66:26: note: declared here
66 | struct rmnet_map_header *rmnet_map_add_map_header(struct sk_buff *skb,
| ^~~~~~~~~~~~~~~~~~~~~~~~
At top level:
drivers/net/ethernet/qualcomm/rmnet/rmnet_map.h:76:11: warning: 'rmnet_map_get_next_hdr_type' defined but not used [-Wunused-function]
76 | static u8 rmnet_map_get_next_hdr_type(struct sk_buff *skb)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
--
>> drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c:270:26: error: conflicting types for 'rmnet_map_add_map_header'
270 | struct rmnet_map_header *rmnet_map_add_map_header(struct sk_buff *skb,
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from drivers/net/ethernet/qualcomm/rmnet/rmnet_map_data.c:12:
drivers/net/ethernet/qualcomm/rmnet/rmnet_map.h:66:26: note: previous declaration of 'rmnet_map_add_map_header' was here
66 | struct rmnet_map_header *rmnet_map_add_map_header(struct sk_buff *skb,
| ^~~~~~~~~~~~~~~~~~~~~~~~
vim +/rmnet_map_add_map_header +153 drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.c
ceed73a2cf4aff Subash Abhinov Kasiviswanathan 2017-08-29 129
ceed73a2cf4aff Subash Abhinov Kasiviswanathan 2017-08-29 130 static int rmnet_map_egress_handler(struct sk_buff *skb,
56470c927f1ba1 Subash Abhinov Kasiviswanathan 2017-10-11 131 struct rmnet_port *port, u8 mux_id,
ceed73a2cf4aff Subash Abhinov Kasiviswanathan 2017-08-29 132 struct net_device *orig_dev)
ceed73a2cf4aff Subash Abhinov Kasiviswanathan 2017-08-29 133 {
ceed73a2cf4aff Subash Abhinov Kasiviswanathan 2017-08-29 134 int required_headroom, additional_header_len;
ceed73a2cf4aff Subash Abhinov Kasiviswanathan 2017-08-29 135 struct rmnet_map_header *map_header;
ceed73a2cf4aff Subash Abhinov Kasiviswanathan 2017-08-29 136
ceed73a2cf4aff Subash Abhinov Kasiviswanathan 2017-08-29 137 additional_header_len = 0;
ceed73a2cf4aff Subash Abhinov Kasiviswanathan 2017-08-29 138 required_headroom = sizeof(struct rmnet_map_header);
ceed73a2cf4aff Subash Abhinov Kasiviswanathan 2017-08-29 139
14452ca3b5ce30 Subash Abhinov Kasiviswanathan 2018-03-21 140 if (port->data_format & RMNET_FLAGS_EGRESS_MAP_CKSUMV4) {
5eb5f8608ef118 Subash Abhinov Kasiviswanathan 2018-01-07 141 additional_header_len = sizeof(struct rmnet_map_ul_csum_header);
5eb5f8608ef118 Subash Abhinov Kasiviswanathan 2018-01-07 142 required_headroom += additional_header_len;
5eb5f8608ef118 Subash Abhinov Kasiviswanathan 2018-01-07 143 }
5eb5f8608ef118 Subash Abhinov Kasiviswanathan 2018-01-07 144
ceed73a2cf4aff Subash Abhinov Kasiviswanathan 2017-08-29 145 if (skb_headroom(skb) < required_headroom) {
6392ff3c8e4c23 Subash Abhinov Kasiviswanathan 2018-10-02 146 if (pskb_expand_head(skb, required_headroom, 0, GFP_ATOMIC))
1eece799d3f611 Subash Abhinov Kasiviswanathan 2018-05-15 147 return -ENOMEM;
ceed73a2cf4aff Subash Abhinov Kasiviswanathan 2017-08-29 148 }
ceed73a2cf4aff Subash Abhinov Kasiviswanathan 2017-08-29 149
14452ca3b5ce30 Subash Abhinov Kasiviswanathan 2018-03-21 150 if (port->data_format & RMNET_FLAGS_EGRESS_MAP_CKSUMV4)
5eb5f8608ef118 Subash Abhinov Kasiviswanathan 2018-01-07 151 rmnet_map_checksum_uplink_packet(skb, orig_dev);
5eb5f8608ef118 Subash Abhinov Kasiviswanathan 2018-01-07 152
ceed73a2cf4aff Subash Abhinov Kasiviswanathan 2017-08-29 @153 map_header = rmnet_map_add_map_header(skb, additional_header_len, 0);
ceed73a2cf4aff Subash Abhinov Kasiviswanathan 2017-08-29 154 if (!map_header)
1eece799d3f611 Subash Abhinov Kasiviswanathan 2018-05-15 155 return -ENOMEM;
ceed73a2cf4aff Subash Abhinov Kasiviswanathan 2017-08-29 156
56470c927f1ba1 Subash Abhinov Kasiviswanathan 2017-10-11 157 map_header->mux_id = mux_id;
ceed73a2cf4aff Subash Abhinov Kasiviswanathan 2017-08-29 158
ceed73a2cf4aff Subash Abhinov Kasiviswanathan 2017-08-29 159 skb->protocol = htons(ETH_P_MAP);
ceed73a2cf4aff Subash Abhinov Kasiviswanathan 2017-08-29 160
cf2fe57b0cc220 Subash Abhinov Kasiviswanathan 2017-12-11 161 return 0;
ceed73a2cf4aff Subash Abhinov Kasiviswanathan 2017-08-29 162 }
ceed73a2cf4aff Subash Abhinov Kasiviswanathan 2017-08-29 163
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
include/linux/unaligned/be_byteshift.h:46:19: error: redefinition of 'get_unaligned_be32'
by kernel test robot
Hi Gene,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 291009f656e8eaebbdfd3a8d99f6b190a9ce9deb
commit: 1f4877218f7e2c2b914aeb69a8a0f47d59c74717 iio: adc: mt6360: Add ADC driver for MT6360
date: 3 months ago
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-gcc (GCC) 9.3.0
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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 1f4877218f7e2c2b914aeb69a8a0f47d59c74717
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/iio/adc/mt6360-adc.c:12:
include/linux/unaligned/be_byteshift.h:41:19: error: redefinition of 'get_unaligned_be16'
41 | static inline u16 get_unaligned_be16(const void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from include/asm-generic/unaligned.h:13,
from arch/arc/include/asm/unaligned.h:11,
from arch/arc/include/asm/io.h:12,
from include/linux/io.h:13,
from include/linux/irq.h:20,
from drivers/iio/adc/mt6360-adc.c:5:
include/linux/unaligned/access_ok.h:23:28: note: previous definition of 'get_unaligned_be16' was here
23 | static __always_inline u16 get_unaligned_be16(const void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from drivers/iio/adc/mt6360-adc.c:12:
>> include/linux/unaligned/be_byteshift.h:46:19: error: redefinition of 'get_unaligned_be32'
46 | static inline u32 get_unaligned_be32(const void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from include/asm-generic/unaligned.h:13,
from arch/arc/include/asm/unaligned.h:11,
from arch/arc/include/asm/io.h:12,
from include/linux/io.h:13,
from include/linux/irq.h:20,
from drivers/iio/adc/mt6360-adc.c:5:
include/linux/unaligned/access_ok.h:28:28: note: previous definition of 'get_unaligned_be32' was here
28 | static __always_inline u32 get_unaligned_be32(const void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from drivers/iio/adc/mt6360-adc.c:12:
include/linux/unaligned/be_byteshift.h:51:19: error: redefinition of 'get_unaligned_be64'
51 | static inline u64 get_unaligned_be64(const void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from include/asm-generic/unaligned.h:13,
from arch/arc/include/asm/unaligned.h:11,
from arch/arc/include/asm/io.h:12,
from include/linux/io.h:13,
from include/linux/irq.h:20,
from drivers/iio/adc/mt6360-adc.c:5:
include/linux/unaligned/access_ok.h:33:28: note: previous definition of 'get_unaligned_be64' was here
33 | static __always_inline u64 get_unaligned_be64(const void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from drivers/iio/adc/mt6360-adc.c:12:
include/linux/unaligned/be_byteshift.h:56:20: error: redefinition of 'put_unaligned_be16'
56 | static inline void put_unaligned_be16(u16 val, void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from include/asm-generic/unaligned.h:13,
from arch/arc/include/asm/unaligned.h:11,
from arch/arc/include/asm/io.h:12,
from include/linux/io.h:13,
from include/linux/irq.h:20,
from drivers/iio/adc/mt6360-adc.c:5:
include/linux/unaligned/access_ok.h:53:29: note: previous definition of 'put_unaligned_be16' was here
53 | static __always_inline void put_unaligned_be16(u16 val, void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from drivers/iio/adc/mt6360-adc.c:12:
>> include/linux/unaligned/be_byteshift.h:61:20: error: redefinition of 'put_unaligned_be32'
61 | static inline void put_unaligned_be32(u32 val, void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from include/asm-generic/unaligned.h:13,
from arch/arc/include/asm/unaligned.h:11,
from arch/arc/include/asm/io.h:12,
from include/linux/io.h:13,
from include/linux/irq.h:20,
from drivers/iio/adc/mt6360-adc.c:5:
include/linux/unaligned/access_ok.h:58:29: note: previous definition of 'put_unaligned_be32' was here
58 | static __always_inline void put_unaligned_be32(u32 val, void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from drivers/iio/adc/mt6360-adc.c:12:
include/linux/unaligned/be_byteshift.h:66:20: error: redefinition of 'put_unaligned_be64'
66 | static inline void put_unaligned_be64(u64 val, void *p)
| ^~~~~~~~~~~~~~~~~~
In file included from include/asm-generic/unaligned.h:13,
from arch/arc/include/asm/unaligned.h:11,
from arch/arc/include/asm/io.h:12,
from include/linux/io.h:13,
from include/linux/irq.h:20,
from drivers/iio/adc/mt6360-adc.c:5:
include/linux/unaligned/access_ok.h:63:29: note: previous definition of 'put_unaligned_be64' was here
63 | static __always_inline void put_unaligned_be64(u64 val, void *p)
| ^~~~~~~~~~~~~~~~~~
vim +/get_unaligned_be32 +46 include/linux/unaligned/be_byteshift.h
064106a91be5e7 Harvey Harrison 2008-04-29 45
064106a91be5e7 Harvey Harrison 2008-04-29 @46 static inline u32 get_unaligned_be32(const void *p)
064106a91be5e7 Harvey Harrison 2008-04-29 47 {
19f747f7370fcf Bart Van Assche 2020-03-13 48 return __get_unaligned_be32(p);
064106a91be5e7 Harvey Harrison 2008-04-29 49 }
064106a91be5e7 Harvey Harrison 2008-04-29 50
064106a91be5e7 Harvey Harrison 2008-04-29 51 static inline u64 get_unaligned_be64(const void *p)
064106a91be5e7 Harvey Harrison 2008-04-29 52 {
19f747f7370fcf Bart Van Assche 2020-03-13 53 return __get_unaligned_be64(p);
064106a91be5e7 Harvey Harrison 2008-04-29 54 }
064106a91be5e7 Harvey Harrison 2008-04-29 55
064106a91be5e7 Harvey Harrison 2008-04-29 56 static inline void put_unaligned_be16(u16 val, void *p)
064106a91be5e7 Harvey Harrison 2008-04-29 57 {
064106a91be5e7 Harvey Harrison 2008-04-29 58 __put_unaligned_be16(val, p);
064106a91be5e7 Harvey Harrison 2008-04-29 59 }
064106a91be5e7 Harvey Harrison 2008-04-29 60
064106a91be5e7 Harvey Harrison 2008-04-29 @61 static inline void put_unaligned_be32(u32 val, void *p)
064106a91be5e7 Harvey Harrison 2008-04-29 62 {
064106a91be5e7 Harvey Harrison 2008-04-29 63 __put_unaligned_be32(val, p);
064106a91be5e7 Harvey Harrison 2008-04-29 64 }
064106a91be5e7 Harvey Harrison 2008-04-29 65
:::::: The code at line 46 was first introduced by commit
:::::: 064106a91be5e76cb42c1ddf5d3871e3a1bd2a23 kernel: add common infrastructure for unaligned access
:::::: TO: Harvey Harrison <harvey.harrison(a)gmail.com>
:::::: CC: Linus Torvalds <torvalds(a)linux-foundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
[android-common:android12-5.10 1998/4762] include/linux/pm_domain.h:290:13: error: 'genpd_enable_next_wakeup' defined but not used
by kernel test robot
tree: https://android.googlesource.com/kernel/common android12-5.10
head: 9132fbe545925a36b45c0738d1f9aa5cecb86050
commit: e6c313525bb350396320a1775677a07eebe435cd [1998/4762] FROMLIST: PM / Domains: add domain feature flag for next wakeup
config: i386-randconfig-r004-20210211 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
git remote add android-common https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android12-5.10
git checkout e6c313525bb350396320a1775677a07eebe435cd
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/gpu/drm/i915/selftests/mock_gem_device.c:25,
from drivers/gpu/drm/i915/i915_gem.c:1377:
>> include/linux/pm_domain.h:290:13: error: 'genpd_enable_next_wakeup' defined but not used [-Werror=unused-function]
290 | static void genpd_enable_next_wakeup(struct generic_pm_domain *genpd,
| ^~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/genpd_enable_next_wakeup +290 include/linux/pm_domain.h
289
> 290 static void genpd_enable_next_wakeup(struct generic_pm_domain *genpd,
291 bool enable)
292 { }
293
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months