]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
cpusets: scan_for_empty_cpusets(), cpuset doesn't seem to be so const
authorFrederic Weisbecker <fweisbec@gmail.com>
Fri, 3 Oct 2008 10:10:10 +0000 (12:10 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 3 Oct 2008 11:39:50 +0000 (13:39 +0200)
commitd294eb83d8d39a29f01dad391f15fc3a29aa04f9
tree39e8bbcf4f4778e7aa29ef2df66e0b10d1097bbe
parentb5ff7df3df9efab511244d5a299fce706c71af48
cpusets: scan_for_empty_cpusets(), cpuset doesn't seem to be so const

This fixes a warning on latest -tip:

 kernel/cpuset.c: Dans la fonction «scan_for_empty_cpusets» :
 kernel/cpuset.c:1932: attention : passing argument 1 of «list_add_tail» discards qualifiers from pointer target type

Actually the struct cpuset *root passed in parameter to scan_for_empty_cpusets
is not supposed to be const since an entry is added on the tail of its list.
Just correct the qualifier.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/cpuset.c