On Mon, 2024-10-21 at 19:27 -0300, Gustavo Sousa wrote: > We are currently using ARRAY_SIZE() to iterate address ranges in > intel_dmc_wl_check_range(). In upcoming changes, we will be using more > than a single table and will extract the range checking logic into a > dedicated function that takes a range table as argument. As we will not > able to use ARRAY_SIZE() then, let's make range tables contain a > sentinel item at the end and use that instead of having to pass the size > as parameter in this future function. > > Signed-off-by: Gustavo Sousa <gustavo.sousa@xxxxxxxxx> > --- Reviewed-by: Luca Coelho <luciano.coelho@xxxxxxxxx> -- Cheers, Luca.