From ea5866e5f00d363317f5255b3d218da4a6c2bd1d Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Fri, 17 May 2019 23:23:10 +0200 Subject: [PATCH] kconfig: Use 'CONFIG_FOO_*' in #endif comments to avoid CI failures https://github.com/zephyrproject-rtos/ci-tools/pull/65 tweaks the check for references to undefined Kconfig symbol to whitelist anything on the form 'CONFIG_FOO_*' (or 'CONFIG_FOO_*_...'). This is meant for #endif comments that talk about many related symbols. Fix two existing #endif comments to use that format, so that some entries can be removed from the whitelist in the CI check. Signed-off-by: Ulf Magnusson --- drivers/clock_control/clock_stm32_ll_common.c | 2 +- drivers/gpio/gpio_stm32.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clock_control/clock_stm32_ll_common.c b/drivers/clock_control/clock_stm32_ll_common.c index 24844494ef7..a59767380eb 100644 --- a/drivers/clock_control/clock_stm32_ll_common.c +++ b/drivers/clock_control/clock_stm32_ll_common.c @@ -344,7 +344,7 @@ static int stm32_clock_control_init(struct device *dev) LL_RCC_HSI_Disable(); LL_RCC_MSI_Disable(); -#endif /* CONFIG_CLOCK_STM32_PLL_SRC_... */ +#endif /* CONFIG_CLOCK_STM32_PLL_SRC_* */ #elif CONFIG_CLOCK_STM32_SYSCLK_SRC_HSE diff --git a/drivers/gpio/gpio_stm32.h b/drivers/gpio/gpio_stm32.h index 970d9c68667..16325d23f66 100644 --- a/drivers/gpio/gpio_stm32.h +++ b/drivers/gpio/gpio_stm32.h @@ -133,7 +133,7 @@ #define STM32_PERIPH_GPIOD LL_AHB2_GRP1_PERIPH_GPIOD #define STM32_PERIPH_GPIOE LL_AHB2_GRP1_PERIPH_GPIOE #define STM32_PERIPH_GPIOH LL_AHB2_GRP1_PERIPH_GPIOH -#endif /* CONFIG_SOC_SERIES_.. */ +#endif /* CONFIG_SOC_SERIES_* */ #ifdef CONFIG_SOC_SERIES_STM32F1X #define STM32_PINCFG_MODE_OUTPUT (STM32_MODE_OUTPUT \