Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #377928 > unrolled thread

Bug#1089488: Error is actually: passing argument 1 of ‘dequeue_signal’ from incompatible pointer type

Started bySteven Robbins <steve@sumost.ca>
First post2024-12-08 22:10 +0100
Last post2024-12-08 22:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.debian.bugs.rc

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#1089488: Error is actually: passing argument 1 of ‘dequeue_signal’ from incompatible pointer type Steven Robbins <steve@sumost.ca> - 2024-12-08 22:10 +0100

#377928 — Bug#1089488: Error is actually: passing argument 1 of ‘dequeue_signal’ from incompatible pointer type

FromSteven Robbins <steve@sumost.ca>
Date2024-12-08 22:10 +0100
SubjectBug#1089488: Error is actually: passing argument 1 of ‘dequeue_signal’ from incompatible pointer type
Message-ID<JRwHn-eYRd-3@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

On Saturday, December 7, 2024 3:44:43 P.M. CST you wrote:

> The build log shows a warning: "kmem_cache_create" redefined so I suspect an
> upstream fix is required.

I completely misread the build log.  The kmem_cache_create diagnostic is only 
a warning.  The actual build error is something else:

/var/lib/dkms/zfs/2.2.6/build/module/os/linux/spl/spl-thread.c: In function 
‘issig’:
/var/lib/dkms/zfs/2.2.6/build/module/os/linux/spl/spl-thread.c:186:28: error: 
passing argument 1 of ‘dequeue_signal’ from incompatible pointer type [-
Wincompatible-pointer-types]
  186 |         if (dequeue_signal(task, &set, &__info) != 0) {
      |                            ^~~~
      |                            |
      |                            struct task_struct *
In file included from /usr/src/linux-headers-6.12.3-common/include/linux/
rcuwait.h:6,
                 from /usr/src/linux-headers-6.12.3-common/include/linux/
percpu-rwsem.h:7,
                 from /usr/src/linux-headers-6.12.3-common/include/linux/fs.h:
33,
                 from /usr/src/linux-headers-6.12.3-common/include/linux/
compat.h:17,
                 from /usr/src/linux-headers-6.12.3-common/arch/x86/include/
asm/ia32.h:7,
                 from /usr/src/linux-headers-6.12.3-common/arch/x86/include/
asm/elf.h:10,
                 from /usr/src/linux-headers-6.12.3-common/include/linux/
elf.h:6,
                 from /usr/src/linux-headers-6.12.3-common/include/linux/
module.h:19,
                 from /var/lib/dkms/zfs/2.2.6/build/include/os/linux/spl/sys/
thread.h:27,
                 from /var/lib/dkms/zfs/2.2.6/build/module/os/linux/spl/spl-
thread.c:26:
/usr/src/linux-headers-6.12.3-common/include/linux/sched/signal.h:279:37: 
note: expected ‘sigset_t *’ but argument is of type ‘struct task_struct *’
  279 | extern int dequeue_signal(sigset_t *mask, kernel_siginfo_t *info, enum 
pid_type *type);
      |                           ~~~~~~~~~~^~~~

[toc] | [standalone]


Back to top | Article view | linux.debian.bugs.rc


csiph-web