Merge tag 'drm-next-2020-12-11' of git://anongit.freedesktop.org/drm/drm
[linux-2.6-microblaze.git] / tools / testing / scatterlist / main.c
index f561aed..8a577c9 100644 (file)
@@ -50,7 +50,7 @@ static void fail(struct test *test, struct sg_table *st, const char *cond)
 
 int main(void)
 {
-       const unsigned int sgmax = SCATTERLIST_MAX_SEGMENT;
+       const unsigned int sgmax = UINT_MAX;
        struct test *test, tests[] = {
                { -EINVAL, 1, pfn(0), PAGE_SIZE, 0, 1 },
                { 0, 1, pfn(0), PAGE_SIZE, PAGE_SIZE + 1, 1 },