Messages in this thread Patch in this message | | | Date | Wed, 21 Oct 2009 22:51:26 +0200 (CEST) | From | John Kacur <> | Subject | Re: [patch 19/28] hw_random: Remove BKL from core |
| |
From d3da91fe463a0799911ed7c826ec133c38c0a18b Mon Sep 17 00:00:00 2001 From: John Kacur <jkacur@redhat.com> Date: Wed, 21 Oct 2009 22:46:30 +0200 Subject: [PATCH] RNG: Explicitly set llseek = no_llseek after the BKL is removed.
Now that we've removed the BKL, lets explicitly set llseek to no_llseek since it is not used here.
Signed-off-by: John Kacur <jkacur@redhat.com> --- drivers/char/hw_random/core.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/char/hw_random/core.c b/drivers/char/hw_random/core.c index 75fb859..9cfd338 100644 --- a/drivers/char/hw_random/core.c +++ b/drivers/char/hw_random/core.c @@ -147,6 +147,7 @@ static const struct file_operations rng_chrdev_ops = { .owner = THIS_MODULE, .open = rng_dev_open, .read = rng_dev_read, + .llseek = no_llseek, }; static struct miscdevice rng_miscdev = { -- 1.6.0.6
| |