Menu

#61 linux-gpib-4.0.3 fails with kernel 4.11.0

v1.0 (example)
closed-fixed
nobody
None
5
2018-05-08
2017-05-04
No

This is a clone of Gentoo bug 617220
I haven't done any testing myself, but it looks reasonable and the suggested change is minimally intrusive.


Against kernel 4.11.0, linux-gpib-4.0.3 fails with
"dereferencing pointer to incomplete type 'struct signal_struct"
which is due to this change:
https://patchwork.kernel.org/patch/9563127/

The following patch fixes this issue:

--- linux-gpib-4.0.4rc2.orig/drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c 2016-06-22 09:48:47.000000000 +0100
+++ linux-gpib-4.0.4rc2/drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c  2017-05-02 00:59:04.509950834 +0100
@@ -37,6 +37,7 @@
 #include <linux/file.h>
 #include <linux/timer.h>
 #include <linux/delay.h>
+#include <linux/sched/signal.h>
 #include <asm/uaccess.h>

 #include "gpibP.h"

Discussion

  • Frank Mori Hess

    Frank Mori Hess - 2018-05-08
    • status: open --> closed-fixed
     
  • Frank Mori Hess

    Frank Mori Hess - 2018-05-08

    Should be fixed in svn r1751, which also adds a compatibility header for older kernels which lack the linux/sched/signal.h header.

     

Log in to post a comment.