From: Sean Young <sean@mess.org>
To: Greg KH <gregkh@suse.de>, Chris Wright <chrisw@sous-sol.org>
Cc: linux-kernel@vger.kernel.org, linux-usb-devel@lists.sourceforge.net
Subject: [PATCH][STABLE 2.6.19] Fix oops in PhidgetServo
Date: Wed, 6 Dec 2006 20:27:32 +0000 [thread overview]
Message-ID: <20061206202732.GA91199@atlantis.8hz.com> (raw)
From: Sean Young <sean@mess.org>
The PhidgetServo causes an Oops when any of its sysfs attributes are read
or written too, making the driver useless.
Signed-off-by: Sean Young <sean@mess.org>
---
Please consider this for inclusion in the next -stable, this issue is
affecting users.
--- linux-2.6.19/drivers/usb/misc/phidgetservo.c.orig 2006-11-29 21:57:37.000000000 +0000
+++ linux-2.6.19/drivers/usb/misc/phidgetservo.c 2006-12-04 21:01:40.000000000 +0000
@@ -282,6 +282,7 @@ servo_probe(struct usb_interface *interf
dev->dev = NULL;
goto out;
}
+ dev_set_drvdata(dev->dev, dev);
servo_count = dev->type & SERVO_COUNT_QUAD ? 4 : 1;
reply other threads:[~2006-12-06 20:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061206202732.GA91199@atlantis.8hz.com \
--to=sean@mess.org \
--cc=chrisw@sous-sol.org \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox