Re: [PATCH v1 1/6] mm: Section numbers use the type "unsigned long"

2019-06-18 Thread Michael Ellerman
Andrew Morton writes: > On Sat, 15 Jun 2019 10:06:54 +0200 Christophe Leroy > wrote: >> Le 14/06/2019 à 21:00, Andrew Morton a écrit : >> > On Fri, 14 Jun 2019 12:01:09 +0200 David Hildenbrand >> > wrote: >> > >> >> We are using a mixture of "int" and "unsigned long". Let's make this >> >> co

Re: [PATCH v1 1/6] mm: Section numbers use the type "unsigned long"

2019-06-17 Thread Andrew Morton
On Sat, 15 Jun 2019 10:06:54 +0200 Christophe Leroy wrote: > > > Le 14/06/2019 à 21:00, Andrew Morton a écrit : > > On Fri, 14 Jun 2019 12:01:09 +0200 David Hildenbrand > > wrote: > > > >> We are using a mixture of "int" and "unsigned long". Let's make this > >> consistent by using "unsigne

Re: [PATCH v1 1/6] mm: Section numbers use the type "unsigned long"

2019-06-15 Thread Christophe Leroy
Le 14/06/2019 à 21:00, Andrew Morton a écrit : On Fri, 14 Jun 2019 12:01:09 +0200 David Hildenbrand wrote: We are using a mixture of "int" and "unsigned long". Let's make this consistent by using "unsigned long" everywhere. We'll do the same with memory block ids next. ... - int i,

Re: [PATCH v1 1/6] mm: Section numbers use the type "unsigned long"

2019-06-14 Thread David Hildenbrand
On 14.06.19 21:00, Andrew Morton wrote: > On Fri, 14 Jun 2019 12:01:09 +0200 David Hildenbrand wrote: > >> We are using a mixture of "int" and "unsigned long". Let's make this >> consistent by using "unsigned long" everywhere. We'll do the same with >> memory block ids next. >> >> ... >> >> -

Re: [PATCH v1 1/6] mm: Section numbers use the type "unsigned long"

2019-06-14 Thread Andrew Morton
On Fri, 14 Jun 2019 12:01:09 +0200 David Hildenbrand wrote: > We are using a mixture of "int" and "unsigned long". Let's make this > consistent by using "unsigned long" everywhere. We'll do the same with > memory block ids next. > > ... > > - int i, ret, section_count = 0; > + unsigned l

[PATCH v1 1/6] mm: Section numbers use the type "unsigned long"

2019-06-14 Thread David Hildenbrand
We are using a mixture of "int" and "unsigned long". Let's make this consistent by using "unsigned long" everywhere. We'll do the same with memory block ids next. Cc: Greg Kroah-Hartman Cc: "Rafael J. Wysocki" Cc: Andrew Morton Cc: Vlastimil Babka Cc: Michal Hocko Cc: Dan Williams Cc: Mel Go