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-04-28 08:58:42 -07:00
2008-02-07 09:31:52 +00:00
2008-05-13 08:02:26 -07:00
2008-05-20 13:31:53 -07:00
2008-05-14 19:11:13 -07:00
2008-03-19 18:53:36 -07:00
2008-04-28 08:58:41 -07:00
2007-10-16 09:43:17 -07:00
2008-05-14 19:11:14 -07:00
2008-04-29 08:06:28 -07:00
2008-03-10 18:01:20 -07:00
2008-04-28 08:58:42 -07:00
2008-02-03 17:31:49 +02:00
2008-05-13 08:02:24 -07:00
2008-04-28 08:58:42 -07:00
2008-04-28 08:58:38 -07:00
2008-04-28 08:58:42 -07:00
2008-04-28 08:58:18 -07:00
2007-07-17 10:23:11 -07:00
2007-07-31 15:39:39 -07:00
2008-04-28 08:58:41 -07:00
2007-07-19 10:04:50 -07:00
2008-05-18 13:28:50 -07:00
2007-10-16 09:43:17 -07:00
2008-04-28 08:58:38 -07:00
2008-04-28 08:58:35 -07:00
2008-05-13 08:02:25 -07:00
2007-10-18 14:37:17 -07:00
2007-07-19 10:04:50 -07:00
2008-04-28 08:58:42 -07:00
2008-03-28 14:45:22 -07:00
2008-05-08 21:37:30 -07:00
2008-04-28 08:58:35 -07:00
2008-04-28 08:58:35 -07:00
2008-04-28 08:58:42 -07:00
2008-05-08 21:37:30 -07:00
2008-05-08 21:37:30 -07:00
2008-05-08 21:37:30 -07:00
2008-02-23 10:40:04 -08:00
2008-04-28 08:58:42 -07:00
2008-04-29 08:06:18 -07:00
2007-07-17 10:23:11 -07:00
2007-11-08 23:29:36 +00:00
2008-02-03 17:31:49 +02:00
2008-05-18 13:28:49 -07:00
2007-11-29 09:24:54 -08:00
2007-10-16 09:43:17 -07:00
2007-11-29 09:24:52 -08:00
2008-03-19 18:53:37 -07:00
2008-04-28 08:58:35 -07:00
2007-10-16 09:43:17 -07:00
2007-10-16 09:43:17 -07:00
2008-04-28 08:58:41 -07:00
2008-02-06 10:41:15 -08:00
2008-05-08 21:37:30 -07:00
2007-07-17 10:23:12 -07:00
2008-04-28 08:58:40 -07:00
2008-04-28 08:58:40 -07:00
2007-11-14 18:45:42 -08:00
2008-04-28 08:58:35 -07:00
2008-04-28 08:58:41 -07:00
2008-03-06 13:56:33 +09:00
2008-05-18 13:28:50 -07:00
2008-02-06 10:41:16 -08:00
2007-11-29 09:24:53 -08:00
2008-04-28 08:58:42 -07:00
2008-04-28 08:58:42 -07:00
2008-05-18 13:28:48 -07:00
2008-05-08 21:37:30 -07:00
2007-07-17 10:23:12 -07:00
2007-07-17 10:23:13 -07:00
2007-07-17 10:23:13 -07:00
2008-04-28 08:58:41 -07:00
2008-04-29 08:06:28 -07:00
2008-04-28 08:58:42 -07:00
2008-04-28 08:58:41 -07:00
2008-02-06 10:41:16 -08:00
2008-04-28 08:58:35 -07:00
2007-10-12 14:51:04 -07:00
2008-05-08 21:37:30 -07:00
2007-09-22 14:49:22 +10:00
2008-04-28 08:58:42 -07:00
2008-04-28 08:58:42 -07:00
2008-02-06 10:41:18 -08:00
2007-10-16 09:43:19 -07:00
2007-10-16 09:43:20 -07:00
2008-02-06 10:41:17 -08:00
2008-03-06 13:39:18 +09:00
2008-05-17 22:55:39 +01:00
2008-04-30 08:29:32 -07:00
2007-07-17 10:23:12 -07:00
2007-11-14 18:45:38 -08:00
2008-04-28 08:58:42 -07:00
2008-02-06 10:41:17 -08:00
2008-04-28 08:58:38 -07:00
2007-10-16 09:43:17 -07:00
2008-04-28 08:58:42 -07:00
2008-05-08 21:37:30 -07:00
2008-05-08 21:37:30 -07:00
2007-07-17 10:23:12 -07:00
2007-10-16 09:43:14 -07:00
2008-03-04 16:35:13 -08:00
2008-04-28 08:58:42 -07:00
2008-04-28 08:58:42 -07:00
2008-05-08 21:37:30 -07:00
2008-05-08 21:37:30 -07:00
2007-10-16 09:43:22 -07:00
2008-04-28 08:58:35 -07:00
2008-04-28 08:58:35 -07:00
2008-04-28 08:58:42 -07:00
2008-05-08 21:37:30 -07:00
2008-04-28 08:58:42 -07:00
2007-10-16 09:43:23 -07:00
2008-05-13 08:02:24 -07:00
2008-04-28 08:58:41 -07:00
2007-07-19 10:04:50 -07:00
2007-10-16 09:43:18 -07:00
2007-10-16 22:57:17 -07:00
2008-04-28 08:58:38 -07:00
2008-04-28 08:58:41 -07:00
2008-04-24 23:57:33 +02:00
2008-02-06 10:23:21 -07:00