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]
Message-ID: <a13df827-cd2c-481f-87ed-719936b96c41@gmx.de>
Date:   Fri, 17 Nov 2023 14:16:00 +0100
From:   Helge Deller <deller@....de>
To:     kernel test robot <lkp@...el.com>
Cc:     oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: arch/parisc/net/bpf_jit_comp32.c:321:13: sparse: sparse: missing
 identifier in declaration

On 11/17/23 14:07, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   7475e51b87969e01a6812eac713a1c8310372e8a
> commit: 4800a6215e335c6dade05e10c8fdbf919c04a3a7 parisc: Wire up eBPF JIT compiler
> date:   3 months ago
> config: parisc-randconfig-r113-20231115 (https://download.01.org/0day-ci/archive/20231117/202311172127.5PEz8XzL-lkp@intel.com/config)
> compiler: hppa-linux-gcc (GCC) 13.2.0
> reproduce: (https://download.01.org/0day-ci/archive/20231117/202311172127.5PEz8XzL-lkp@intel.com/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@...el.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202311172127.5PEz8XzL-lkp@intel.com/
>
> sparse warnings: (new ones prefixed by >>)
>>> arch/parisc/net/bpf_jit_comp32.c:321:13: sparse: sparse: missing identifier in declaration
>     arch/parisc/net/bpf_jit_comp32.c:321:13: sparse: sparse: Expected ; at the end of type declaration
>     arch/parisc/net/bpf_jit_comp32.c:321:13: sparse: sparse: got $
>     arch/parisc/net/bpf_jit_comp32.c:322:13: sparse: sparse: Expected ; at the end of type declaration
>     arch/parisc/net/bpf_jit_comp32.c:322:13: sparse: sparse: got $
>     arch/parisc/net/bpf_jit_comp32.c:323:13: sparse: sparse: Expected ; at the end of type declaration
>     arch/parisc/net/bpf_jit_comp32.c:323:13: sparse: sparse: got $
>     arch/parisc/net/bpf_jit_comp32.c:666:37: sparse: sparse: Expected ) in function call
>     arch/parisc/net/bpf_jit_comp32.c:666:37: sparse: sparse: got $
>     arch/parisc/net/bpf_jit_comp32.c:669:37: sparse: sparse: Expected ) in function call
>     arch/parisc/net/bpf_jit_comp32.c:669:37: sparse: sparse: got $
>     arch/parisc/net/bpf_jit_comp32.c:672:37: sparse: sparse: Expected ) in function call
>     arch/parisc/net/bpf_jit_comp32.c:672:37: sparse: sparse: got $
>>> arch/parisc/net/bpf_jit_comp32.c:666:36: sparse: sparse: not enough arguments for function emit_call_millicode
>     arch/parisc/net/bpf_jit_comp32.c:669:36: sparse: sparse: not enough arguments for function emit_call_millicode
>     arch/parisc/net/bpf_jit_comp32.c:672:36: sparse: sparse: not enough arguments for function emit_call_millicode
>
> vim +321 arch/parisc/net/bpf_jit_comp32.c
>
> ceb0e7267693d3 Helge Deller 2023-08-17  319
> ceb0e7267693d3 Helge Deller 2023-08-17  320  /* extern hppa millicode functions */
> ceb0e7267693d3 Helge Deller 2023-08-17 @321  extern void $$mulI(void);
> ceb0e7267693d3 Helge Deller 2023-08-17  322  extern void $$divU(void);
> ceb0e7267693d3 Helge Deller 2023-08-17  323  extern void $$remU(void);

This is actually a sparse bug.... "$" is a valid character with which function
names may start with (at least on parisc).

Helge

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ