Public bug reported:

ubuntu_kernel_selftests:seccomp_build test fails for amd64 due to compiletion 
issues:
    
  seccomp_bpf.c: In function ‘UPROBE_setup’:
  seccomp_bpf.c:5175:74: error: pointer type mismatch in conditional expression 
[-Wincompatible-pointer-types]
  5175 | offset = get_uprobe_offset(variant->uretprobe ? probed_uretprobe : 
probed_uprobe);
  | ^
  seccomp_bpf.c:5175:57: note: first expression has type ‘int (*)(void)’
  5175 | offset = get_uprobe_offset(variant->uretprobe ? probed_uretprobe : 
probed_uprobe);
  | ^~~~~~~~~~~~~~~~
  seccomp_bpf.c:5175:76: note: second expression has type ‘int 
(__attribute__((nocf_check)) *)(void)’
  5175 | offset = get_uprobe_offset(variant->uretprobe ? probed_uretprobe : 
probed_uprobe);
  | ^~~~~~~~~~~~~
    
get_uprobe_offset() implicity casts functions pointers to (void *), make it 
explicit to resolve the issue.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu Resolute)
     Importance: Undecided
         Status: New

** Also affects: linux (Ubuntu Resolute)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2154174

Title:
  resolute ubuntu_kernel_selftests:seccomp_build test compilation issue

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2154174/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to