projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8008b2
)
[PATCH] hwrng: fix intel probe error unwind
author
Michael Buesch
<mb@bu3sch.de>
Sun, 30 Jul 2006 10:04:04 +0000
(
03:04
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 31 Jul 2006 20:28:43 +0000
(13:28 -0700)
The intel hwrng leaks an iomapped resource, if hwrng_register() failes.
This fixes it.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/hw_random/intel-rng.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/hw_random/intel-rng.c
b/drivers/char/hw_random/intel-rng.c
index 6594bd5645f42928992a8e85d13332169fdf5e85..ccd7e7102234cf09cfda77bdb49db017389d197a 100644
(file)
--- a/
drivers/char/hw_random/intel-rng.c
+++ b/
drivers/char/hw_random/intel-rng.c
@@
-164,7
+164,7
@@
static int __init mod_init(void)
if (err) {
printk(KERN_ERR PFX "RNG registering failed (%d)\n",
err);
- goto
out
;
+ goto
err_unmap
;
}
out:
return err;