Sasha Levin
a17597d3b4
virtio-rng: fixes for device registration/unregistration
...
There are several fixes in this patch (mostly because it's hard
splitting them up):
- Revert the name field in struct hwrng back to 'const'. Also, don't
do an extra kmalloc for the name - just wasteful.
- Deal with allocation failures properly.
- Use IDA to allocate device number instead of brute forcing one.
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2014-05-19 09:26:40 +09:30
..
2014-02-07 15:10:19 -08:00
2014-05-19 09:26:40 +09:30
2014-04-17 12:30:40 -07:00
2014-02-07 15:10:19 -08:00
2014-04-16 14:31:13 -07:00
2014-04-07 16:36:11 -07:00
2013-10-03 16:03:31 -07:00
2014-01-07 13:50:28 +01:00
2013-03-15 12:23:48 -07:00
2013-10-09 20:04:04 -05:00
2013-05-05 00:11:29 -04:00
2013-02-22 23:31:31 -05:00
2013-02-22 23:31:31 -05:00
2013-05-05 00:12:29 -04:00
2013-05-05 00:12:29 -04:00
2013-12-07 01:03:14 +01:00
2014-01-29 18:56:27 -08:00
2014-04-16 14:21:06 -07:00
2013-12-18 16:39:54 -08:00
2014-01-29 20:49:12 -08:00
2012-11-21 12:55:19 -08:00
2014-02-15 11:51:02 -08:00
2013-11-13 15:34:18 +09:00
2012-09-26 13:20:40 -07:00
2013-12-19 15:10:49 +01:00
2013-05-21 10:07:54 -07:00
2013-02-22 23:31:31 -05:00
2014-01-08 15:29:52 -08:00
2012-10-07 07:22:32 -07:00
2012-10-24 15:52:29 -07:00
2013-02-22 23:31:31 -05:00
2013-06-29 12:57:33 +04:00
2014-03-19 22:24:08 -04:00
2014-02-07 08:29:46 -08:00
2013-10-16 12:36:10 -07:00
2013-10-16 12:36:10 -07:00
2013-10-16 12:36:10 -07:00
2013-07-15 13:56:36 +02:00
2013-02-22 23:31:31 -05:00
2014-02-07 15:10:19 -08:00
2013-10-16 12:36:10 -07:00
2014-04-16 14:21:06 -07:00
2014-04-01 23:19:19 -04:00