[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202007171127.tGgvn09G%lkp@intel.com>
Date: Fri, 17 Jul 2020 11:18:30 +0800
From: kernel test robot <lkp@...el.com>
To: Mark Brown <broonie@...nel.org>
Cc: kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
linux-kernel@...r.kernel.org, Will Deacon <will@...nel.org>,
Catalin Marinas <catalin.marinas@....com>
Subject: warning: some functions compiled with BTI and some compiled without
BTI
Hi Mark,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 07a56bb875afbe39dabbf6ba7b83783d166863db
commit: 97fed779f2a68937d9590fbbe8ed31d6ebbce5a5 arm64: bti: Provide Kconfig for kernel mode BTI
date: 2 months ago
config: arm64-randconfig-r021-20200717 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project ed6b578040a85977026c93bf4188f996148f3218)
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
git checkout 97fed779f2a68937d9590fbbe8ed31d6ebbce5a5
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> warning: some functions compiled with BTI and some compiled without BTI
>> warning: not setting BTI in feature flags
--
drivers/power/supply/ltc2941-battery-gauge.c:476:13: warning: cast to smaller integer type 'enum ltc294x_id' from 'const void *' [-Wvoid-pointer-to-enum-cast]
info->id = (enum ltc294x_id)of_device_get_match_data(&client->dev);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> warning: some functions compiled with BTI and some compiled without BTI
>> warning: not setting BTI in feature flags
1 warning generated.
--
drivers/power/supply/rt9455_charger.c:201:18: warning: unused variable 'rt9455_boost_voltage_values' [-Wunused-const-variable]
static const int rt9455_boost_voltage_values[] = {
^
drivers/power/supply/rt9455_charger.c:1734:36: warning: unused variable 'rt9455_i2c_acpi_match' [-Wunused-const-variable]
static const struct acpi_device_id rt9455_i2c_acpi_match[] = {
^
>> warning: some functions compiled with BTI and some compiled without BTI
>> warning: not setting BTI in feature flags
2 warnings generated.
--
drivers/power/supply/bq24257_charger.c:1155:36: warning: unused variable 'bq24257_acpi_match' [-Wunused-const-variable]
static const struct acpi_device_id bq24257_acpi_match[] = {
^
>> warning: some functions compiled with BTI and some compiled without BTI
>> warning: not setting BTI in feature flags
1 warning generated.
--
drivers/power/supply/bq25890_charger.c:1060:36: warning: unused variable 'bq25890_acpi_match' [-Wunused-const-variable]
static const struct acpi_device_id bq25890_acpi_match[] = {
^
>> warning: some functions compiled with BTI and some compiled without BTI
>> warning: not setting BTI in feature flags
1 warning generated.
--
drivers/power/reset/vexpress-poweroff.c:124:10: warning: cast to smaller integer type 'enum vexpress_reset_func' from 'const void *' [-Wvoid-pointer-to-enum-cast]
switch ((enum vexpress_reset_func)match->data) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> warning: some functions compiled with BTI and some compiled without BTI
>> warning: not setting BTI in feature flags
1 warning generated.
--
>> warning: some functions compiled with BTI and some compiled without BTI
>> warning: not setting BTI in feature flags
>> warning: some functions compiled with BTI and some compiled without BTI
>> warning: not setting BTI in feature flags
>> warning: some functions compiled with BTI and some compiled without BTI
>> warning: not setting BTI in feature flags
arch/arm64/kernel/vdso/vgettimeofday.c:9:5: warning: no previous prototype for function '__kernel_clock_gettime' [-Wmissing-prototypes]
int __kernel_clock_gettime(clockid_t clock,
^
arch/arm64/kernel/vdso/vgettimeofday.c:9:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int __kernel_clock_gettime(clockid_t clock,
^
static
arch/arm64/kernel/vdso/vgettimeofday.c:15:5: warning: no previous prototype for function '__kernel_gettimeofday' [-Wmissing-prototypes]
int __kernel_gettimeofday(struct __kernel_old_timeval *tv,
^
arch/arm64/kernel/vdso/vgettimeofday.c:15:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int __kernel_gettimeofday(struct __kernel_old_timeval *tv,
^
static
arch/arm64/kernel/vdso/vgettimeofday.c:21:5: warning: no previous prototype for function '__kernel_clock_getres' [-Wmissing-prototypes]
int __kernel_clock_getres(clockid_t clock_id,
^
arch/arm64/kernel/vdso/vgettimeofday.c:21:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int __kernel_clock_getres(clockid_t clock_id,
^
static
3 warnings generated.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (31740 bytes)
Powered by blists - more mailing lists