diff options
Diffstat (limited to 'driver/rdma.c')
-rw-r--r-- | driver/rdma.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |