linux/drivers/infiniband/hw
Arnd Bergmann 3ecc16c82c IB/hns: include linux/module.h
I ran into a build error on arm64 randconfig testing:

infiniband/hw/hns/hns_roce_main.c:539:1: error: data definition has no type or storage class [-Werror]
infiniband/hw/hns/hns_roce_main.c:539:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE' [-Werror=implicit-int]
infiniband/hw/hns/hns_roce_main.c:539:1: error: parameter names (without types) in function declaration [-Werror]
infiniband/hw/hns/hns_roce_main.c:979:226: error: data definition has no type or storage class [-Werror]
infiniband/hw/hns/hns_roce_main.c:979:226: error: type defaults to 'int' in declaration of 'module_init' [-Werror=implicit-int]
infiniband/hw/hns/hns_roce_main.c:979:1: error: parameter names (without types) in function declaration [-Werror]

Including the module.h makes it build again.

Fixes: 9a4435375c ("IB/hns: Add driver files for hns RoCE driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-02-19 09:27:28 -05:00
..
bnxt_re RDMA/bnxt_re: Add bnxt_re driver build support 2017-02-14 09:51:28 -05:00
cxgb3 RDMA/core: Add the function ib_mtu_int_to_enum 2017-01-24 15:34:22 -05:00
cxgb4 iw_cxgb4: clean up send_connect() 2017-02-19 09:18:30 -05:00
hfi1 IB/hfi1: use size_t for passing array length 2017-02-19 09:18:47 -05:00
hns IB/hns: include linux/module.h 2017-02-19 09:27:28 -05:00
i40iw Merge branch 'k.o/for-4.10-rc' into HEAD 2017-02-19 09:18:21 -05:00
mlx4 RDMA: Adding ethertype ETH_P_IBOE 2017-01-10 14:05:11 -05:00
mlx5 Updates for 4.10 kernel merge window 2016-12-15 12:03:32 -08:00
mthca IB/mthca: switch to pci_alloc_irq_vectors 2017-02-19 09:18:45 -05:00
nes Merge branch 'k.o/for-4.10-rc' into HEAD 2017-02-19 09:18:21 -05:00
ocrdma RDMA/ocrdma: Replace BUG() with BUG_ON() 2017-01-12 12:21:52 -05:00
qedr Merge branch 'k.o/for-4.10-rc' into HEAD 2017-02-19 09:18:21 -05:00
qib IB/hfi1, qib, rdmavt: Move AETH defines to rdma/ib_hdrs.h 2017-02-19 09:18:44 -05:00
usnic RDMA: Adding ethertype ETH_P_IBOE 2017-01-10 14:05:11 -05:00
vmw_pvrdma IB/vmw_pvrdma: Expose vendor error to ULPs 2017-02-19 09:27:28 -05:00
Makefile RDMA/bnxt_re: Add bnxt_re driver build support 2017-02-14 09:51:28 -05:00