lkml.org 
[lkml]   [2023]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: arch/parisc/net/bpf_jit_comp32.c:321:13: sparse: sparse: missing identifier in declaration
From
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@intel.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

\
 
 \ /
  Last update: 2023-11-20 14:02    [W:0.037 / U:0.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site