355.11 Linux 4.3-rc1 build error

/var/lib/dkms/nvidia/355.11/build/nvidia/nv-procfs.c: In function ‘nv_procfs_read_registry’:
/var/lib/dkms/nvidia/355.11/build/nvidia/nv-procfs.c:363:12: error: void value not ignored as it ought to be
return seq_printf(s, “Binary: "%s"\n”, registry_keys);
^
/var/lib/dkms/nvidia/355.11/build/nvidia/nv-procfs.c: In function ‘nv_procfs_read_text_file’:
/var/lib/dkms/nvidia/355.11/build/nvidia/nv-procfs.c:563:12: error: void value not ignored as it ought to be
return seq_puts(s, s->private);

Due to this change kernel/git/torvalds/linux.git - Linux kernel source tree

return 0 instead builds and runs fine

@@ -360,7 +360,8 @@ nv_procfs_read_registry(
     registry_keys = ((nvl != NULL) ?
             nvl->registry_keys : nv_registry_keys);
 
-    return seq_printf(s, "Binary: \"%s\"\n", registry_keys);
+    seq_printf(s, "Binary: \"%s\"\n", registry_keys);
+    return 0;
 }
 
 static ssize_t
@@ -560,7 +561,8 @@ nv_procfs_read_text_file(
     void *v
 )
 {
-    return seq_puts(s, s->private);
+    seq_puts(s, s->private);
+    return 0;
 }

Hello,

I also have a build error with 340.93 and kernel 4.3 .

Can you explain how you got it to run?

Cneugeb

Thanks, it helped me :)

Then, I had to add this to my xorg.conf:

Section "ServerFlags"
 Option "IgnoreABI" "1" 
EndSection

to make X11 start. But my DE ( KDE ) is still not starting up :(

EDIT:
It seems to be some KDE problem, because XFCE4 started OK :-)

Now going to play with some Vulkans.