diff options
author | David S. Miller <davem@davemloft.net> | 2010-01-05 00:31:10 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-05 00:31:10 +0100 |
commit | c7c17c2779075e675cb3c7fe2ecde67e226771fb (patch) | |
tree | 680ab98f6f9b2275b7140f73a3c3a842062a7e93 /mm | |
parent | sparc64: Fix clock event multiplier printf format. (diff) | |
download | linux-c7c17c2779075e675cb3c7fe2ecde67e226771fb.tar.xz linux-c7c17c2779075e675cb3c7fe2ecde67e226771fb.zip |
bbc_envctrl: Clean up properly if kthread_run() fails.
In bbc_envctrl_init() we have to unlink the fan and temp instances
from the lists because our caller is going to free up the 'bp' object
if we return an error.
We can't rely upon bbc_envctrl_cleanup() to do this work for us in
this case.
Reported-by: Patrick Finnegan <pat@computer-refuge.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions