zephyr/scripts/checkpatch
Erwan Gouriou 3b4544005c scripts/checkpatch: typdefsfile: Derogate on STM32Cube CMSIS *_TypeDef
Add a derogation to checkpatch's 'SPACING' rule, which randomly returns
the following type of issue when STM32Cube HAL *_TypeDef are used:

-:10: ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#10: FILE: drivers/adc/adc_stm32.c:806:
+	ADC_TypeDef *adc = config->base;

This derogation applies to all _TypDef structures defined in STM32Cube
CMSIS descriptions:
FMC_Bank1E_6_TypeDef
DMA_Channel_TypeDef
ADC_TypeDef

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
2022-03-21 10:11:54 +01:00
..
check_known_checkpatch_issues.sh
do_checkpatch.sh
maintainer-checkpatch.bash
timestamp
typedefsfile scripts/checkpatch: typdefsfile: Derogate on STM32Cube CMSIS *_TypeDef 2022-03-21 10:11:54 +01:00