aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/symbols.py
diff options
context:
space:
mode:
authorYue Hu <huyue2@yulong.com>2019-08-07 11:01:30 +0800
committerZhang Rui <rui.zhang@intel.com>2019-09-24 09:56:08 +0800
commitadc8749b150c51e857ac248017971371f70de197 (patch)
treea6a29b38a9b967213c570faa417ddc0597bba648 /scripts/gdb/linux/symbols.py
parent8c7aa184281c01fc26f319059efb94725012921d (diff)
thermal/drivers/core: Use put_device() if device_register() fails
Never directly free @dev after calling device_register(), even if it returned an error! Always use put_device() to give up the reference initialized. Clean up the rollback block also. Signed-off-by: Yue Hu <huyue2@yulong.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'scripts/gdb/linux/symbols.py')
0 files changed, 0 insertions, 0 deletions