From: Doug Ledford Date: Fri, 28 Jul 2017 19:17:18 +0000 (-0400) Subject: RDMA/hns: fix build regression X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ecd840ff9b793ac60e3e6658414525535349a17b;p=linux.git RDMA/hns: fix build regression The 0day build system flags implicit includes as errors. A patch from Matan Barak to allow hns_roce, an aarch64 specific RDMA driver, to be built on other arches, but it resulted in build regressions. The problem is that hns_roce_device.h needs a definition for __raw_writeq but did not have an include to provide it. Add as an include to resolve the issue. Signed-off-by: Doug Ledford --- diff --git a/drivers/infiniband/hw/hns/hns_roce_device.h b/drivers/infiniband/hw/hns/hns_roce_device.h index e493a61e14e11..aeef2adf1a454 100644 --- a/drivers/infiniband/hw/hns/hns_roce_device.h +++ b/drivers/infiniband/hw/hns/hns_roce_device.h @@ -33,6 +33,7 @@ #ifndef _HNS_ROCE_DEVICE_H #define _HNS_ROCE_DEVICE_H +#include #include #define DRV_NAME "hns_roce"