Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1229702

Re: [PATCH 02/38] bus: arm-ccn: fix handling cpumask_any_but return value

From Pawel Moll <pawel.moll@foss.arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH 02/38] bus: arm-ccn: fix handling cpumask_any_but return value
Date 2015-09-21 22:00 +0200
Message-ID <qbfpM-85w-3@gated-at.bofh.it> (permalink)
References <qb9u2-83M-3@gated-at.bofh.it> <qb9Np-8s4-53@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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



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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 02/38] bus: arm-ccn: fix handling cpumask_any_but return value Andrzej Hajda <a.hajda@samsung.com> - 2015-09-21 16:00 +0200
  Re: [PATCH 02/38] bus: arm-ccn: fix handling cpumask_any_but return  value Pawel Moll <pawel.moll@foss.arm.com> - 2015-09-21 22:00 +0200

csiph-web