Re: [PATCH v1] sched/topology: Make compiler happy about unused constant definitions

2020-08-25 Thread Andy Shevchenko
On Tue, Aug 25, 2020 at 01:00:12PM +0100, Valentin Schneider wrote: > On 25/08/20 12:32, Andy Shevchenko wrote: > > On Tue, Aug 25, 2020 at 02:26:05PM +0300, Andy Shevchenko wrote: > >> On Tue, Aug 25, 2020 at 02:24:05PM +0300, Andy Shevchenko wrote: > >> > On Tue, Aug 25, 2020 at 11:12:21AM

Re: [PATCH v1] sched/topology: Make compiler happy about unused constant definitions

2020-08-25 Thread Valentin Schneider
On 25/08/20 12:32, Andy Shevchenko wrote: > On Tue, Aug 25, 2020 at 02:26:05PM +0300, Andy Shevchenko wrote: >> On Tue, Aug 25, 2020 at 02:24:05PM +0300, Andy Shevchenko wrote: >> > On Tue, Aug 25, 2020 at 11:12:21AM +0100, Valentin Schneider wrote: >> > > On 25/08/20 10:03, Valentin Schneider

Re: [PATCH v1] sched/topology: Make compiler happy about unused constant definitions

2020-08-25 Thread Andy Shevchenko
On Tue, Aug 25, 2020 at 02:26:05PM +0300, Andy Shevchenko wrote: > On Tue, Aug 25, 2020 at 02:24:05PM +0300, Andy Shevchenko wrote: > > On Tue, Aug 25, 2020 at 11:12:21AM +0100, Valentin Schneider wrote: > > > On 25/08/20 10:03, Valentin Schneider wrote: > > > > On 25/08/20 09:26, Andy Shevchenko

Re: [PATCH v1] sched/topology: Make compiler happy about unused constant definitions

2020-08-25 Thread Andy Shevchenko
On Tue, Aug 25, 2020 at 11:12:21AM +0100, Valentin Schneider wrote: > On 25/08/20 10:03, Valentin Schneider wrote: > > On 25/08/20 09:26, Andy Shevchenko wrote: > >> On Mon, Aug 24, 2020 at 06:09:41PM +0100, Valentin Schneider wrote: > >>> On 24/08/20 16:39, Andy Shevchenko wrote: > >>> >

Re: [PATCH v1] sched/topology: Make compiler happy about unused constant definitions

2020-08-25 Thread 'Andy Shevchenko'
On Tue, Aug 25, 2020 at 10:23:05AM +, David Laight wrote: > From: Andy Shevchenko > > Sent: 25 August 2020 09:27 > > On Mon, Aug 24, 2020 at 06:09:41PM +0100, Valentin Schneider wrote: > > > On 24/08/20 16:39, Andy Shevchenko wrote: > > > > Compilation of almost each file ends up with > > > >

Re: [PATCH v1] sched/topology: Make compiler happy about unused constant definitions

2020-08-25 Thread Andy Shevchenko
On Tue, Aug 25, 2020 at 02:24:05PM +0300, Andy Shevchenko wrote: > On Tue, Aug 25, 2020 at 11:12:21AM +0100, Valentin Schneider wrote: > > On 25/08/20 10:03, Valentin Schneider wrote: > > > On 25/08/20 09:26, Andy Shevchenko wrote: > > >> On Mon, Aug 24, 2020 at 06:09:41PM +0100, Valentin

RE: [PATCH v1] sched/topology: Make compiler happy about unused constant definitions

2020-08-25 Thread David Laight
From: Andy Shevchenko > Sent: 25 August 2020 09:27 > > On Mon, Aug 24, 2020 at 06:09:41PM +0100, Valentin Schneider wrote: > > On 24/08/20 16:39, Andy Shevchenko wrote: > > > Compilation of almost each file ends up with > > > > > > In file included from .../include/linux/energy_model.h:10, > > >

Re: [PATCH v1] sched/topology: Make compiler happy about unused constant definitions

2020-08-25 Thread Valentin Schneider
On 25/08/20 10:03, Valentin Schneider wrote: > On 25/08/20 09:26, Andy Shevchenko wrote: >> On Mon, Aug 24, 2020 at 06:09:41PM +0100, Valentin Schneider wrote: >>> On 24/08/20 16:39, Andy Shevchenko wrote: >>> > Compilation of almost each file ends up with >>> > >>> > In file included from

Re: [PATCH v1] sched/topology: Make compiler happy about unused constant definitions

2020-08-25 Thread Valentin Schneider
On 25/08/20 09:26, Andy Shevchenko wrote: > On Mon, Aug 24, 2020 at 06:09:41PM +0100, Valentin Schneider wrote: >> On 24/08/20 16:39, Andy Shevchenko wrote: >> > Compilation of almost each file ends up with >> > >> > In file included from .../include/linux/energy_model.h:10, >> >

Re: [PATCH v1] sched/topology: Make compiler happy about unused constant definitions

2020-08-25 Thread Andy Shevchenko
On Mon, Aug 24, 2020 at 06:09:41PM +0100, Valentin Schneider wrote: > On 24/08/20 16:39, Andy Shevchenko wrote: > > Compilation of almost each file ends up with > > > > In file included from .../include/linux/energy_model.h:10, > > from .../include/linux/device.h:16, > >

Re: [PATCH v1] sched/topology: Make compiler happy about unused constant definitions

2020-08-24 Thread Valentin Schneider
Hi, On 24/08/20 16:39, Andy Shevchenko wrote: > Compilation of almost each file ends up with > > In file included from .../include/linux/energy_model.h:10, > from .../include/linux/device.h:16, > from .../drivers/spi/spi.c:8: >

[PATCH v1] sched/topology: Make compiler happy about unused constant definitions

2020-08-24 Thread Andy Shevchenko
Compilation of almost each file ends up with In file included from .../include/linux/energy_model.h:10, from .../include/linux/device.h:16, from .../drivers/spi/spi.c:8: .../include/linux/sched/topology.h:30:27: warning: ‘SD_DEGENERATE_GROUPS_MASK’ defined