diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2016-04-06 17:37:49 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2016-04-06 17:37:49 +0200 |
commit | f48b49e7c5a7eb4ab123d23b1980c0abfb4f348f (patch) | |
tree | a152f4dc5bcfafb42430fa8d03f8eb66c2742551 /driver | |
parent | 371661a51fd962dc23dcd2f761b1a8f1def3191a (diff) | |
download | pcitool-f48b49e7c5a7eb4ab123d23b1980c0abfb4f348f.tar.gz pcitool-f48b49e7c5a7eb4ab123d23b1980c0abfb4f348f.tar.bz2 pcitool-f48b49e7c5a7eb4ab123d23b1980c0abfb4f348f.tar.xz pcitool-f48b49e7c5a7eb4ab123d23b1980c0abfb4f348f.zip |
Fix compilation of rdma.c in the driver
Diffstat (limited to 'driver')
-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; |