projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'drm-next-2020-12-11' of git://anongit.freedesktop.org/drm/drm
[linux-2.6-microblaze.git]
/
tools
/
testing
/
scatterlist
/
main.c
diff --git
a/tools/testing/scatterlist/main.c
b/tools/testing/scatterlist/main.c
index
f561aed
..
8a577c9
100644
(file)
--- a/
tools/testing/scatterlist/main.c
+++ b/
tools/testing/scatterlist/main.c
@@
-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 },