diff options
| author | Sasha Levin <[email protected]> | 2014-05-16 02:12:43 +0000 |
|---|---|---|
| committer | Rusty Russell <[email protected]> | 2014-05-18 23:56:40 +0000 |
| commit | a17597d3b418ca5a394d14724ccfc295cb3186c8 (patch) | |
| tree | a2421dacd4bef70854f146bdaf01eb6305160338 /tools/perf/scripts/python/sctop.py | |
| parent | virtio-rng: fix boot with virtio-rng device (diff) | |
| download | kernel-a17597d3b418ca5a394d14724ccfc295cb3186c8.tar.gz kernel-a17597d3b418ca5a394d14724ccfc295cb3186c8.zip | |
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 <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
