aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorJiri Pirko <[email protected]>2023-12-07 16:12:04 +0100
committerDavid S. Miller <[email protected]>2023-12-13 10:31:19 +0000
commit4f7aa122bc9219baca0bfface5917062d6c45ee8 (patch)
treee4f2b1ecfe14cfb2bd8716f6050bead9da123542 /tools/testing/selftests/bpf/progs/test_autoload.c
parent9bab51bd662be4c3ebb18a28879981d69f3ef15a (diff)
dpll: remove leftover mode_supported() op and use mode_get() instead
Mode supported is currently reported to the user exactly the same, as the current mode. That's because mode changing is not implemented. Remove the leftover mode_supported() op and use mode_get() to fill up the supported mode exposed to user. One, if even, mode changing is going to be introduced, this could be very easily taken back. In the meantime, prevent drivers form implementing this in wrong way (as for example recent netdevsim implementation attempt intended to do). Signed-off-by: Jiri Pirko <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions