This is an automated email from Gerrit. "Antonio Borneo <borneo.anto...@gmail.com>" just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/8491
-- gerrit commit 9f311c5bfd2f38d871c5c3686e1f8a05f6c6156a Author: Antonio Borneo <borneo.anto...@gmail.com> Date: Mon Sep 16 10:42:47 2024 +0200 flash: stm32l4x: fix open brace style Checkpatch triggers the error ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line Fix it! Change-Id: I0ce4585a6507eca094b82cdabdecf6fdbe7923b1 Signed-off-by: Antonio Borneo <borneo.anto...@gmail.com> diff --git a/src/flash/nor/stm32l4x.c b/src/flash/nor/stm32l4x.c index 9235dd7877..d66a83dd34 100644 --- a/src/flash/nor/stm32l4x.c +++ b/src/flash/nor/stm32l4x.c @@ -717,7 +717,8 @@ struct range { }; static void bitmap_to_ranges(unsigned long *bitmap, unsigned int nbits, - struct range *ranges, unsigned int *ranges_count) { + struct range *ranges, unsigned int *ranges_count) +{ *ranges_count = 0; bool last_bit = 0, cur_bit; for (unsigned int i = 0; i < nbits; i++) { --