Re: [PATCH net-next] net: hns: make hns_dsaf_roce_reset non static

From: David Miller
Date: Fri Jul 27 2018 - 00:20:00 EST


From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Fri, 27 Jul 2018 09:53:12 +0800

> hns_dsaf_roce_reset is exported and used in hns_roce_hw_v1.c
> In commit 336a443bd9dd ("net: hns: Make many functions static") I make
> it static wrongly.
>
> drivers/infiniband/hw/hns/hns_roce_hw_v1.o: In function `hns_roce_v1_reset':
> hns_roce_hw_v1.c:(.text+0x37ac): undefined reference to `hns_dsaf_roce_reset'
> hns_roce_hw_v1.c:(.text+0x37cc): undefined reference to `hns_dsaf_roce_reset'
>
> Fixes: 336a443bd9dd ("net: hns: Make many functions static")
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

Oops, applied.