[plbossart-sound:merge/sound-upstream-20200615 2676/2680] sound/soc/intel/boards/kbl_rt5660.c:219:31: error: extraneous ')' before ';'
by kernel test robot
tree: https://github.com/plbossart/sound merge/sound-upstream-20200615
head: 6f9338db80a09afdde783b9a065af055c6cf9f53
commit: f293c4046b4d03818ae3e0d2967e33902d4bd131 [2676/2680] ASoC: Intel: kbl-rt5660: use .exit() dailink callback to release gpiod
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 3d8149c2a1228609fd7d7c91a04681304a2f0ca9)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout f293c4046b4d03818ae3e0d2967e33902d4bd131
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
>> sound/soc/intel/boards/kbl_rt5660.c:219:31: error: extraneous ')' before ';'
gpiod_put(ctx->gpio_lo_mute));
^
1 error generated.
vim +219 sound/soc/intel/boards/kbl_rt5660.c
209
210 static void kabylake_rt5660_codec_exit(struct snd_soc_pcm_runtime *rtd)
211 {
212 struct kbl_codec_private *ctx = snd_soc_card_get_drvdata(rtd->card);
213
214 /*
215 * The .exit() can be reached without going through the .init()
216 * so explicitly test if the gpiod is valid
217 */
218 if (!IS_ERR_OR_NULL(ctx->gpio_lo_mute))
> 219 gpiod_put(ctx->gpio_lo_mute));
220 }
221
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
[peterz-queue:x86/fpu 4/7] arch/x86/mm/fault.o: warning: objtool: elf_update: update() for write on read-only file
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/fpu
head: a383f5c718e5d50c20aaa2b3f77b64afc54a359f
commit: 36718d9a4723cb24ffc3fd32928cda5221110482 [4/7] objtool: Fix noinstr vs KCOV
config: x86_64-randconfig-m001-20200615 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
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 >>, old ones prefixed by <<):
>> arch/x86/mm/fault.o: warning: objtool: elf_update: update() for write on read-only file
--
>> kernel/context_tracking.o: warning: objtool: elf_update: update() for write on read-only file
--
>> kernel/printk/printk_safe.o: warning: objtool: elf_update: update() for write on read-only file
--
>> kernel/time/timekeeping.o: warning: objtool: elf_update: update() for write on read-only file
--
>> lib/debug_locks.o: warning: objtool: elf_update: update() for write on read-only file
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
[linux-devel:devel-catchup-202006160326 1/1] sound/soc/intel/boards/kbl_rt5660.c:219:31: error: expected ';' before ')' token
by kernel test robot
tree: https://github.com/thesofproject/linux devel-catchup-202006160326
head: 9a046a93f4f339e913337c320eb1fcb58b76c866
commit: 6f9338db80a09afdde783b9a065af055c6cf9f53 [1/1] Merge branch 'sound/upstream-20200615' into merge/sound-upstream-20200615
config: ia64-allyesconfig (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
git checkout 6f9338db80a09afdde783b9a065af055c6cf9f53
# 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 >>, old ones prefixed by <<):
sound/soc/intel/boards/kbl_rt5660.c: In function 'kabylake_rt5660_codec_exit':
>> sound/soc/intel/boards/kbl_rt5660.c:219:31: error: expected ';' before ')' token
219 | gpiod_put(ctx->gpio_lo_mute));
| ^
| ;
sound/soc/intel/boards/kbl_rt5660.c:218:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
218 | if (!IS_ERR_OR_NULL(ctx->gpio_lo_mute))
| ^~
sound/soc/intel/boards/kbl_rt5660.c:219:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
219 | gpiod_put(ctx->gpio_lo_mute));
| ^
>> sound/soc/intel/boards/kbl_rt5660.c:219:31: error: expected statement before ')' token
vim +219 sound/soc/intel/boards/kbl_rt5660.c
8625db9416923b Hui Wang 2018-12-13 209
f293c4046b4d03 Pierre-Louis Bossart 2020-03-04 210 static void kabylake_rt5660_codec_exit(struct snd_soc_pcm_runtime *rtd)
f293c4046b4d03 Pierre-Louis Bossart 2020-03-04 211 {
f293c4046b4d03 Pierre-Louis Bossart 2020-03-04 212 struct kbl_codec_private *ctx = snd_soc_card_get_drvdata(rtd->card);
f293c4046b4d03 Pierre-Louis Bossart 2020-03-04 213
f293c4046b4d03 Pierre-Louis Bossart 2020-03-04 214 /*
f293c4046b4d03 Pierre-Louis Bossart 2020-03-04 215 * The .exit() can be reached without going through the .init()
f293c4046b4d03 Pierre-Louis Bossart 2020-03-04 216 * so explicitly test if the gpiod is valid
f293c4046b4d03 Pierre-Louis Bossart 2020-03-04 217 */
f293c4046b4d03 Pierre-Louis Bossart 2020-03-04 218 if (!IS_ERR_OR_NULL(ctx->gpio_lo_mute))
f293c4046b4d03 Pierre-Louis Bossart 2020-03-04 @219 gpiod_put(ctx->gpio_lo_mute));
f293c4046b4d03 Pierre-Louis Bossart 2020-03-04 220 }
f293c4046b4d03 Pierre-Louis Bossart 2020-03-04 221
:::::: The code at line 219 was first introduced by commit
:::::: f293c4046b4d03818ae3e0d2967e33902d4bd131 ASoC: Intel: kbl-rt5660: use .exit() dailink callback to release gpiod
:::::: TO: Pierre-Louis Bossart <pierre-louis.bossart(a)linux.intel.com>
:::::: CC: Pierre-Louis Bossart <pierre-louis.bossart(a)linux.intel.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
[android-common:android-4.19-stable 1/3] include/linux/extcon.h:316:19: error: a parameter list without types is only allowed in a function definition
by kernel test robot
tree: https://android.googlesource.com/kernel/common android-4.19-stable
head: d8a2d7d9141fa875f4ce185507764d58ba4437ed
commit: 3d88b138f0cbafac10e4eaec4c5377827fe7bd8b [1/3] ANDROID: extcon: Export symbol of `extcon_get_edev_name`
config: x86_64-defconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 3d8149c2a1228609fd7d7c91a04681304a2f0ca9)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout 3d88b138f0cbafac10e4eaec4c5377827fe7bd8b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>, old ones prefixed by <<):
In file included from drivers/usb/common/common.c:15:
In file included from include/linux/usb/of.h:12:
In file included from include/linux/usb/otg.h:14:
In file included from include/linux/usb/phy.h:13:
>> include/linux/extcon.h:316:1: warning: declaration specifier missing, defaulting to 'int'
EXPORT_SYMBOL_GPU(extcon_get_edev_name);
^
int
>> include/linux/extcon.h:316:19: error: a parameter list without types is only allowed in a function definition
EXPORT_SYMBOL_GPU(extcon_get_edev_name);
^
1 warning and 1 error generated.
vim +316 include/linux/extcon.h
311
312 static inline const char *extcon_get_edev_name(struct extcon_dev *edev)
313 {
314 return NULL;
315 }
> 316 EXPORT_SYMBOL_GPU(extcon_get_edev_name);
317
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
Re: [PATCH v3 1/3] net: phy: mscc: move shared probe code into a helper
by kernel test robot
Hi Heiko,
I love your patch! Perhaps something to improve:
[auto build test WARNING on net-next/master]
[also build test WARNING on sparc-next/master net/master linus/master v5.8-rc1 next-20200615]
[cannot apply to robh/for-next]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Heiko-Stuebner/net-phy-mscc-move...
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git cb8e59cc87201af93dfbb6c3dccc8fcad72a09c2
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 3d8149c2a1228609fd7d7c91a04681304a2f0ca9)
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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> drivers/net/phy/mscc/mscc_main.c:2002:10: warning: variable 'vsc8531' is uninitialized when used here [-Wuninitialized]
vsc8531->base_addr, 0);
^~~~~~~
drivers/net/phy/mscc/mscc_main.c:1986:33: note: initialize the variable 'vsc8531' to silence this warning
struct vsc8531_private *vsc8531;
^
= NULL
1 warning generated.
vim +/vsc8531 +2002 drivers/net/phy/mscc/mscc_main.c
1983
1984 static int vsc8574_probe(struct phy_device *phydev)
1985 {
1986 struct vsc8531_private *vsc8531;
1987 int rc;
1988 u32 default_mode[4] = {VSC8531_LINK_1000_ACTIVITY,
1989 VSC8531_LINK_100_ACTIVITY, VSC8531_LINK_ACTIVITY,
1990 VSC8531_DUPLEX_COLLISION};
1991
1992 rc = vsc85xx_probe_helper(phydev, default_mode,
1993 ARRAY_SIZE(default_mode),
1994 VSC8584_SUPP_LED_MODES,
1995 vsc8584_hw_stats,
1996 ARRAY_SIZE(vsc8584_hw_stats));
1997 if (rc < 0)
1998 return rc;
1999
2000 vsc8584_get_base_addr(phydev);
2001 return devm_phy_package_join(&phydev->mdio.dev, phydev,
> 2002 vsc8531->base_addr, 0);
2003 }
2004
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
Re: [RFC PATCH 2/3] futex, sched: add wake_up_swap, use in FUTEX_SWAP
by kernel test robot
Hi Peter,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on tip/locking/core]
[cannot apply to tip/sched/core kselftest/next tip/auto-latest v5.8-rc1 next-20200615]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Peter-Oskolkov/futex-sched-intro...
base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 19f545b6e07f753c4dc639c2f0ab52345733b6a8
config: nds32-defconfig (attached as .config)
compiler: nds32le-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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nds32
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 >>, old ones prefixed by <<):
nds32le-linux-ld: kernel/futex.o: in function `futex_wait_queue_me':
>> futex.c:(.text+0xf9c): undefined reference to `wake_up_process_prefer_current_cpu'
>> nds32le-linux-ld: futex.c:(.text+0xfa0): undefined reference to `wake_up_process_prefer_current_cpu'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
Re: [PATCH v8 4/4] gpio: xilinx: Utilize for_each_set_clump macro
by kernel test robot
Hi Syed,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on 444fc5cde64330661bf59944c43844e7d4c2ccd8]
url: https://github.com/0day-ci/linux/commits/Syed-Nayyar-Waris/Introduce-the-...
base: 444fc5cde64330661bf59944c43844e7d4c2ccd8
config: sparc64-randconfig-s032-20200615 (attached as .config)
compiler: sparc64-linux-gcc (GCC) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.2-rc1-3-g55607964-dirty
# save the attached .config to linux build tree
make W=1 C=1 ARCH=sparc64 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
>> include/linux/bitmap.h:639:45: sparse: sparse: shift too big (64) for type unsigned long
>> include/linux/bitmap.h:639:45: sparse: sparse: shift too big (64) for type unsigned long
include/linux/bitmap.h:594:63: sparse: sparse: shift too big (64) for type unsigned long
>> include/linux/bitmap.h:639:45: sparse: sparse: shift too big (64) for type unsigned long
>> include/linux/bitmap.h:638:17: sparse: sparse: invalid access past the end of 'old' (8 8)
vim +639 include/linux/bitmap.h
169c474fb22d8a William Breathitt Gray 2019-12-04 613
803024b6c8a375 Syed Nayyar Waris 2020-06-15 614 /**
803024b6c8a375 Syed Nayyar Waris 2020-06-15 615 * bitmap_set_value - set n-bit value within a memory region
803024b6c8a375 Syed Nayyar Waris 2020-06-15 616 * @map: address to the bitmap memory region
803024b6c8a375 Syed Nayyar Waris 2020-06-15 617 * @value: value of nbits
803024b6c8a375 Syed Nayyar Waris 2020-06-15 618 * @start: bit offset of the n-bit value
803024b6c8a375 Syed Nayyar Waris 2020-06-15 619 * @nbits: size of value in bits
803024b6c8a375 Syed Nayyar Waris 2020-06-15 620 */
803024b6c8a375 Syed Nayyar Waris 2020-06-15 621 static inline void bitmap_set_value(unsigned long *map,
803024b6c8a375 Syed Nayyar Waris 2020-06-15 622 unsigned long value,
803024b6c8a375 Syed Nayyar Waris 2020-06-15 623 unsigned long start, unsigned long nbits)
803024b6c8a375 Syed Nayyar Waris 2020-06-15 624 {
803024b6c8a375 Syed Nayyar Waris 2020-06-15 625 const size_t index = BIT_WORD(start);
803024b6c8a375 Syed Nayyar Waris 2020-06-15 626 const unsigned long offset = start % BITS_PER_LONG;
803024b6c8a375 Syed Nayyar Waris 2020-06-15 627 const unsigned long ceiling = roundup(start + 1, BITS_PER_LONG);
803024b6c8a375 Syed Nayyar Waris 2020-06-15 628 const unsigned long space = ceiling - start;
803024b6c8a375 Syed Nayyar Waris 2020-06-15 629
803024b6c8a375 Syed Nayyar Waris 2020-06-15 630 value &= GENMASK(nbits - 1, 0);
803024b6c8a375 Syed Nayyar Waris 2020-06-15 631
803024b6c8a375 Syed Nayyar Waris 2020-06-15 632 if (space >= nbits) {
803024b6c8a375 Syed Nayyar Waris 2020-06-15 633 map[index] &= ~(GENMASK(nbits + offset - 1, offset));
803024b6c8a375 Syed Nayyar Waris 2020-06-15 634 map[index] |= value << offset;
803024b6c8a375 Syed Nayyar Waris 2020-06-15 635 } else {
803024b6c8a375 Syed Nayyar Waris 2020-06-15 636 map[index] &= ~BITMAP_FIRST_WORD_MASK(start);
803024b6c8a375 Syed Nayyar Waris 2020-06-15 637 map[index] |= value << offset;
803024b6c8a375 Syed Nayyar Waris 2020-06-15 @638 map[index + 1] &= ~BITMAP_LAST_WORD_MASK(start + nbits);
803024b6c8a375 Syed Nayyar Waris 2020-06-15 @639 map[index + 1] |= (value >> space);
803024b6c8a375 Syed Nayyar Waris 2020-06-15 640 }
803024b6c8a375 Syed Nayyar Waris 2020-06-15 641 }
803024b6c8a375 Syed Nayyar Waris 2020-06-15 642
:::::: The code at line 639 was first introduced by commit
:::::: 803024b6c8a375ba9e9e9467595d7d52d4f6a38e bitops: Introduce the for_each_set_clump macro
:::::: TO: Syed Nayyar Waris <syednwaris(a)gmail.com>
:::::: CC: 0day robot <lkp(a)intel.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
[android-common:android-4.19-stable 1/3] include/linux/extcon.h:316:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPU'
by kernel test robot
tree: https://android.googlesource.com/kernel/common android-4.19-stable
head: d8a2d7d9141fa875f4ce185507764d58ba4437ed
commit: 3d88b138f0cbafac10e4eaec4c5377827fe7bd8b [1/3] ANDROID: extcon: Export symbol of `extcon_get_edev_name`
config: arm-cns3420vb_defconfig (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
git checkout 3d88b138f0cbafac10e4eaec4c5377827fe7bd8b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>, old ones prefixed by <<):
In file included from include/linux/usb/phy.h:13,
from include/linux/usb/otg.h:14,
from include/linux/usb/of.h:12,
from drivers/usb/phy/of.c:9:
>> include/linux/extcon.h:316:1: warning: data definition has no type or storage class
316 | EXPORT_SYMBOL_GPU(extcon_get_edev_name);
| ^~~~~~~~~~~~~~~~~
>> include/linux/extcon.h:316:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPU' [-Werror=implicit-int]
>> include/linux/extcon.h:316:1: warning: parameter names (without types) in function declaration
cc1: some warnings being treated as errors
vim +316 include/linux/extcon.h
311
312 static inline const char *extcon_get_edev_name(struct extcon_dev *edev)
313 {
314 return NULL;
315 }
> 316 EXPORT_SYMBOL_GPU(extcon_get_edev_name);
317
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
[peterz-queue:sched/urgent 7/7] arch/mips/kernel/process.c:690:69: error: use of undeclared identifier 'handle_backtrace'; did you mean
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/urgent
head: 0602ec6c74e25dcb8a43961b00eef168fafb8e5e
commit: 0602ec6c74e25dcb8a43961b00eef168fafb8e5e [7/7] smp: Cleanup smp_call_function*()
config: mips-randconfig-r026-20200615 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 3d8149c2a1228609fd7d7c91a04681304a2f0ca9)
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
git checkout 0602ec6c74e25dcb8a43961b00eef168fafb8e5e
# 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 errors (new ones prefixed by >>, old ones prefixed by <<):
arch/mips/kernel/process.c:96:5: warning: no previous prototype for function 'arch_dup_task_struct' [-Wmissing-prototypes]
int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src)
^
arch/mips/kernel/process.c:96:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src)
^
static
arch/mips/kernel/process.c:682:15: warning: no previous prototype for function 'arch_align_stack' [-Wmissing-prototypes]
unsigned long arch_align_stack(unsigned long sp)
^
arch/mips/kernel/process.c:682:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
unsigned long arch_align_stack(unsigned long sp)
^
static
>> arch/mips/kernel/process.c:690:69: error: use of undeclared identifier 'handle_backtrace'; did you mean 'sprint_backtrace'?
static DEFINE_PER_CPU(call_single_data_t, backtrace_csd) = CSD_INIT(handle_backtrace, NULL);
^~~~~~~~~~~~~~~~
sprint_backtrace
include/linux/smp.h:30:40: note: expanded from macro 'CSD_INIT'
(struct __call_single_data){ .func = (_func), .info = (_info), }
^
include/linux/kallsyms.h:95:12: note: 'sprint_backtrace' declared here
extern int sprint_backtrace(char *buffer, unsigned long address);
^
>> arch/mips/kernel/process.c:690:60: error: incompatible function pointer types initializing 'smp_call_func_t' (aka 'void (*)(void *)') with an expression of type 'int (char *, unsigned long)' [-Werror,-Wincompatible-function-pointer-types]
static DEFINE_PER_CPU(call_single_data_t, backtrace_csd) = CSD_INIT(handle_backtrace, NULL);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/smp.h:30:39: note: expanded from macro 'CSD_INIT'
(struct __call_single_data){ .func = (_func), .info = (_info), }
^~~~~~~
2 warnings and 2 errors generated.
vim +690 arch/mips/kernel/process.c
677
678 /*
679 * Don't forget that the stack pointer must be aligned on a 8 bytes
680 * boundary for 32-bits ABI and 16 bytes for 64-bits ABI.
681 */
> 682 unsigned long arch_align_stack(unsigned long sp)
683 {
684 if (!(current->personality & ADDR_NO_RANDOMIZE) && randomize_va_space)
685 sp -= get_random_int() & ~PAGE_MASK;
686
687 return sp & ALMASK;
688 }
689
> 690 static DEFINE_PER_CPU(call_single_data_t, backtrace_csd) = CSD_INIT(handle_backtrace, NULL);
691 static struct cpumask backtrace_csd_busy;
692
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
[peterz-queue:modules/WIP 23/24] undefined reference to `ftrace_module_release'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git modules/WIP
head: d88189bbcb34495cba45b775e321eab6f770c6f3
commit: ef2573d9a6bc94c49ab2fe3bcb2ddba37fcbbddc [23/24] ftrace: Merge ftrace_module_{init,enable}()
config: parisc-allyesconfig (attached as .config)
compiler: hppa-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
git checkout ef2573d9a6bc94c49ab2fe3bcb2ddba37fcbbddc
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc
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 >>, old ones prefixed by <<):
hppa-linux-ld: kernel/module.o: in function `__se_sys_delete_module':
>> (.text+0x4c18): undefined reference to `ftrace_module_release'
hppa-linux-ld: kernel/module.o: in function `do_init_module':
(.text+0x4f18): undefined reference to `ftrace_module_release'
hppa-linux-ld: kernel/module.o: in function `load_module':
(.text+0x701c): undefined reference to `ftrace_module_release'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months