lkml.org 
[lkml]   [2017]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 2/2] usb: host: ohci-exynos: Decrese node refcount on exynos_ehci_get_phy() error paths
    From
    Date
    Hello Krzysztof,

    On 01/07/2017 05:41 AM, Krzysztof Kozlowski wrote:
    > Returning from for_each_available_child_of_node() loop requires cleaning
    > up node refcount. Error paths lacked it so for example in case of
    > deferred probe, the refcount of phy node was left increased.
    >
    > Fixes: 6d40500ac9b6 ("usb: ehci/ohci-exynos: Fix of_node_put() for child when getting PHYs")
    > Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
    > ---

    Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>

    Best regards,
    --
    Javier Martinez Canillas
    Open Source Group
    Samsung Research America

    \
     
     \ /
      Last update: 2017-01-09 16:43    [W:2.321 / U:0.196 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site