On Sun, Nov 15, 2020 at 02:06:23PM +0200, Leon Romanovsky wrote: > From: Maor Gottlieb <maorg@xxxxxxxxxx> > > Add missing define of ALIGN_DOWN to make the test build and run. > In addition, __sg_alloc_table_from_pages now support unaligned maximum > segment, so adapt the test result accordingly. > > Fixes: 07da1223ec93 ("lib/scatterlist: Add support in dynamic allocation of SG table from pages") > Signed-off-by: Maor Gottlieb <maorg@xxxxxxxxxx> > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx> > --- > tools/testing/scatterlist/linux/mm.h | 1 + > tools/testing/scatterlist/main.c | 4 ++-- > 2 files changed, 3 insertions(+), 2 deletions(-) Applied to for-rc, thanks Jason