diff options
Diffstat (limited to 'drivers/char/random.c')
| -rw-r--r-- | drivers/char/random.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/random.c b/drivers/char/random.c index 253f2ddb8913..3cb37760dfec 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -1546,7 +1546,7 @@ const struct file_operations random_fops = {  	.compat_ioctl = compat_ptr_ioctl,  	.fasync = random_fasync,  	.llseek = noop_llseek, -	.splice_read = generic_file_splice_read, +	.splice_read = copy_splice_read,  	.splice_write = iter_file_splice_write,  }; @@ -1557,7 +1557,7 @@ const struct file_operations urandom_fops = {  	.compat_ioctl = compat_ptr_ioctl,  	.fasync = random_fasync,  	.llseek = noop_llseek, -	.splice_read = generic_file_splice_read, +	.splice_read = copy_splice_read,  	.splice_write = iter_file_splice_write,  };  |