Le 23/11/2016 à 13:39, woojung....@microchip.com a écrit : > From: Woojung Huh <woojung....@microchip.com> > > When phy_init_hw() fails at phy_attach_direct(); > - phy_detach() calls phy_led_triggers_unregister() without > previous call of phy_led_triggers_register(). > - still call phy_led_triggers_register() and cause memory leak. > > Signed-off-by: Woojung Huh <woojung....@microchip.com>
Since you probably have to resubmit this, can you also add a Fixes tag: Fixes: 2e0bc452f472 ("net: phy: leds: add support for led triggers on phy link state change") Thanks! -- Florian