[PATCH] stm32mp: stm32prog: Normalise newlines

The missing trailing newline could confuse check-config.sh if the definition of an option was on the first line of the next file that find(1) happened to return.
Signed-off-by: William Grant wgrant@ubuntu.com --- arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig b/arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig index f4c0d18d4d..dd166a1f91 100644 --- a/arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig +++ b/arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig @@ -1,4 +1,3 @@ - config CMD_STM32PROG bool "command stm32prog for STM32CudeProgrammer" select DFU @@ -31,4 +30,4 @@ config CMD_STM32PROG_SERIAL help activate the command "stm32prog serial" for STM32MP soc family with the tools STM32CubeProgrammer using U-Boot serial device - and UART protocol. \ No newline at end of file + and UART protocol.

On 10/13/21 11:56 AM, William Grant wrote:
The missing trailing newline could confuse check-config.sh if the definition of an option was on the first line of the next file that find(1) happened to return.
Signed-off-by: William Grant wgrant@ubuntu.com
arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig b/arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig index f4c0d18d4d..dd166a1f91 100644 --- a/arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig +++ b/arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig @@ -1,4 +1,3 @@
- config CMD_STM32PROG bool "command stm32prog for STM32CudeProgrammer" select DFU
@@ -31,4 +30,4 @@ config CMD_STM32PROG_SERIAL help activate the command "stm32prog serial" for STM32MP soc family with the tools STM32CubeProgrammer using U-Boot serial device
and UART protocol.
\ No newline at end of file
and UART protocol.
Reviewed-by: Patrick Delaunay patrick.delaunay@foss.st.com
Thanks Patrick

Hi Patrick
On 10/21/21 2:48 PM, Patrick DELAUNAY wrote:
On 10/13/21 11:56 AM, William Grant wrote:
The missing trailing newline could confuse check-config.sh if the definition of an option was on the first line of the next file that find(1) happened to return.
Signed-off-by: William Grant wgrant@ubuntu.com
arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig b/arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig index f4c0d18d4d..dd166a1f91 100644 --- a/arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig +++ b/arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig @@ -1,4 +1,3 @@
config CMD_STM32PROG bool "command stm32prog for STM32CudeProgrammer" select DFU @@ -31,4 +30,4 @@ config CMD_STM32PROG_SERIAL help activate the command "stm32prog serial" for STM32MP soc family with the tools STM32CubeProgrammer using U-Boot serial device - and UART protocol. \ No newline at end of file + and UART protocol.
Reviewed-by: Patrick Delaunay patrick.delaunay@foss.st.com
Thanks Patrick
Applied on u-boot-stm/master Thanks
participants (3)
-
Patrice CHOTARD
-
Patrick DELAUNAY
-
William Grant