Re: [linux-yocto] [4.12] [PATCH] clocksource/drivers/arm_arch_timer: Fix mem frame loop initialization

2018-05-30 Thread Bruce Ashfield
merged. Bruce On 05/30/2018 04:46 AM, quanyang.w...@windriver.com wrote: From: Matthias Kaehlcke commit d197f7988721221fac64f899efd7657c15281810 upstream The loop to find the best memory frame in arch_timer_mem_acpi_init() initializes the loop counter with itself ('i = i'), which is

[linux-yocto] [4.12] [PATCH] clocksource/drivers/arm_arch_timer: Fix mem frame loop initialization

2018-05-30 Thread quanyang.wang
From: Matthias Kaehlcke commit d197f7988721221fac64f899efd7657c15281810 upstream The loop to find the best memory frame in arch_timer_mem_acpi_init() initializes the loop counter with itself ('i = i'), which is suspicious in the first place and pointed out by clang. The loop condition is 'i <