aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorAlexander Fomichev <[email protected]>2020-02-13 18:05:07 +0300
committerJon Mason <[email protected]>2020-03-13 10:03:49 -0400
commit788b041afd9a66ce3871734e87e908dc47739f39 (patch)
tree5a03c3f62facdaf149a336fe8693e1091acfd17d /tools/testing/selftests/bpf/prog_tests/autoload.c
parent2ef97a6c181eba48f14c9ed98ce4398d21164683 (diff)
ntb_hw_switchtec: Fix ntb_mw_clear_trans error if size == 0
ntb_mw_set_trans() should work as ntb_mw_clear_trans() when size == 0 and/or addr == 0. But error in xlate_pos checking condition prevents this. Fix the condition to make ntb_mw_clear_trans() working. Fixes: 87d11e645e31 (NTB: switchtec_ntb: Add memory window support) Signed-off-by: Alexander Fomichev <[email protected]> Reviewed-by: Logan Gunthorpe <[email protected]> Signed-off-by: Jon Mason <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions