From f48b49e7c5a7eb4ab123d23b1980c0abfb4f348f Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 6 Apr 2016 17:37:49 +0200 Subject: Fix compilation of rdma.c in the driver --- driver/rdma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/driver/rdma.c b/driver/rdma.c index c601188..4cbd8c4 100644 --- a/driver/rdma.c +++ b/driver/rdma.c @@ -46,6 +46,7 @@ unsigned long pcidriver_resolve_bar(unsigned long bar_address) { int dev, bar; unsigned long pfn; unsigned long address; + unsigned long offset; address = (bar_address >> PAGE_SHIFT) << PAGE_SHIFT; offset = bar_address - address; -- cgit v1.2.3