NTB: fix pointer math issues
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 23 Jan 2013 19:26:05 +0000 (22:26 +0300)
committerJon Mason <jon.mason@intel.com>
Wed, 15 May 2013 17:57:29 +0000 (10:57 -0700)
commitcc0f868d8adef7bdc12cda132654870086d766bc
tree71d616e0d61851f6fa8d8a22b9ecea76c0acc1f1
parentad3e2751e7c546ae678be1f8d86e898506b42cef
NTB: fix pointer math issues

->remote_rx_info and ->rx_info are struct ntb_rx_info pointers.  If we
add sizeof(struct ntb_rx_info) then it goes too far.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jon Mason <jon.mason@intel.com>
drivers/ntb/ntb_transport.c