commit | 27dd5548396e69c4b735739b8d7824ca2a3f39d5 | [log] [tgz] |
---|---|---|
author | Ken Cox <jkc@redhat.com> | Fri Mar 07 12:22:22 2014 -0600 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Mar 08 22:42:14 2014 -0800 |
tree | 134ceba1da485ba9d265b243cf082ab67574fc4f | |
parent | bed3b10d20e34683ddc596f7858fef076d148390 [diff] |
Staging: unisys: uislib: Fix locking in info_proc_read_helper() Make sure BusListLock is unlocked before returning. If an error is encountered early on in info_proc_read_helper() the function can return without unlocking. Also changed the PROCLINE macro so that it doesn't include a goto statement. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Ken Cox <jkc@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>