On Mon, Dec 11, 2023 at 12:21 PM <lukas.funke-...@weidmueller.com> wrote: > > From: Lukas Funke <lukas.fu...@weidmueller.com> > > Add generic 'find_next_zero_bit' implementation in order to enable the > use of the 'for_each_set_bitrange' macro. The implementation is currently > missing for the sandbox-arch and using the function results in a linker > error. > > There are more efficient implementations in the architecture specific > implementations. However, for the sandbox the implementation should be > simple and portable. > > Signed-off-by: Lukas Funke <lukas.fu...@weidmueller.com> > --- > > arch/sandbox/include/asm/bitops.h | 16 ++++++++++++++-- > 1 file changed, 14 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org> Could you add a test to test/lib perhaps?