Overlay/x11-drivers/nvidia-drivers/files/4.3_kernel.patch

23 lines
552 B
Diff
Raw Normal View History

--- kernel/nv-procfs.c 2015-11-10 17:06:27.982384266 +0300
+++ kernel/nv-procfs.c 2015-11-10 17:05:59.932593512 +0300
@@ -356,7 +356,8 @@
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
@@ -552,7 +553,8 @@
void *v
)
{
- return seq_puts(s, s->private);
+ seq_puts(s, s->private);
+ return 0;
}
NV_DEFINE_PROCFS_SINGLE_FILE(text_file);