diff options
author | Iliyan Malchev <malchev@google.com> | 2011-09-15 17:11:37 -0700 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2011-09-19 16:50:23 -0700 |
commit | 249e6831ee95e8e176a7a55b6880d78f9eff09e4 (patch) | |
tree | c9cc245848cda762ed284f16a116e9a547a51564 /include/linux/remoteproc.h | |
parent | f0bc2298e9dd9b68f6841ad035713120884966ba (diff) | |
download | kernel_samsung_tuna-249e6831ee95e8e176a7a55b6880d78f9eff09e4.zip kernel_samsung_tuna-249e6831ee95e8e176a7a55b6880d78f9eff09e4.tar.gz kernel_samsung_tuna-249e6831ee95e8e176a7a55b6880d78f9eff09e4.tar.bz2 |
remoteproc: remove debugfs entries on error during resource setup
If rproc_handle_resources() detects an error, we remove the debugfs entries.
Otherwise you can crash the kernel by trying to access one of the files.
Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'include/linux/remoteproc.h')
0 files changed, 0 insertions, 0 deletions