diff options
author | Alexander Fomichev <[email protected]> | 2019-07-16 20:34:48 +0300 |
---|---|---|
committer | Jon Mason <[email protected]> | 2019-09-23 17:20:40 -0400 |
commit | c16c6655605f52cf2107a7c8dc0c798645351976 (patch) | |
tree | b1a64063378631a770a8f229ba4a9df64c3cfe5a /net/switchdev/switchdev.c | |
parent | ae89339b08f3fe02457ec9edd512ddc3d246d0f8 (diff) |
ntb_hw_switchtec: make ntb_mw_set_trans() work when addr == 0
On switchtec_ntb_mw_set_trans() call, when (only) address == 0, it acts as
ntb_mw_clear_trans(). Fix this, since address == 0 and size != 0 is valid
combination for setting translation.
Signed-off-by: Alexander Fomichev <[email protected]>
Reviewed-by: Logan Gunthorpe <[email protected]>
Signed-off-by: Jon Mason <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions