Skip to content
Unverified Commit ad3e2751 authored by Dan Carpenter's avatar Dan Carpenter Committed by Jon Mason
Browse files

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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarJon Mason <jon.mason@intel.com>
parent 186f27ff
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment