Re: [PATCH] mm: gup: fix comment of __get_user_pages()

2019-10-23 Thread John Hubbard
On 10/23/19 6:51 AM, Liu Xiang wrote: > Because nr_pages is unsigned long, it can not be negative. > > Signed-off-by: Liu Xiang > --- > mm/gup.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/mm/gup.c b/mm/gup.c > index 8f236a3..0236954 100644 > --- a/mm/gup.c

Re: [PATCH] mm: gup: fix comment of __get_user_pages()

2019-10-23 Thread David Hildenbrand
On 23.10.19 15:51, Liu Xiang wrote: > Because nr_pages is unsigned long, it can not be negative. > > Signed-off-by: Liu Xiang > --- > mm/gup.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/mm/gup.c b/mm/gup.c > index 8f236a3..0236954 100644 > --- a/mm/gup.c >

[PATCH] mm: gup: fix comment of __get_user_pages()

2019-10-23 Thread Liu Xiang
Because nr_pages is unsigned long, it can not be negative. Signed-off-by: Liu Xiang --- mm/gup.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mm/gup.c b/mm/gup.c index 8f236a3..0236954 100644 --- a/mm/gup.c +++ b/mm/gup.c @@ -735,10 +735,10 @@ static int