diff options
| author | Logan Gunthorpe <[email protected]> | 2017-06-26 19:50:41 +0000 |
|---|---|---|
| committer | Jon Mason <[email protected]> | 2017-07-17 16:56:15 +0000 |
| commit | bc240eec4b074f5dc2753f295e980e66b72c90fb (patch) | |
| tree | cffb7d4a2ac0b1b00f0ce483dad251c8ac9cd8c1 /net/switchdev/switchdev.c | |
| parent | Linux v4.13-rc1 (diff) | |
| download | kernel-bc240eec4b074f5dc2753f295e980e66b72c90fb.tar.gz kernel-bc240eec4b074f5dc2753f295e980e66b72c90fb.zip | |
ntb: use correct mw_count function in ntb_tool and ntb_transport
After converting to the new API, both ntb_tool and ntb_transport are
using ntb_mw_count to iterate through ntb_peer_get_addr when they
should be using ntb_peer_mw_count.
This probably isn't an issue with the Intel and AMD drivers but
this will matter for any future driver with asymetric memory window
counts.
Signed-off-by: Logan Gunthorpe <[email protected]>
Acked-by: Allen Hubbe <[email protected]>
Signed-off-by: Jon Mason <[email protected]>
Fixes: 443b9a14ecbe ("NTB: Alter MW API to support multi-ports devices")
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
