Hello,
latest drivers fail to build with current linux-next tree (unsupported, I know):
/home/tomas/nvidia/kernel/nv-procfs.c: In function 'nv_procfs_read_registry':
/home/tomas/nvidia/kernel/nv-procfs.c:361:12: error: void value not ignored as it ought to be
return seq_printf(s, "Binary: \"%s\"\n", registry_keys);
^
/home/tomas/nvidia/kernel/nv-procfs.c: In function 'nv_procfs_read_text_file':
/home/tomas/nvidia/kernel/nv-procfs.c:561:12: error: void value not ignored as it ought to be
return seq_puts(s, s->private);
Probably related to this commit:
commit 14c4730e8a5c385b99e3a09851a277d7180f4bb5
Author: Joe Perches <joe@perches.com>
Date: Fri Jun 19 09:05:41 2015 +1000
fs/seq_file: convert int seq_vprint/seq_printf/etc... returns to void
The seq_<foo> function return values were frequently misused.
See: commit 1f33c41c03da ("seq_file: Rename seq_overflow() to
seq_has_overflowed() and make public")
All uses of these return values have been removed, so convert the
return types to void.
Miscellanea:
o Move seq_put_decimal_<type> and seq_escape prototypes closer the
other seq_vprintf prototypes
o Reorder seq_putc and seq_puts to return early on overflow
o Add argument names to seq_vprintf and seq_printf
o Update the seq_escape kernel-doc
o Convert a couple of leading spaces to tabs in seq_escape
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Cc: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>