[PATCH v2 1/2] include: kernel.h: port find_closest() from Linux

Tom Rini trini at konsulko.com
Fri Mar 31 16:15:04 CEST 2023

On Mon, Mar 20, 2023 at 10:23:43AM +1300, Chris Packham wrote:

> The find_closest() macro can be used to find an element in a sorted
> array that is closest to an input value. Bring in this macro from
> Linux v6.3-rc1-2-g8ca09d5fa354.
> Signed-off-by: Chris Packham <judge.packham at gmail.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/next, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230331/72892870/attachment.sig>

More information about the U-Boot mailing list