[PATCH v11 5/8] clocksource/drivers/arm_arch_timer: Simplify ACPI support code.

Thomas Gleixner tglx at linutronix.de
Tue Sep 6 07:36:25 PDT 2016


On Tue, 6 Sep 2016, fu.wei at linaro.org wrote:
> +	if (timer_count < 0)
> +		pr_err("Failed to get platform timer info, skipping.\n");

So this prints something about skipping. But then it continues as if
nothing went wrong. That's either wrong or confusing or both.

> -	arch_timer_init();
> -	return 0;
> +	return arch_timer_init();

Thanks,

	tglx



More information about the linux-arm-kernel mailing list