@@ -95,11 +95,11 @@ static int get_nodes_in_cpumask(cpumask_var_t *node_to_cpumask,
95
95
}
96
96
97
97
static int __irq_build_affinity_masks (const struct irq_affinity * affd ,
98
- int startvec , int numvecs , int firstvec ,
99
- cpumask_var_t * node_to_cpumask ,
100
- const struct cpumask * cpu_mask ,
101
- struct cpumask * nmsk ,
102
- struct cpumask * masks )
98
+ int startvec , int numvecs , int firstvec ,
99
+ cpumask_var_t * node_to_cpumask ,
100
+ const struct cpumask * cpu_mask ,
101
+ struct cpumask * nmsk ,
102
+ struct cpumask * masks )
103
103
{
104
104
int n , nodes , cpus_per_vec , extra_vecs , done = 0 ;
105
105
int last_affv = firstvec + numvecs ;
@@ -180,10 +180,10 @@ static int irq_build_affinity_masks(const struct irq_affinity *affd,
180
180
cpumask_var_t nmsk , npresmsk ;
181
181
182
182
if (!zalloc_cpumask_var (& nmsk , GFP_KERNEL ))
183
- return ret ;
183
+ return ret ;
184
184
185
185
if (!zalloc_cpumask_var (& npresmsk , GFP_KERNEL ))
186
- goto fail ;
186
+ goto fail ;
187
187
188
188
ret = 0 ;
189
189
/* Stabilize the cpumasks */
@@ -212,7 +212,7 @@ static int irq_build_affinity_masks(const struct irq_affinity *affd,
212
212
put_online_cpus ();
213
213
214
214
if (nr_present < numvecs )
215
- WARN_ON (nr_present + nr_others < numvecs );
215
+ WARN_ON (nr_present + nr_others < numvecs );
216
216
217
217
free_cpumask_var (npresmsk );
218
218
@@ -271,9 +271,9 @@ irq_create_affinity_masks(int nvecs, const struct irq_affinity *affd)
271
271
ret = irq_build_affinity_masks (affd , curvec , this_vecs ,
272
272
curvec , node_to_cpumask , masks );
273
273
if (ret ) {
274
- kfree (masks );
275
- masks = NULL ;
276
- goto outnodemsk ;
274
+ kfree (masks );
275
+ masks = NULL ;
276
+ goto outnodemsk ;
277
277
}
278
278
curvec += this_vecs ;
279
279
usedvecs += this_vecs ;
0 commit comments