diff options
author | Pawel Moll <[email protected]> | 2015-10-15 14:32:45 +0100 |
---|---|---|
committer | Arnd Bergmann <[email protected]> | 2015-10-15 17:10:02 +0200 |
commit | b20519fd5007908c6a816cab1b9db911915e9fbd (patch) | |
tree | 27a98db1c8e54c655c33bf08de82c05f0f3aadd6 /lib/mpi/mpi-internal.h | |
parent | f9e5ca86eeaae430e70b05ec312372dca1055d8d (diff) |
bus: arm-ccn: Handle correctly no-more-cpus case
When migrating events the driver picks another cpu using
cpumask_any_but() function, which returns value >= nr_cpu_ids
when there is none available, not a negative value as the code
assumed. Fixed now.
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Pawel Moll <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions