lkml.org 
[lkml]   [2022]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 5.15 28/73] net: phy: fixed_phy: Fix NULL vs IS_ERR() checking in __fixed_phy_register
    From


    On 1/3/2022 6:23 AM, Greg Kroah-Hartman wrote:
    > From: Miaoqian Lin <linmq006@gmail.com>
    >
    > [ Upstream commit b45396afa4177f2b1ddfeff7185da733fade1dc3 ]
    >
    > The fixed_phy_get_gpiod function() returns NULL, it doesn't return error
    > pointers, using NULL checking to fix this.i
    >
    > Fixes: 5468e82f7034 ("net: phy: fixed-phy: Drop GPIO from fixed_phy_add()")
    > Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
    > Link: https://lore.kernel.org/r/20211224021500.10362-1-linmq006@gmail.com
    > Signed-off-by: Jakub Kicinski <kuba@kernel.org>
    > Signed-off-by: Sasha Levin <sashal@kernel.org>

    Same as 5.4 and 5.10, this patch causes a regression on 5.15 as well and
    should be dropped. Since this is also affecting Linus' master a revert
    of that changes has been submitted to the net/master tree and should
    reach Linus' tree shortly assuming it gets applied:

    https://lore.kernel.org/lkml/20220103193453.1214961-1-f.fainelli@gmail.com/

    Thank you
    --
    Florian

    \
     
     \ /
      Last update: 2022-01-03 20:48    [W:4.058 / U:0.152 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site