Re: [PATCH 2/3] mm, compaction: cover all compaction mode in compact_zone

2016-03-08 Thread Hillf Danton
> > From: Michal Hocko > > the compiler is complaining after "mm, compaction: change COMPACT_ > constants into enum" > > mm/compaction.c: In function ‘compact_zone’: > mm/compaction.c:1350:2: warning: enumeration value ‘COMPACT_DEFERRED’ not > handled in switch [-Wswitch] > switch (ret) { >

Re: [PATCH 2/3] mm, compaction: cover all compaction mode in compact_zone

2016-03-08 Thread Vlastimil Babka
On 03/08/2016 02:42 PM, Michal Hocko wrote: > From: Michal Hocko > > the compiler is complaining after "mm, compaction: change COMPACT_ > constants into enum" Potentially a squash into that patch then? > mm/compaction.c: In function ‘compact_zone’: > mm/compaction.c:1350:2: warning: enumeration

[PATCH 2/3] mm, compaction: cover all compaction mode in compact_zone

2016-03-08 Thread Michal Hocko
From: Michal Hocko the compiler is complaining after "mm, compaction: change COMPACT_ constants into enum" mm/compaction.c: In function ‘compact_zone’: mm/compaction.c:1350:2: warning: enumeration value ‘COMPACT_DEFERRED’ not handled in switch [-Wswitch] switch (ret) { ^ mm/compaction.c:135