On Mon, Nov 1, 2021 at 1:00 PM Hans de Goede <hdegoede@xxxxxxxxxx> wrote: > On 11/1/21 11:42, Andy Shevchenko wrote: > > On Mon, Nov 1, 2021 at 12:27 PM Hans de Goede <hdegoede@xxxxxxxxxx> wrote: ... > > While at it, recently I have learned about util_macros.h. Any use of it here? > > Or amending it there and re-using it here? > > That only works on straight integer/long/float arrays, not > on arrays of structs where we are looking for a specific member of > the struct to be closest. And reworking that to also work on > structs is really (really really) out of scope for this patch-set. Consider above as just heads up: a new header (helpers) is in the town. -- With Best Regards, Andy Shevchenko