aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorPeng Hao <[email protected]>2019-04-02 14:12:38 +0000
committerLudovic Desroches <[email protected]>2019-04-04 10:00:24 +0000
commitba5e60c9b75dec92d4c695b928f69300b17d7686 (patch)
treef6c605edc18d608a720942ded108f7a7c8a0f0f4 /lib/string_helpers.c
parentARM: dts: at91: Fix typo in ISC_D0 on PC9 (diff)
downloadkernel-ba5e60c9b75dec92d4c695b928f69300b17d7686.tar.gz
kernel-ba5e60c9b75dec92d4c695b928f69300b17d7686.zip
arm/mach-at91/pm : fix possible object reference leak
of_find_device_by_node() takes a reference to the struct device when it finds a match via get_device. When returning error we should call put_device. Reviewed-by: Mukesh Ojha <[email protected]> Signed-off-by: Peng Hao <[email protected]> Signed-off-by: Ludovic Desroches <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions