diff options
author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | 2016-03-12 00:11:47 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-11 22:09:09 -0800 |
commit | 720f7a7850556f8d9ed6069cbcfd9b34b105e04a (patch) | |
tree | f09b01316d2755f70f7661c7b26f3739ecb52ea0 /ipc | |
parent | e6e1d57e080583da7aa851aca40369f1851dec57 (diff) | |
download | linux-720f7a7850556f8d9ed6069cbcfd9b34b105e04a.tar.bz2 |
staging: most: hdm-usb: Remove invalid reference error
commit e3479f77("staging: most: hdm-usb: Remove create_workqueue()")
cancel_work_sync(&anchor->clear_work_obj) is introduced after freeing
`anchor` causing a invalid reference error. This patch removes this
error by shifting the call to cancel_work_sync before freeing
`anchor`.
Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions