mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] Misc: misc-phantom-move-to-unlocked_ioctl-fix
@ 2007-05-19  9:51 Jiri Slaby
  2007-05-19  9:52 ` [PATCH 2/2] Misc: phantom, take care of pci posting Jiri Slaby
  0 siblings, 1 reply; 2+ messages in thread
From: Jiri Slaby @ 2007-05-19  9:51 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

misc-phantom-move-to-unlocked_ioctl-fix

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>

---
commit fd826c7ffca5d1052a742d04f819c0251856cc6b
tree bad1cf29a70b1ff7171e1d2082967ab31f8383aa
parent d2f8feac3bd0ec0cd2d44a41fcbdb7568ac8629e
author Jiri Slaby <jirislaby@gmail.com> Sat, 19 May 2007 11:20:26 +0200
committer Jiri Slaby <jirislaby@gmail.com> Sat, 19 May 2007 11:20:26 +0200

 drivers/misc/phantom.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/misc/phantom.c b/drivers/misc/phantom.c
index 6249767..4b5959b 100644
--- a/drivers/misc/phantom.c
+++ b/drivers/misc/phantom.c
@@ -125,9 +125,7 @@ static long phantom_ioctl(struct file *file, unsigned int cmd,
 		if (r.reg > 7)
 			return -EINVAL;
 
-		spin_lock(&dev->ioctl_lock);
 		r.value = ioread32(dev->iaddr + r.reg);
-		spin_unlock(&dev->ioctl_lock);
 
 		if (copy_to_user(argp, &r, sizeof(r)))
 			return -EFAULT;

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-19  9:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-19  9:51 [PATCH 1/2] Misc: misc-phantom-move-to-unlocked_ioctl-fix Jiri Slaby
2007-05-19  9:52 ` [PATCH 2/2] Misc: phantom, take care of pci posting Jiri Slaby

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome