tty: serial: samsung: Remove superfluous braces in macro
Subsystems (2)
PATCH 1/1 tty: serial: samsung: Remove superfluous braces in macro
Commit 59f37b7370ef ("tty: serial: samsung: Remove USI initialization") removes parameters from EXYNOS_COMMON_SERIAL_DRV_DATA() macro, but leaves unnecessary empty braces. Remove those to fix the style. No functional change.
--- drivers/tty/serial/samsung_tty.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/tty/serial/samsung_tty.c +4 -4
@@ -2452,7 +2452,7 @@ static const struct s3c24xx_serial_drv_data s5pv210_serial_drv_data = {#endif #if defined(CONFIG_ARCH_EXYNOS ) -#define EXYNOS_COMMON_SERIAL_DRV_DATA () \ +#define EXYNOS_COMMON_SERIAL_DRV_DATA \ .info = { \ .name = "Samsung Exynos UART", \ .type = TYPE_S3C6400, \
@@ -2477,17 +2477,17 @@ static const struct s3c24xx_serial_drv_data s5pv210_serial_drv_data = { } \static const struct s3c24xx_serial_drv_data exynos4210_serial_drv_data = { -EXYNOS_COMMON_SERIAL_DRV_DATA (), +EXYNOS_COMMON_SERIAL_DRV_DATA , .fifosize = {256 ,64 ,16 ,16 }, };static const struct s3c24xx_serial_drv_data exynos5433_serial_drv_data = { -EXYNOS_COMMON_SERIAL_DRV_DATA (), +EXYNOS_COMMON_SERIAL_DRV_DATA , .fifosize = {64 ,256 ,16 ,256 }, };static const struct s3c24xx_serial_drv_data exynos850_serial_drv_data = { -EXYNOS_COMMON_SERIAL_DRV_DATA (), +EXYNOS_COMMON_SERIAL_DRV_DATA , .fifosize = {256 ,64 ,64 ,64 }, };
Signature · 1 line
2.39.2
Quoted 9 lines · Sam Protsenko
Commit
59f37b7370ef("tty: serial: samsung: Remove USI initialization") removes parameters fromEXYNOS_COMMON_SERIAL_DRV_DATA()macro, but leaves unnecessary empty braces. Remove those to fix the style. No functional change.Fixes 59f37b7370ef ("tty: serial: samsung: Remove USI initialization")Signed-off-by Sam Protsenko <[email protected]>--- drivers/tty/serial/samsung_tty.c | 8 ++++----
I am pretty sure you did the patch on some old tree, not mainline rc1. Please work on maintainers tree (or linux-next).
Best regards,
Krzysztof
Quoted 7 lines · Krzysztof Kozlowski
Quoted 5 lines · Sam Protsenko
Commit
59f37b7370ef("tty: serial: samsung: Remove USI initialization") removes parameters fromEXYNOS_COMMON_SERIAL_DRV_DATA()macro, but leaves unnecessary empty braces. Remove those to fix the style. No functional change.
Quoted 8 lines
Quoted 4 lines
Fixes 59f37b7370ef ("tty: serial: samsung: Remove USI initialization")Signed-off-by Sam Protsenko <[email protected]>--- drivers/tty/serial/samsung_tty.c | 8 ++++----I am pretty sure you did the patch on some old tree, not mainline rc1. Please work on maintainers tree (or linux-next).
Hi Krzysztof,
I worked on linux-next, and rebased it on top of the latest linux-next yesterday, right before submitting. I distinctly remember solving a conflict while rebasing, due to the new commit 0b87a9fd670a ("tty:
serial: samsung: set UPIO_MEM32 iotype for gs101") which just got into linux-next yesterday. Please let me know if you want me to rebase it on another tree and re-submit.
Thanks!
Quoted 3 lines
Best regards,
Krzysztof
Quoted 18 lines · Sam Protsenko
Quoted 7 lines · Krzysztof Kozlowski
Quoted 5 lines · Sam Protsenko
Commit
59f37b7370ef("tty: serial: samsung: Remove USI initialization") removes parameters fromEXYNOS_COMMON_SERIAL_DRV_DATA()macro, but leaves unnecessary empty braces. Remove those to fix the style. No functional change.Quoted 8 lines
Quoted 4 lines
Fixes 59f37b7370ef ("tty: serial: samsung: Remove USI initialization")Signed-off-by Sam Protsenko <[email protected]>--- drivers/tty/serial/samsung_tty.c | 8 ++++----I am pretty sure you did the patch on some old tree, not mainline rc1. Please work on maintainers tree (or linux-next).
Quoted 9 lines
Hi Krzysztof,
I worked on linux-next, and rebased it on top of the latest linux-next yesterday, right before submitting. I distinctly remember solving a conflict while rebasing, due to the new commit
0b87a9fd670a("tty:
serial: samsung: setUPIO_MEM32iotype for gs101") which just got into linux-next yesterday. Please let me know if you want me to rebase it on another tree and re-submit.
Hmm... Almost two months ago GS101 was applied which also uses EXYNOS_COMMON_SERIAL_DRV_DATA, so should be in the hunks here, but maybye it's gone now?
Best regards,
Krzysztof
Krzysztof Kozlowski
Reviewed-byQuoted 6 lines · Krzysztof Kozlowski
Quoted 5 lines · Sam Protsenko
Commit
59f37b7370ef("tty: serial: samsung: Remove USI initialization") removes parameters fromEXYNOS_COMMON_SERIAL_DRV_DATA()macro, but leaves unnecessary empty braces. Remove those to fix the style. No functional change.
Quoted 7 lines
Quoted 4 lines
Fixes 59f37b7370ef ("tty: serial: samsung: Remove USI initialization")Signed-off-by Sam Protsenko <[email protected]>--- drivers/tty/serial/samsung_tty.c | 8 ++++----I am pretty sure you did the patch on some old tree, not mainline rc1. Please work on maintainers tree (or linux-next).
My bad, Tudor's patchset changed it few days ago and I missed that it was applied.
Best regards,
Krzysztof
Greg Kroah-Hartman
maintainerQuoted 6 lines · Sam Protsenko
Commit
59f37b7370ef("tty: serial: samsung: Remove USI initialization") removes parameters fromEXYNOS_COMMON_SERIAL_DRV_DATA()macro, but leaves unnecessary empty braces. Remove those to fix the style. No functional change.Fixes 59f37b7370ef ("tty: serial: samsung: Remove USI initialization")
"no functional change" don't really deserve a "Fixes:" tag. I'll go delete this when applying, thanks.
greg k-h