git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d8f16d
)
virtio-rng: refactor probe error handling
author
Michael S. Tsirkin
<mst@redhat.com>
Tue, 14 Oct 2014 23:52:33 +0000
(10:22 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 14 Oct 2014 23:55:14 +0000
(10:25 +1030)
Code like
vi->vq = NULL;
kfree(vi)
does not make sense.
Clean it up, use goto error labels for cleanup.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/char/hw_random/virtio-rng.c
patch
|
blob
|
history
diff --cc
drivers/char/hw_random/virtio-rng.c
Simple merge