Messages in this thread | | | Subject | Re: [PATCH 02/38] bus: arm-ccn: fix handling cpumask_any_but return value | From | Pawel Moll <> | Date | Mon, 21 Sep 2015 12:56:09 -0700 |
| |
Dnia 2015-09-21, Mon o godzinie 15:33 +0200, Andrzej Hajda pisze: > cpumask_any_but returns value >= nr_cpu_ids if there are no more CPUs. > > The problem has been detected using proposed semantic patch > scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. > > [1]: http://permalink.gmane.org/gmane.linux.kernel/2038576 > > Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
This has been already reported and discussed:
http://thread.gmane.org/gmane.linux.kernel.janitors/34058
but apparently slipped through cracks :-( therefore:
Acked-by: Pawel Moll <pawel.moll@arm.com>
Thanks for bringing it up again!
Pawel
| |