lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAKfTPtDp2-Jicp2JL_OHvFFfZ9+DArk-XP61dBB=ufJCR1ffpQ@mail.gmail.com>
Date:	Sun, 18 May 2014 10:04:01 +0200
From:	Vincent Guittot <vincent.guittot@...aro.org>
To:	James Hogan <james.hogan@...tec.com>
Cc:	Ingo Molnar <mingo@...nel.org>, Hanjun Guo <hanjun.guo@...aro.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Peter Zijlstra <peterz@...radead.org>,
	"schwidefsky@...ibm.com" <schwidefsky@...ibm.com>,
	Chris Metcalf <cmetcalf@...era.com>,
	Christoph Lameter <cl@...ux.com>,
	Jason Low <jason.low2@...com>,
	"tony.luck@...el.com" <tony.luck@...el.com>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	"heiko.carstens@...ibm.com" <heiko.carstens@...ibm.com>,
	Thomas Gleixner <tglx@...utronix.de>,
	LKML <linux-kernel@...r.kernel.org>,
	"H. Peter Anvin" <hpa@...or.com>,
	Dietmar Eggemann <dietmar.eggemann@....com>,
	"David S. Miller" <davem@...emloft.net>, bhelgaas@...gle.com,
	Benjamin Herrenschmidt <benh@...nel.crashing.org>,
	Preeti U Murthy <preeti@...ux.vnet.ibm.com>,
	"fenghua.yu@...el.com" <fenghua.yu@...el.com>,
	linux-tip-commits@...r.kernel.org,
	metag <linux-metag@...r.kernel.org>
Subject: Re: [tip:sched/core] sched: Rework sched_domain topology definition

On 16 May 2014 11:57, James Hogan <james.hogan@...tec.com> wrote:
> Hi Vincent,
>

[snip]

>
>
>> diff --git a/include/linux/sched.h b/include/linux/sched.h
>> index 2a4298f..656b035 100644
>> --- a/include/linux/sched.h
>> +++ b/include/linux/sched.h
>> @@ -985,6 +1006,38 @@ void free_sched_domains(cpumask_var_t doms[], unsigned int ndoms);
>>
>>  bool cpus_share_cache(int this_cpu, int that_cpu);
>>
>> +typedef const struct cpumask *(*sched_domain_mask_f)(int cpu);
>> +typedef const int (*sched_domain_flags_f)(void);
>
> I just noticed, since May 9th, linux-next (ARCH=metag, gcc 4.2.4, with
> meta2_smp_defconfig) is showing loads of warnings due to the above
> line:
>
> include/linux/sched.h +1010 : warning: type qualifiers ignored on
> function return type
>
> Looks to me that the const serves no purpose in this context and could
> be removed.

Hi James,

Ok, i'm going to have a look a it. I haven't seen such warning during
my test but my configuration was different (ARCH=ARM gcc 4.7.1)

Thanks,
Vincent

>
> Cheers
> James
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ