Greg Kroah-Hartman
8b485877e0
fbdev: fix race in device_create
...
There is a race from when a device is created with device_create() and
then the drvdata is set with a call to dev_set_drvdata() in which a
sysfs file could be open, yet the drvdata will be NULL, causing all
sorts of bad things to happen.
This patch fixes the problem by using the new function,
device_create_drvdata().
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-05-20 13:31:53 -07:00
..
2008-05-08 10:46:55 -07:00
2008-04-30 16:26:27 -07:00
2008-05-19 17:56:10 -04:00
2008-04-30 08:45:48 -07:00
2008-05-20 13:31:53 -07:00
2008-05-18 13:28:50 -07:00
2008-05-02 16:45:10 -07:00
2008-04-29 08:18:03 -07:00
2008-05-19 13:30:40 -07:00
2008-04-28 16:27:08 -04:00
2008-05-05 15:08:38 -07:00
2008-05-20 18:24:17 +02:00
2008-04-29 08:06:23 -07:00
2008-05-01 08:04:01 -07:00
2008-05-20 16:44:43 +02:00
2008-05-01 08:28:26 -07:00
2008-05-18 20:49:41 +02:00
2008-05-18 13:28:49 -07:00
2008-05-20 18:24:17 +02:00
2008-05-13 11:52:55 -07:00
2008-05-18 13:28:50 -07:00
2008-05-01 08:03:59 -07:00
2008-04-29 08:06:25 -07:00
2008-05-02 21:50:54 +10:00
2008-05-15 20:50:00 +10:00
2008-04-29 08:06:18 -07:00
2008-05-14 19:11:15 -07:00
2008-05-20 10:12:26 -07:00
2008-04-29 08:06:25 -07:00
2008-04-30 08:29:53 -07:00
2008-05-13 08:02:23 -07:00
2008-05-19 16:40:30 -07:00
2008-05-08 19:51:40 +09:00
2008-05-18 13:28:49 -07:00
2008-04-29 08:06:19 -07:00
2008-05-15 20:49:49 +10:00
2008-05-14 19:11:12 -07:00
2008-05-15 10:38:54 -04:00
2008-04-30 08:29:53 -07:00
2008-05-15 17:50:37 -07:00
2008-05-01 08:04:00 -07:00
2008-05-15 17:50:37 -07:00
2008-05-03 10:57:57 -07:00
2008-05-02 15:00:44 +10:00
2008-04-29 19:40:28 +10:00
2008-05-13 08:02:26 -07:00
2008-05-18 14:34:15 +03:00
2008-05-05 00:33:58 -07:00
2008-05-13 11:24:51 -07:00
2008-05-19 16:33:29 -07:00
2008-05-14 19:11:12 -07:00
2008-04-29 03:12:17 -04:00
2008-05-14 10:00:30 -07:00
2008-05-20 13:31:53 -07:00
2008-05-02 21:50:50 +10:00
2008-04-30 08:29:53 -07:00
2008-04-29 08:06:21 -07:00
2008-04-30 08:29:52 -07:00
2008-04-30 08:29:52 -07:00