]> git.baikalelectronics.ru Git - kernel.git/commit
ntb: ntb_hw_intel: init peer_addr in struct intel_ntb_dev
authorDave Jiang <dave.jiang@intel.com>
Thu, 27 Oct 2016 18:06:44 +0000 (11:06 -0700)
committerJon Mason <jdmason@kudzu.us>
Sun, 13 Nov 2016 21:48:29 +0000 (16:48 -0500)
commitc60036bc3cd02e7a6e2c4f3395699db430521a3d
treee011001648928005b421e63ed8587d06b4facf5a
parent3a6928ba7d8f43b50d4e8e84940240bfb5d90ae7
ntb: ntb_hw_intel: init peer_addr in struct intel_ntb_dev

The peer_addr member of intel_ntb_dev is not set, therefore when
acquiring ntb_peer_db and ntb_peer_spad we only get the offset rather
than the actual physical address. Adding fix to correct that.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Acked-by: Allen Hubbe <Allen.Hubbe@emc.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/hw/intel/ntb_hw_intel.c