diff options
author | Simon Horman <horms@kernel.org> | 2024-08-01 21:00:03 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-08-02 16:32:29 -0700 |
commit | 7e1d512dab5042aa1c2224ed362be79e3f22a15e (patch) | |
tree | 0356e3d3e5e1cb9c8422676d8bf52671b8651c3f /tools/testing/selftests/bpf/prog_tests/tracing_struct.c | |
parent | d29dd11e1bb4bc50e96c0079c0b3952864833e2d (diff) |
linkmode: Change return type of linkmode_andnot to bool
linkmode_andnot() simply returns the result of bitmap_andnot().
And the return type of bitmap_andnot() is bool.
So it makes sense for the return type of linkmode_andnot()
to also be bool.
I checked all call-sites and they either ignore the return
value or treat it as a bool.
Compile tested only.
Link: https://lore.kernel.org/netdev/68088998-4486-4930-90a4-96a32f08c490@lunn.ch/
Signed-off-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20240801-linkfield-bowl-v1-1-d58f68967802@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tracing_struct.c')
0 files changed, 0 insertions, 0 deletions