lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 28 Mar 2022 19:40:47 +0200
From:   Helge Deller <deller@....de>
To:     kernel test robot <lkp@...el.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: Re: [deller-parisc:for-next 11/14] kernel/irq/cpuhotplug.c:155:6:
 warning: no previous prototype for 'irq_migrate_all_off_this_cpu'

On 3/28/22 18:50, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git for-next
> head:   d2d1f1e2e989e1f0369d6c991fec7cd3843979a3
> commit: 1d02434051997d499ed9b4fe29fb2992f93f5345 [11/14] parisc: Implement __cpu_die() and __cpu_disable() for CPU hotplugging
> config: parisc-randconfig-r004-20220327 (https://download.01.org/0day-ci/archive/20220329/202203290038.b6TKcGbv-lkp@intel.com/config)
> compiler: hppa64-linux-gcc (GCC) 11.2.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/deller/parisc-linux.git/commit/?id=1d02434051997d499ed9b4fe29fb2992f93f5345
>         git remote add deller-parisc https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git
>         git fetch --no-tags deller-parisc for-next
>         git checkout 1d02434051997d499ed9b4fe29fb2992f93f5345
>         # save the config file to linux build tree
>         mkdir build_dir
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=parisc64 SHELL=/bin/bash kernel/irq/
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@...el.com>
>
> All error/warnings (new ones prefixed by >>):
>
>>> kernel/irq/cpuhotplug.c:155:6: warning: no previous prototype for 'irq_migrate_all_off_this_cpu' [-Wmissing-prototypes]
>      155 | void irq_migrate_all_off_this_cpu(void)
>          |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
>    In file included from include/uapi/linux/posix_types.h:5,
>                     from include/uapi/linux/types.h:14,
>                     from include/linux/types.h:6,
>                     from include/linux/limits.h:6,
>                     from include/linux/kernel.h:16,
>                     from include/linux/interrupt.h:6,
>                     from kernel/irq/cpuhotplug.c:12:
>>> include/linux/stddef.h:8:16: error: expected identifier or '(' before 'void'
>        8 | #define NULL ((void *)0)
>          |                ^~~~
>    include/linux/irq.h:620:41: note: in expansion of macro 'NULL'
>      620 | # define irq_affinity_online_cpu        NULL
>          |                                         ^~~~
>    kernel/irq/cpuhotplug.c:218:5: note: in expansion of macro 'irq_affinity_online_cpu'
>      218 | int irq_affinity_online_cpu(unsigned int cpu)

fixed.
Thanks!
Helge

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ