Re: [PATCH] topology: Fix compilation warning when not in SMP

2014-04-05 Thread Greg Kroah-Hartman
On Sat, Apr 05, 2014 at 02:30:27PM +0200, Vincent wrote: > On 04/05/2014 01:49 AM, Greg Kroah-Hartman wrote: > > Warnings aren't a stable kernel issue, so why would this be relevant > > there? > > Oh, sorry about that. I'll go re-read the stable kernel rules again. > > Shall I re-post without the

Re: [PATCH] topology: Fix compilation warning when not in SMP

2014-04-05 Thread Vincent
On 04/05/2014 01:49 AM, Greg Kroah-Hartman wrote: Warnings aren't a stable kernel issue, so why would this be relevant there? Oh, sorry about that. I'll go re-read the stable kernel rules again. Shall I re-post without the stable Cc:, for only mainline and next? Best regards, V. -- To unsub

Re: [PATCH] topology: Fix compilation warning when not in SMP

2014-04-04 Thread Greg Kroah-Hartman
On Fri, Apr 04, 2014 at 08:43:18AM +0200, Vincent Stehlé wrote: > The topology_##name() macro does not use its argument when CONFIG_SMP is not > set, as it ultimately calls the cpu_data() macro. > > So we avoid maintaining a possibly unused `cpu' variable, to avoid the > following compilation warn

[PATCH] topology: Fix compilation warning when not in SMP

2014-04-03 Thread Vincent Stehlé
The topology_##name() macro does not use its argument when CONFIG_SMP is not set, as it ultimately calls the cpu_data() macro. So we avoid maintaining a possibly unused `cpu' variable, to avoid the following compilation warning: drivers/base/topology.c: In function ‘show_physical_package_id’: