here should be:+ target = cpumask_any(cpumask_of_node(dev_to_node(&hisi_ptt->pdev->dev)));the comment for cpumask_any() hints to check against nr_cpu_ids - any specific reason to check against nr_cpumask_bits?
+ if (target < nr_cpumask_bits) {
if (target >= nr_cpumask_bits) {
will fix this up.