Re: [PATCH net-next v2] net: microchip: Make `lan743x_pm_suspend` function return right value

2020-09-23 Thread David Miller
From: Zheng Yongjun Date: Wed, 23 Sep 2020 11:21:40 +0800 > drivers/net/ethernet/microchip/lan743x_main.c: In function lan743x_pm_suspend: > > `ret` is set but not used. In fact, `pci_prepare_to_sleep` function value > should > be the right value of `lan743x_pm_suspend` function, therefore,

[PATCH net-next v2] net: microchip: Make `lan743x_pm_suspend` function return right value

2020-09-22 Thread Zheng Yongjun
drivers/net/ethernet/microchip/lan743x_main.c: In function lan743x_pm_suspend: `ret` is set but not used. In fact, `pci_prepare_to_sleep` function value should be the right value of `lan743x_pm_suspend` function, therefore, fix it. Signed-off-by: Zheng Yongjun ---