Re: [PATCH] cpuset: remove function attribute const

2005-04-09 Thread Paul Jackson
Benoit wrote: > The following patch remove const from the function declaration. acked-by: Paul Jackson <[EMAIL PROTECTED]> -- I won't rest till it's the best ... Programmer, Linux Scalability Paul Jackson <[EMAIL PROTECTED]> 1.650.933.1373,

[PATCH] cpuset: remove function attribute const

2005-04-09 Thread Benoit Boissinot
gcc-4 warns with include/linux/cpuset.h:21: warning: type qualifiers ignored on function return type cpuset_cpus_allowed is declared with const extern const cpumask_t cpuset_cpus_allowed(const struct task_struct *p); First const should be __attribute__((const)), but the gcc manual explains that: