Re: [PATCH v5] sound: rawmidi: Add framing mode
by kernel test robot
Hi David,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on sound/for-next]
[also build test WARNING on v5.12-rc7 next-20210416]
[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/David-Henningsson/sound-rawmidi-...
base: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-next
config: x86_64-randconfig-a001-20210418 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 1c10201d9660c1d6f43a7226ca7381bfa255105d)
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
# https://github.com/0day-ci/linux/commit/6b82e8d56896a3eb7f9024ae5838c4c34...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review David-Henningsson/sound-rawmidi-Add-framing-mode/20210418-231512
git checkout 6b82e8d56896a3eb7f9024ae5838c4c3402bc4a4
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross 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 warnings (new ones prefixed by >>):
>> sound/core/rawmidi.c:1014:19: warning: no previous prototype for function 'get_framing_tstamp' [-Wmissing-prototypes]
struct timespec64 get_framing_tstamp(struct snd_rawmidi_substream *substream)
^
sound/core/rawmidi.c:1014:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
struct timespec64 get_framing_tstamp(struct snd_rawmidi_substream *substream)
^
static
1 warning generated.
vim +/get_framing_tstamp +1014 sound/core/rawmidi.c
1013
> 1014 struct timespec64 get_framing_tstamp(struct snd_rawmidi_substream *substream)
1015 {
1016 struct timespec64 ts64 = {0, 0};
1017
1018 if (substream->framing != SNDRV_RAWMIDI_FRAMING_TSTAMP)
1019 return ts64;
1020 if (substream->clock_type == CLOCK_MONOTONIC_RAW)
1021 ktime_get_raw_ts64(&ts64);
1022 else
1023 ktime_get_ts64(&ts64);
1024 return ts64;
1025 }
1026
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
[bvanassche:scsi-for-next 17/121] include/linux/compiler_types.h:320:38: error: call to '__compiletime_assert_382' declared with attribute error: BUILD_BUG_ON failed: driver_byte(TEST_STATUS) != 1
by kernel test robot
tree: https://github.com/bvanassche/linux scsi-for-next
head: f4ec0cee1e32372cc97560f5892855bc02d8c7d3
commit: 57630c4d21c21c7afeecaae35591f37cba2d2802 [17/121] Introduce the scsi_status union
config: mips-allyesconfig (attached as .config)
compiler: mips-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/bvanassche/linux/commit/57630c4d21c21c7afeecaae35591f3...
git remote add bvanassche https://github.com/bvanassche/linux
git fetch --no-tags bvanassche scsi-for-next
git checkout 57630c4d21c21c7afeecaae35591f37cba2d2802
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
Note: the bvanassche/scsi-for-next HEAD f4ec0cee1e32372cc97560f5892855bc02d8c7d3 builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
In file included from <command-line>:
drivers/scsi/scsi.c: In function 'init_scsi':
include/linux/compiler_types.h:320:38: error: call to '__compiletime_assert_381' declared with attribute error: BUILD_BUG_ON failed: TEST_STATUS.combined != 0x01020308
320 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^
include/linux/compiler_types.h:301:4: note: in definition of macro '__compiletime_assert'
301 | prefix ## suffix(); \
| ^~~~~~
include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert'
320 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
| ^~~~~~~~~~~~~~~~
drivers/scsi/scsi.c:774:2: note: in expansion of macro 'BUILD_BUG_ON'
774 | BUILD_BUG_ON(TEST_STATUS.combined != 0x01020308);
| ^~~~~~~~~~~~
>> include/linux/compiler_types.h:320:38: error: call to '__compiletime_assert_382' declared with attribute error: BUILD_BUG_ON failed: driver_byte(TEST_STATUS) != 1
320 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^
include/linux/compiler_types.h:301:4: note: in definition of macro '__compiletime_assert'
301 | prefix ## suffix(); \
| ^~~~~~
include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert'
320 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
| ^~~~~~~~~~~~~~~~
drivers/scsi/scsi.c:775:2: note: in expansion of macro 'BUILD_BUG_ON'
775 | BUILD_BUG_ON(driver_byte(TEST_STATUS) != 1);
| ^~~~~~~~~~~~
>> include/linux/compiler_types.h:320:38: error: call to '__compiletime_assert_383' declared with attribute error: BUILD_BUG_ON failed: host_byte(TEST_STATUS) != 2
320 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^
include/linux/compiler_types.h:301:4: note: in definition of macro '__compiletime_assert'
301 | prefix ## suffix(); \
| ^~~~~~
include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert'
320 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
| ^~~~~~~~~~~~~~~~
drivers/scsi/scsi.c:776:2: note: in expansion of macro 'BUILD_BUG_ON'
776 | BUILD_BUG_ON(host_byte(TEST_STATUS) != 2);
| ^~~~~~~~~~~~
>> include/linux/compiler_types.h:320:38: error: call to '__compiletime_assert_384' declared with attribute error: BUILD_BUG_ON failed: msg_byte(TEST_STATUS) != 3
320 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^
include/linux/compiler_types.h:301:4: note: in definition of macro '__compiletime_assert'
301 | prefix ## suffix(); \
| ^~~~~~
include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert'
320 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
| ^~~~~~~~~~~~~~~~
drivers/scsi/scsi.c:777:2: note: in expansion of macro 'BUILD_BUG_ON'
777 | BUILD_BUG_ON(msg_byte(TEST_STATUS) != 3);
| ^~~~~~~~~~~~
>> include/linux/compiler_types.h:320:38: error: call to '__compiletime_assert_385' declared with attribute error: BUILD_BUG_ON failed: status_byte(TEST_STATUS) != 4
320 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^
include/linux/compiler_types.h:301:4: note: in definition of macro '__compiletime_assert'
301 | prefix ## suffix(); \
| ^~~~~~
include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert'
320 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
| ^~~~~~~~~~~~~~~~
drivers/scsi/scsi.c:778:2: note: in expansion of macro 'BUILD_BUG_ON'
778 | BUILD_BUG_ON(status_byte(TEST_STATUS) != 4);
| ^~~~~~~~~~~~
vim +/__compiletime_assert_382 +320 include/linux/compiler_types.h
eb5c2d4b45e3d2 Will Deacon 2020-07-21 306
eb5c2d4b45e3d2 Will Deacon 2020-07-21 307 #define _compiletime_assert(condition, msg, prefix, suffix) \
eb5c2d4b45e3d2 Will Deacon 2020-07-21 308 __compiletime_assert(condition, msg, prefix, suffix)
eb5c2d4b45e3d2 Will Deacon 2020-07-21 309
eb5c2d4b45e3d2 Will Deacon 2020-07-21 310 /**
eb5c2d4b45e3d2 Will Deacon 2020-07-21 311 * compiletime_assert - break build and emit msg if condition is false
eb5c2d4b45e3d2 Will Deacon 2020-07-21 312 * @condition: a compile-time constant condition to check
eb5c2d4b45e3d2 Will Deacon 2020-07-21 313 * @msg: a message to emit if condition is false
eb5c2d4b45e3d2 Will Deacon 2020-07-21 314 *
eb5c2d4b45e3d2 Will Deacon 2020-07-21 315 * In tradition of POSIX assert, this macro will break the build if the
eb5c2d4b45e3d2 Will Deacon 2020-07-21 316 * supplied condition is *false*, emitting the supplied error message if the
eb5c2d4b45e3d2 Will Deacon 2020-07-21 317 * compiler has support to do so.
eb5c2d4b45e3d2 Will Deacon 2020-07-21 318 */
eb5c2d4b45e3d2 Will Deacon 2020-07-21 319 #define compiletime_assert(condition, msg) \
eb5c2d4b45e3d2 Will Deacon 2020-07-21 @320 _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
eb5c2d4b45e3d2 Will Deacon 2020-07-21 321
:::::: The code at line 320 was first introduced by commit
:::::: eb5c2d4b45e3d2d5d052ea6b8f1463976b1020d5 compiler.h: Move compiletime_assert() macros into compiler_types.h
:::::: TO: Will Deacon <will(a)kernel.org>
:::::: CC: Will Deacon <will(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
Re: [PATCH] irqchip/xilinx: Expose Kconfig option
by kernel test robot
Hi Robert,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on tip/irq/core]
[also build test ERROR on v5.12-rc7 next-20210416]
[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/Robert-Hancock/irqchip-xilinx-Ex...
base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 7c07012eb1be8b4a95d3502fd30795849007a40e
config: s390-allmodconfig (attached as .config)
compiler: s390-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/4ece2fff79c8d47de22ecca7c8d18d965...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Robert-Hancock/irqchip-xilinx-Expose-Kconfig-option/20210416-080610
git checkout 4ece2fff79c8d47de22ecca7c8d18d96525bfa43
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=s390
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 >>):
s390-linux-ld: kernel/dma/coherent.o: in function `dma_init_coherent_memory':
coherent.c:(.text+0x3bc): undefined reference to `memremap'
s390-linux-ld: coherent.c:(.text+0x500): undefined reference to `memunmap'
s390-linux-ld: kernel/dma/coherent.o: in function `dma_declare_coherent_memory':
coherent.c:(.text+0xae6): undefined reference to `memunmap'
s390-linux-ld: drivers/irqchip/irq-al-fic.o: in function `al_fic_init_dt':
irq-al-fic.c:(.init.text+0x98): undefined reference to `of_iomap'
s390-linux-ld: irq-al-fic.c:(.init.text+0x596): undefined reference to `iounmap'
s390-linux-ld: drivers/irqchip/irq-xilinx-intc.o: in function `xilinx_intc_of_init':
>> irq-xilinx-intc.c:(.init.text+0x9e): undefined reference to `of_iomap'
>> s390-linux-ld: irq-xilinx-intc.c:(.init.text+0x5f6): undefined reference to `iounmap'
s390-linux-ld: drivers/clk/clk-fixed-mmio.o: in function `fixed_mmio_clk_setup':
clk-fixed-mmio.c:(.text+0x9a): undefined reference to `of_iomap'
s390-linux-ld: clk-fixed-mmio.c:(.text+0xe6): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_init':
timer-of.c:(.init.text+0xcc): undefined reference to `of_iomap'
s390-linux-ld: timer-of.c:(.init.text+0x8ee): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/timer-of.o: in function `timer_of_cleanup':
timer-of.c:(.init.text+0xb9a): undefined reference to `iounmap'
s390-linux-ld: drivers/clocksource/timer-microchip-pit64b.o: in function `mchp_pit64b_dt_init_timer':
timer-microchip-pit64b.c:(.init.text+0x150): undefined reference to `of_iomap'
s390-linux-ld: timer-microchip-pit64b.c:(.init.text+0xc78): undefined reference to `iounmap'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
[linux-next:master 7904/13394] arch/arm64/kvm/hyp/vhe/switch.c:217:17: warning: no previous prototype for function 'hyp_panic'
by kernel test robot
Hi Andrew,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 18250b538735142307082e4e99e3ae5c12d44013
commit: f79e616f27ab6cd74deb0995a8eead3d1c9d65af [7904/13394] KVM: arm64: Use BUG and BUG_ON in nVHE hyp
config: arm64-randconfig-r005-20210418 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project dd68942f1d79986267a58c9a9924522680d5c82b)
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 arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi...
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout f79e616f27ab6cd74deb0995a8eead3d1c9d65af
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm64
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 >>):
>> arch/arm64/kvm/hyp/vhe/switch.c:217:17: warning: no previous prototype for function 'hyp_panic' [-Wmissing-prototypes]
void __noreturn hyp_panic(void)
^
arch/arm64/kvm/hyp/vhe/switch.c:217:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __noreturn hyp_panic(void)
^
static
arch/arm64/kvm/hyp/vhe/switch.c:227:17: warning: no previous prototype for function 'kvm_unexpected_el2_exception' [-Wmissing-prototypes]
asmlinkage void kvm_unexpected_el2_exception(void)
^
arch/arm64/kvm/hyp/vhe/switch.c:227:12: note: declare 'static' if the function is not intended to be used outside of this translation unit
asmlinkage void kvm_unexpected_el2_exception(void)
^
static
2 warnings generated.
--
>> arch/arm64/kvm/hyp/nvhe/switch.c:264:17: warning: no previous prototype for function 'hyp_panic' [-Wmissing-prototypes]
void __noreturn hyp_panic(void)
^
arch/arm64/kvm/hyp/nvhe/switch.c:264:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void __noreturn hyp_panic(void)
^
static
arch/arm64/kvm/hyp/nvhe/switch.c:286:17: warning: no previous prototype for function 'kvm_unexpected_el2_exception' [-Wmissing-prototypes]
asmlinkage void kvm_unexpected_el2_exception(void)
^
arch/arm64/kvm/hyp/nvhe/switch.c:286:12: note: declare 'static' if the function is not intended to be used outside of this translation unit
asmlinkage void kvm_unexpected_el2_exception(void)
^
static
2 warnings generated.
vim +/hyp_panic +217 arch/arm64/kvm/hyp/vhe/switch.c
09cf57eba30424 David Brazdil 2020-06-25 216
6a0259ed29bba8 Andrew Scull 2020-09-15 @217 void __noreturn hyp_panic(void)
09cf57eba30424 David Brazdil 2020-06-25 218 {
09cf57eba30424 David Brazdil 2020-06-25 219 u64 spsr = read_sysreg_el2(SYS_SPSR);
09cf57eba30424 David Brazdil 2020-06-25 220 u64 elr = read_sysreg_el2(SYS_ELR);
96d389ca10110d Rob Herring 2020-10-28 221 u64 par = read_sysreg_par();
09cf57eba30424 David Brazdil 2020-06-25 222
6a0259ed29bba8 Andrew Scull 2020-09-15 223 __hyp_call_panic(spsr, elr, par);
09cf57eba30424 David Brazdil 2020-06-25 224 unreachable();
09cf57eba30424 David Brazdil 2020-06-25 225 }
e9ee186bb735bf James Morse 2020-08-21 226
:::::: The code at line 217 was first introduced by commit
:::::: 6a0259ed29bba83653a36fabcdf6b06aecd78596 KVM: arm64: Remove hyp_panic arguments
:::::: TO: Andrew Scull <ascull(a)google.com>
:::::: CC: Marc Zyngier <maz(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
[nomadik:ixp4 3/14] ixp4xx_crypto.c:undefined reference to `qmgr_disable_irq'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git ixp4
head: e0bf0c1bc94b9100d85ace594fd1f0fb0024dbf2
commit: 3d583e289034b689125b10efb2f82c05ab93c507 [3/14] crypto: ixp4xx: convert to platform driver
config: arm-allyesconfig (attached as .config)
compiler: arm-linux-gnueabi-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/linusw/linux-nomadik.git/...
git remote add nomadik https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git
git fetch --no-tags nomadik ixp4
git checkout 3d583e289034b689125b10efb2f82c05ab93c507
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=arm
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 >>):
arm-linux-gnueabi-ld: drivers/crypto/ixp4xx_crypto.o: in function `ixp_crypto_remove':
>> ixp4xx_crypto.c:(.text+0x6d8): undefined reference to `qmgr_disable_irq'
>> arm-linux-gnueabi-ld: ixp4xx_crypto.c:(.text+0x6e8): undefined reference to `qmgr_release_queue'
arm-linux-gnueabi-ld: ixp4xx_crypto.c:(.text+0x6f0): undefined reference to `qmgr_release_queue'
>> arm-linux-gnueabi-ld: ixp4xx_crypto.c:(.text+0x708): undefined reference to `npe_release'
arm-linux-gnueabi-ld: drivers/crypto/ixp4xx_crypto.o: in function `ixp_crypto_probe':
>> ixp4xx_crypto.c:(.text+0x7ec): undefined reference to `npe_request'
>> arm-linux-gnueabi-ld: ixp4xx_crypto.c:(.text+0x818): undefined reference to `npe_running'
>> arm-linux-gnueabi-ld: ixp4xx_crypto.c:(.text+0x860): undefined reference to `npe_load_firmware'
>> arm-linux-gnueabi-ld: ixp4xx_crypto.c:(.text+0x88c): undefined reference to `npe_recv_message'
>> arm-linux-gnueabi-ld: ixp4xx_crypto.c:(.text+0x908): undefined reference to `npe_send_message'
arm-linux-gnueabi-ld: ixp4xx_crypto.c:(.text+0x934): undefined reference to `npe_recv_message'
arm-linux-gnueabi-ld: ixp4xx_crypto.c:(.text+0x9cc): undefined reference to `npe_release'
>> arm-linux-gnueabi-ld: ixp4xx_crypto.c:(.text+0xa50): undefined reference to `__qmgr_request_queue'
arm-linux-gnueabi-ld: ixp4xx_crypto.c:(.text+0xa8c): undefined reference to `__qmgr_request_queue'
arm-linux-gnueabi-ld: ixp4xx_crypto.c:(.text+0xab0): undefined reference to `qmgr_release_queue'
>> arm-linux-gnueabi-ld: ixp4xx_crypto.c:(.text+0xad0): undefined reference to `qmgr_set_irq'
>> arm-linux-gnueabi-ld: ixp4xx_crypto.c:(.text+0xae8): undefined reference to `qmgr_enable_irq'
arm-linux-gnueabi-ld: ixp4xx_crypto.c:(.text+0xf10): undefined reference to `npe_release'
>> arm-linux-gnueabi-ld: ixp4xx_crypto.c:(.text+0xf40): undefined reference to `npe_names'
arm-linux-gnueabi-ld: drivers/crypto/ixp4xx_crypto.o: in function `crypto_done_action':
>> ixp4xx_crypto.c:(.text+0xfe8): undefined reference to `qmgr_get_entry'
arm-linux-gnueabi-ld: drivers/crypto/ixp4xx_crypto.o: in function `ablk_perform':
>> ixp4xx_crypto.c:(.text+0x18d8): undefined reference to `qmgr_stat_full'
>> arm-linux-gnueabi-ld: ixp4xx_crypto.c:(.text+0x1c24): undefined reference to `qmgr_put_entry'
>> arm-linux-gnueabi-ld: ixp4xx_crypto.c:(.text+0x1c2c): undefined reference to `qmgr_stat_overflow'
arm-linux-gnueabi-ld: drivers/crypto/ixp4xx_crypto.o: in function `aead_perform.constprop.0':
ixp4xx_crypto.c:(.text+0x2014): undefined reference to `qmgr_stat_full'
arm-linux-gnueabi-ld: ixp4xx_crypto.c:(.text+0x24e0): undefined reference to `qmgr_put_entry'
arm-linux-gnueabi-ld: ixp4xx_crypto.c:(.text+0x24e8): undefined reference to `qmgr_stat_overflow'
arm-linux-gnueabi-ld: drivers/crypto/ixp4xx_crypto.o: in function `register_chain_var':
>> ixp4xx_crypto.c:(.text+0x296c): undefined reference to `qmgr_put_entry'
arm-linux-gnueabi-ld: ixp4xx_crypto.c:(.text+0x2974): undefined reference to `qmgr_stat_overflow'
arm-linux-gnueabi-ld: drivers/crypto/ixp4xx_crypto.o: in function `setup_cipher':
ixp4xx_crypto.c:(.text+0x3010): undefined reference to `qmgr_put_entry'
arm-linux-gnueabi-ld: ixp4xx_crypto.c:(.text+0x3018): undefined reference to `qmgr_stat_overflow'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
Re: [PATCH 2/3] rtc: pcf8523: add alarm support
by kernel test robot
Hi Alexandre,
I love your patch! Yet something to improve:
[auto build test ERROR on abelloni/rtc-next]
[also build test ERROR on v5.12-rc7 next-20210416]
[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/Alexandre-Belloni/rtc-pcf8523-re...
base: https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git rtc-next
config: x86_64-rhel-8.3-kselftests (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/ac4cc9aaf864c91e0bc0ec85c0a37c598...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Alexandre-Belloni/rtc-pcf8523-remove-useless-define/20210418-082211
git checkout ac4cc9aaf864c91e0bc0ec85c0a37c5983d350ba
# save the attached .config to linux build tree
make W=1 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 >>):
drivers/rtc/rtc-pcf8523.c: In function 'pcf8523_probe':
>> drivers/rtc/rtc-pcf8523.c:533:9: error: implicit declaration of function 'rtc_register_device'; did you mean 'i2c_unregister_device'? [-Werror=implicit-function-declaration]
533 | return rtc_register_device(rtc);
| ^~~~~~~~~~~~~~~~~~~
| i2c_unregister_device
cc1: some warnings being treated as errors
vim +533 drivers/rtc/rtc-pcf8523.c
474
475 static int pcf8523_probe(struct i2c_client *client,
476 const struct i2c_device_id *id)
477 {
478 struct pcf8523 *pcf8523;
479 struct rtc_device *rtc;
480 bool wakeup_source = false;
481 int err;
482
483 if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
484 return -ENODEV;
485
486 pcf8523 = devm_kzalloc(&client->dev, sizeof(struct pcf8523), GFP_KERNEL);
487 if (!pcf8523)
488 return -ENOMEM;
489
490 i2c_set_clientdata(client, pcf8523);
491 pcf8523->client = client;
492
493 err = pcf8523_load_capacitance(client);
494 if (err < 0)
495 dev_warn(&client->dev, "failed to set xtal load capacitance: %d",
496 err);
497
498 err = pcf8523_set_pm(client, 0);
499 if (err < 0)
500 return err;
501
502 rtc = devm_rtc_allocate_device(&client->dev);
503 if (IS_ERR(rtc))
504 return PTR_ERR(rtc);
505
506 pcf8523->rtc = rtc;
507 rtc->ops = &pcf8523_rtc_ops;
508 rtc->range_min = RTC_TIMESTAMP_BEGIN_2000;
509 rtc->range_max = RTC_TIMESTAMP_END_2099;
510 rtc->uie_unsupported = 1;
511
512 if (client->irq > 0) {
513 err = pcf8523_write(client, REG_TMR_CLKOUT_CTRL, 0x38);
514 if (err < 0)
515 return err;
516
517 err = devm_request_threaded_irq(&client->dev, client->irq,
518 NULL, pcf8523_irq,
519 IRQF_SHARED | IRQF_ONESHOT | IRQF_TRIGGER_LOW,
520 dev_name(&rtc->dev), client);
521 if (err)
522 return err;
523
524 dev_pm_set_wake_irq(&client->dev, client->irq);
525 }
526
527 #ifdef CONFIG_OF
528 wakeup_source = of_property_read_bool(client->dev.of_node, "wakeup-source");
529 #endif
530 if (client->irq > 0 || wakeup_source)
531 device_init_wakeup(&client->dev, true);
532
> 533 return rtc_register_device(rtc);
534 }
535
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months
[nomadik:ixp4 3/14] include/linux/compiler_types.h:320:38: error: call to '__compiletime_assert_370' declared with attribute error: BUILD_BUG_ON failed: sizeof(struct crypt_ctl) != 64
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git ixp4
head: e0bf0c1bc94b9100d85ace594fd1f0fb0024dbf2
commit: 3d583e289034b689125b10efb2f82c05ab93c507 [3/14] crypto: ixp4xx: convert to platform driver
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/linusw/linux-nomadik.git/...
git remote add nomadik https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git
git fetch --no-tags nomadik ixp4
git checkout 3d583e289034b689125b10efb2f82c05ab93c507
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 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 <command-line>:
In function 'setup_crypt_desc',
inlined from 'get_crypt_desc' at drivers/crypto/ixp4xx_crypto.c:276:3:
>> include/linux/compiler_types.h:320:38: error: call to '__compiletime_assert_370' declared with attribute error: BUILD_BUG_ON failed: sizeof(struct crypt_ctl) != 64
320 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^
include/linux/compiler_types.h:301:4: note: in definition of macro '__compiletime_assert'
301 | prefix ## suffix(); \
| ^~~~~~
include/linux/compiler_types.h:320:2: note: in expansion of macro '_compiletime_assert'
320 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
| ^~~~~~~~~~~~~~~~
drivers/crypto/ixp4xx_crypto.c:257:2: note: in expansion of macro 'BUILD_BUG_ON'
257 | BUILD_BUG_ON(sizeof(struct crypt_ctl) != 64);
| ^~~~~~~~~~~~
vim +/__compiletime_assert_370 +320 include/linux/compiler_types.h
eb5c2d4b45e3d2 Will Deacon 2020-07-21 306
eb5c2d4b45e3d2 Will Deacon 2020-07-21 307 #define _compiletime_assert(condition, msg, prefix, suffix) \
eb5c2d4b45e3d2 Will Deacon 2020-07-21 308 __compiletime_assert(condition, msg, prefix, suffix)
eb5c2d4b45e3d2 Will Deacon 2020-07-21 309
eb5c2d4b45e3d2 Will Deacon 2020-07-21 310 /**
eb5c2d4b45e3d2 Will Deacon 2020-07-21 311 * compiletime_assert - break build and emit msg if condition is false
eb5c2d4b45e3d2 Will Deacon 2020-07-21 312 * @condition: a compile-time constant condition to check
eb5c2d4b45e3d2 Will Deacon 2020-07-21 313 * @msg: a message to emit if condition is false
eb5c2d4b45e3d2 Will Deacon 2020-07-21 314 *
eb5c2d4b45e3d2 Will Deacon 2020-07-21 315 * In tradition of POSIX assert, this macro will break the build if the
eb5c2d4b45e3d2 Will Deacon 2020-07-21 316 * supplied condition is *false*, emitting the supplied error message if the
eb5c2d4b45e3d2 Will Deacon 2020-07-21 317 * compiler has support to do so.
eb5c2d4b45e3d2 Will Deacon 2020-07-21 318 */
eb5c2d4b45e3d2 Will Deacon 2020-07-21 319 #define compiletime_assert(condition, msg) \
eb5c2d4b45e3d2 Will Deacon 2020-07-21 @320 _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
eb5c2d4b45e3d2 Will Deacon 2020-07-21 321
:::::: The code at line 320 was first introduced by commit
:::::: eb5c2d4b45e3d2d5d052ea6b8f1463976b1020d5 compiler.h: Move compiletime_assert() macros into compiler_types.h
:::::: TO: Will Deacon <will(a)kernel.org>
:::::: CC: Will Deacon <will(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 5 months