Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b558cb35 authored by Yinghai Lu's avatar Yinghai Lu Committed by Ingo Molnar
Browse files

dyn_array: fix typo



Andrew found the typo could break some platforms.

also fix a checkpatch warning.

Signed-off-by: default avatarYinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 02c1df19
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ void __init pre_alloc_dyn_array(void)
			da->init_work(da);
	}
#else
#ifdef CONFIF_GENERIC_HARDIRQS
#ifdef CONFIG_GENERIC_HARDIRQS
	unsigned int i;

	for (i = 0; i < NR_IRQS; i++)
@@ -117,10 +117,9 @@ void __init per_cpu_alloc_dyn_array(int cpu, char *ptr)

		phys += size;

		if (da->init_work) {
		if (da->init_work)
			da->init_work(da);
	}
	}
#endif
}
#endif