hns3: Makefile: remove unnecessary kcompat.o
hulk inclusion category: feature bugzilla: 12807 CVE: NA ------------------------------------------------- Now hns3 driver will be rebuild without changing any code: [root@localhost hulk-4.19]# make -j64 CALL scripts/checksyscalls.sh CHK include/generated/compile.h CC [M] drivers/net/ethernet/hisilicon/hns3/kcompat.o CC [M] drivers/net/ethernet/hisilicon/hns3/hns3pf/../kcompat.o LD [M] drivers/net/ethernet/hisilicon/hns3/hns3.o LD [M] drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge.o Building modules, stage 2. MODPOST 1400 modules CC drivers/net/ethernet/hisilicon/hns3/hns3.mod.o CC drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge.mod.o LD [M] drivers/net/ethernet/hisilicon/hns3/hns3.ko LD [M] drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge.ko [root@localhost hulk-4.19]# make -j64 CALL scripts/checksyscalls.sh CHK include/generated/compile.h CC [M] drivers/net/ethernet/hisilicon/hns3/kcompat.o LD [M] drivers/net/ethernet/hisilicon/hns3/hns3.o Building modules, stage 2. MODPOST 1400 modules CC drivers/net/ethernet/hisilicon/hns3/hns3.mod.o CC drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge.mod.o LD [M] drivers/net/ethernet/hisilicon/hns3/hns3.ko LD [M] drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge.ko It's introduced by build kcompat.o both in hns3 and hns3/hns3pf. kcompat.c provide pci_irq* relatived interfaces for driver building in earlier version kernel. Now hulk-4.19 has these interfaces, it can be removed to fix this problem. Signed-off-by: NYang Yingliang <yangyingliang@huawei.com> Reviewed-by: NXie XiuQi <xiexiuqi@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录