From: Dan Carpenter Date: Tue, 22 Jan 2013 07:19:14 +0000 (+0300) Subject: ntb: off by one sanity checks X-Git-Tag: v3.10-rc2~16^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad3e2751e7c546ae678be1f8d86e898506b42cef;p=pandora-kernel.git ntb: off by one sanity checks These tests are off by one. If "mw" is equal to NTB_NUM_MW then we would go beyond the end of the ndev->mw[] array. Signed-off-by: Dan Carpenter Signed-off-by: Jon Mason --- Reading git-diff-tree failed