Re: [PATCH 1/1] net-next/hinic:add shutdown callback

2019-01-02 Thread David Miller
From: Xue Chaojing Date: Tue, 1 Jan 2019 19:39:33 + > If there is no shutdown callback, our board will report pcie UNF errors > after restarting. This patch add shutdown callback for hinic. > > Signed-off-by: Xue Chaojing Applied, thanks.

[PATCH 1/1] net-next/hinic:add shutdown callback

2019-01-01 Thread Xue Chaojing
If there is no shutdown callback, our board will report pcie UNF errors after restarting. This patch add shutdown callback for hinic. Signed-off-by: Xue Chaojing --- drivers/net/ethernet/huawei/hinic/hinic_main.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/ethernet/huaw

Re: 答复: [PATCH 1/1] net-next/hinic:add shutdown callback

2018-12-29 Thread David Miller
From: xuechaojing Date: Sat, 29 Dec 2018 09:20:54 + > Sorry, I didn't explain this patch clearly. > if there is no shutdown callback, our board will report pcie UNF errors after > restarting. > Attached is our log. I want you to remove the "dev_info()" call from your patch because it is ina

Re: [PATCH 1/1] net-next/hinic:add shutdown callback

2018-12-28 Thread David Miller
From: Xue Chaojing Date: Fri, 28 Dec 2018 00:20:40 + > @@ -1106,6 +1106,13 @@ static void hinic_remove(struct pci_dev *pdev) > dev_info(&pdev->dev, "HiNIC driver - removed\n"); > } > > +static void hinic_shutdown(struct pci_dev *pdev) > +{ > + pci_disable_device(pdev); > + > +

[PATCH 1/1] net-next/hinic:add shutdown callback

2018-12-28 Thread Xue Chaojing
This patch add shutdown callback for hinic. Signed-off-by: Xue Chaojing --- drivers/net/ethernet/huawei/hinic/hinic_main.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/net/ethernet/huawei/hinic/hinic_main.c b/drivers/net/ethernet/huawei/hinic/hinic_main.c index 6d48dc62a4