tree:
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
sched/wip-freezer
head: 9ddb4cc740408e85babad7482f50e1b4d2490759
commit: 83d18804b7330928d3176cd76939cf558581e092 [1/3] freezer: Have
{,un}lock_system_sleep() save/restore flags
config: x86_64-randconfig-a004-20210614 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
64720f57bea6a6bf033feef4a5751ab9c0c3b401)
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://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?...
git remote add peterz-queue
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue sched/wip-freezer
git checkout 83d18804b7330928d3176cd76939cf558581e092
# 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 >>):
In file included from arch/x86/kernel/asm-offsets.c:13:
> include/linux/suspend.h:546:52: warning: omitting the parameter
name in a function definition is a C2x extension [-Wc2x-extensions]
static inline
void unlock_system_sleep(unsigned int) {}
^
1 warning generated.
--
In file included from drivers/usb/misc/usb251xb.c:20:
In file included from include/linux/regulator/consumer.h:35:
> include/linux/suspend.h:546:52: warning: omitting the parameter
name in a function definition is a C2x extension [-Wc2x-extensions]
static inline
void unlock_system_sleep(unsigned int) {}
^
drivers/usb/misc/usb251xb.c:159:35: warning: unused variable 'usb2422_data'
[-Wunused-const-variable]
static const struct usb251xb_data usb2422_data = {
^
drivers/usb/misc/usb251xb.c:167:35: warning: unused variable 'usb2512b_data'
[-Wunused-const-variable]
static const struct usb251xb_data usb2512b_data = {
^
drivers/usb/misc/usb251xb.c:175:35: warning: unused variable 'usb2512bi_data'
[-Wunused-const-variable]
static const struct usb251xb_data usb2512bi_data = {
^
drivers/usb/misc/usb251xb.c:183:35: warning: unused variable 'usb2513b_data'
[-Wunused-const-variable]
static const struct usb251xb_data usb2513b_data = {
^
drivers/usb/misc/usb251xb.c:191:35: warning: unused variable 'usb2513bi_data'
[-Wunused-const-variable]
static const struct usb251xb_data usb2513bi_data = {
^
drivers/usb/misc/usb251xb.c:199:35: warning: unused variable 'usb2514b_data'
[-Wunused-const-variable]
static const struct usb251xb_data usb2514b_data = {
^
drivers/usb/misc/usb251xb.c:207:35: warning: unused variable 'usb2514bi_data'
[-Wunused-const-variable]
static const struct usb251xb_data usb2514bi_data = {
^
drivers/usb/misc/usb251xb.c:215:35: warning: unused variable 'usb2517_data'
[-Wunused-const-variable]
static const struct usb251xb_data usb2517_data = {
^
drivers/usb/misc/usb251xb.c:223:35: warning: unused variable 'usb2517i_data'
[-Wunused-const-variable]
static const struct usb251xb_data usb2517i_data = {
^
10 warnings generated.
--
In file included from arch/x86/kernel/asm-offsets.c:13:
> include/linux/suspend.h:546:52: warning: omitting the parameter
name in a function definition is a C2x extension [-Wc2x-extensions]
static inline
void unlock_system_sleep(unsigned int) {}
^
1 warning generated.
vim +546 include/linux/suspend.h
544
545 static inline unsigned int lock_system_sleep(void) { return 0; }
546 static inline void unlock_system_sleep(unsigned int) {}
547
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org