NTB: Fix range check on memory window index
authorAllen Hubbe <Allen.Hubbe@emc.com>
Mon, 31 Aug 2015 13:31:00 +0000 (09:31 -0400)
committerJon Mason <jdmason@kudzu.us>
Mon, 7 Sep 2015 19:27:12 +0000 (15:27 -0400)
commit9a07826f99034202dad589285a47132685d9538b
treee5fd9f1e2ab501bf50b91ff98b34e2f5b10487f2
parent2aa2a77a489deda473c99a4c15074d092718912c
NTB: Fix range check on memory window index

The range check must exclude the upper bound.

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