From 7b06ff772080919fdb194c95af6b1e3acb079b71 Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Fri, 19 Jun 2026 14:58:27 +0200 Subject: [PATCH 1/2] ARM: s3c: Replace __ASSEMBLY__ with __ASSEMBLER__ in header files While the GCC and Clang compilers already define __ASSEMBLER__ automatically when compiling assembly code, __ASSEMBLY__ is a macro that only gets defined by the Makefiles in the kernel. This can be very confusing when switching between userspace and kernelspace coding, or when dealing with uapi headers that rather should use __ASSEMBLER__ instead. So let's standardize now on the __ASSEMBLER__ macro that is provided by the compilers. This is a completely mechanical patch (done with a simple "sed -i" statement). Signed-off-by: Thomas Huth Link: https://patch.msgid.link/20260619125827.215977-1-thuth@redhat.com Signed-off-by: Krzysztof Kozlowski --- arch/arm/mach-s3c/map-base.h | 2 +- include/linux/serial_s3c.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-s3c/map-base.h b/arch/arm/mach-s3c/map-base.h index 463a995b399b..beb58e6f12e1 100644 --- a/arch/arm/mach-s3c/map-base.h +++ b/arch/arm/mach-s3c/map-base.h @@ -20,7 +20,7 @@ #define S3C_ADDR_BASE 0xF6000000 -#ifndef __ASSEMBLY__ +#ifndef __ASSEMBLER__ #define S3C_ADDR(x) ((void __iomem __force *)S3C_ADDR_BASE + (x)) #else #define S3C_ADDR(x) (S3C_ADDR_BASE + (x)) diff --git a/include/linux/serial_s3c.h b/include/linux/serial_s3c.h index 102aa33d956c..f54cb6e23f85 100644 --- a/include/linux/serial_s3c.h +++ b/include/linux/serial_s3c.h @@ -269,7 +269,7 @@ #define APPLE_S5L_UTRSTAT_RXTO BIT(9) #define APPLE_S5L_UTRSTAT_ALL_FLAGS GENMASK(9, 3) -#ifndef __ASSEMBLY__ +#ifndef __ASSEMBLER__ #include @@ -294,7 +294,7 @@ struct s3c2410_uartcfg { unsigned long ufcon; /* value of ufcon for port */ }; -#endif /* __ASSEMBLY__ */ +#endif /* __ASSEMBLER__ */ #endif /* __ASM_ARM_REGS_SERIAL_H */ From f839968769b64bb81878a626d34097959ab79295 Mon Sep 17 00:00:00 2001 From: Krzysztof Kozlowski Date: Mon, 27 Jul 2026 11:24:49 +0200 Subject: [PATCH 2/2] MAINTAINERS: Drop redundant lists from various Samsung entries Individual driver maintainer entries (not subsystem) do not need to repeat the generic subsystem mailing lists in "L:", because get_maintainers.pl will get them from the subsystem entry. They only need to mention additional lists specific to Samsung stuff, like linux-samsung-soc@vger.kernel.org. Drop generic lists from almost all of the Samsung entries where all the files are already covered by the subsystem entry. Cc: Jonathan Cameron Cc: linux-samsung-soc@vger.kernel.org Cc: Peter Griffin Cc: Alim Akhtar Signed-off-by: Krzysztof Kozlowski Link: https://patch.msgid.link/20260727092451.43570-2-krzysztof.kozlowski@oss.qualcomm.com Signed-off-by: Krzysztof Kozlowski --- MAINTAINERS | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 15011f5752a9..74c376f5c009 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3550,14 +3550,12 @@ N: s5pv210 ARM/SAMSUNG S5P SERIES 2D GRAPHICS ACCELERATION (G2D) SUPPORT M: Łukasz Stelmach L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) -L: linux-media@vger.kernel.org S: Maintained F: drivers/media/platform/samsung/s5p-g2d/ ARM/SAMSUNG S5P SERIES HDMI CEC SUBSYSTEM SUPPORT M: Marek Szyprowski L: linux-samsung-soc@vger.kernel.org -L: linux-media@vger.kernel.org S: Maintained F: Documentation/devicetree/bindings/media/cec/samsung,s5p-cec.yaml F: drivers/media/cec/platform/s5p/ @@ -3567,7 +3565,6 @@ M: Andrzej Pietrasiewicz M: Jacek Anaszewski M: Sylwester Nawrocki L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) -L: linux-media@vger.kernel.org S: Maintained F: Documentation/devicetree/bindings/media/samsung,s5pv210-jpeg.yaml F: drivers/media/platform/samsung/s5p-jpeg/ @@ -3576,7 +3573,6 @@ ARM/SAMSUNG S5P SERIES Multi Format Codec (MFC) SUPPORT M: Marek Szyprowski M: Andrzej Hajda L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) -L: linux-media@vger.kernel.org S: Maintained F: Documentation/devicetree/bindings/media/samsung,s5p-mfc.yaml F: drivers/media/platform/samsung/s5p-mfc/ @@ -5650,7 +5646,6 @@ F: drivers/media/pci/bt8xx/bttv* BUS FREQUENCY DRIVER FOR SAMSUNG EXYNOS M: Chanwoo Choi -L: linux-pm@vger.kernel.org L: linux-samsung-soc@vger.kernel.org S: Maintained T: git git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux.git @@ -16042,7 +16037,6 @@ F: drivers/power/supply/max77976_charger.c MAXIM MUIC CHARGER DRIVERS FOR EXYNOS BASED BOARDS M: Krzysztof Kozlowski -L: linux-pm@vger.kernel.org S: Maintained B: mailto:linux-samsung-soc@vger.kernel.org F: Documentation/devicetree/bindings/power/supply/maxim,max14577.yaml @@ -20737,7 +20731,6 @@ F: drivers/pci/controller/dwc/*rcar* PCI DRIVER FOR SAMSUNG EXYNOS M: Jingoo Han -L: linux-pci@vger.kernel.org L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) L: linux-samsung-soc@vger.kernel.org S: Maintained @@ -23995,7 +23988,6 @@ F: include/dt-bindings/clock/exynos850.h SAMSUNG EXYNOS ACPM MAILBOX PROTOCOL M: Tudor Ambarus -L: linux-kernel@vger.kernel.org L: linux-samsung-soc@vger.kernel.org S: Supported F: Documentation/devicetree/bindings/firmware/google,gs101-acpm-ipc.yaml @@ -24005,7 +23997,6 @@ F: include/linux/firmware/samsung/exynos-acpm-protocol.h SAMSUNG EXYNOS MAILBOX DRIVER M: Tudor Ambarus -L: linux-kernel@vger.kernel.org L: linux-samsung-soc@vger.kernel.org S: Supported F: Documentation/devicetree/bindings/mailbox/google,gs101-mbox.yaml @@ -24035,7 +24026,6 @@ F: drivers/platform/x86/samsung-galaxybook.c SAMSUNG INTERCONNECT DRIVERS M: Sylwester Nawrocki M: Artur Świgoń -L: linux-pm@vger.kernel.org L: linux-samsung-soc@vger.kernel.org S: Supported F: drivers/interconnect/samsung/ @@ -24048,7 +24038,6 @@ F: drivers/platform/x86/samsung-laptop.c SAMSUNG MULTIFUNCTION PMIC DEVICE DRIVERS M: André Draszik -L: linux-kernel@vger.kernel.org L: linux-samsung-soc@vger.kernel.org S: Maintained B: mailto:linux-samsung-soc@vger.kernel.org @@ -24067,7 +24056,6 @@ F: include/linux/mfd/samsung/ SAMSUNG S3C24XX/S3C64XX SOC SERIES CAMIF DRIVER M: Sylwester Nawrocki -L: linux-media@vger.kernel.org L: linux-samsung-soc@vger.kernel.org S: Maintained F: drivers/media/platform/samsung/s3c-camif/ @@ -24082,14 +24070,12 @@ F: drivers/nfc/s3fwrn5 SAMSUNG S5C73M3 CAMERA DRIVER M: Sylwester Nawrocki M: Andrzej Hajda -L: linux-media@vger.kernel.org S: Supported F: Documentation/devicetree/bindings/media/samsung,s5c73m3.yaml F: drivers/media/i2c/s5c73m3/* SAMSUNG S5K3M5 CAMERA DRIVER M: Vladimir Zapolskiy -L: linux-media@vger.kernel.org S: Maintained T: git git://linuxtv.org/media_tree.git F: Documentation/devicetree/bindings/media/i2c/samsung,s5k3m5.yaml @@ -24098,13 +24084,11 @@ F: drivers/media/i2c/s5k3m5.c SAMSUNG S5K5BAF CAMERA DRIVER M: Sylwester Nawrocki M: Andrzej Hajda -L: linux-media@vger.kernel.org S: Supported F: drivers/media/i2c/s5k5baf.c SAMSUNG S5KJN1 CAMERA DRIVER M: Vladimir Zapolskiy -L: linux-media@vger.kernel.org S: Maintained T: git git://linuxtv.org/media_tree.git F: Documentation/devicetree/bindings/media/i2c/samsung,s5kjn1.yaml @@ -24113,7 +24097,6 @@ F: drivers/media/i2c/s5kjn1.c SAMSUNG S5P Security SubSystem (SSS) DRIVER M: Krzysztof Kozlowski M: Vladimir Zapolskiy -L: linux-crypto@vger.kernel.org L: linux-samsung-soc@vger.kernel.org S: Maintained F: Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml @@ -24122,7 +24105,6 @@ F: drivers/crypto/s5p-sss.c SAMSUNG S5P/EXYNOS4 SOC SERIES CAMERA SUBSYSTEM DRIVERS M: Sylwester Nawrocki -L: linux-media@vger.kernel.org S: Supported Q: https://patchwork.linuxtv.org/project/linux-media/list/ F: Documentation/devicetree/bindings/media/samsung,exynos4210-csis.yaml @@ -24152,7 +24134,6 @@ F: include/linux/clk/samsung.h SAMSUNG SPI DRIVERS M: Andi Shyti R: Tudor Ambarus -L: linux-spi@vger.kernel.org L: linux-samsung-soc@vger.kernel.org S: Maintained F: Documentation/devicetree/bindings/spi/samsung,spi*.yaml @@ -24168,7 +24149,6 @@ F: drivers/net/ethernet/samsung/sxgbe/ SAMSUNG THERMAL DRIVER M: Bartlomiej Zolnierkiewicz M: Krzysztof Kozlowski -L: linux-pm@vger.kernel.org L: linux-samsung-soc@vger.kernel.org S: Maintained F: Documentation/devicetree/bindings/thermal/samsung,exynos-thermal.yaml @@ -27740,7 +27720,6 @@ F: drivers/ufs/host/*dwc* UNIVERSAL FLASH STORAGE HOST CONTROLLER DRIVER EXYNOS HOOKS M: Alim Akhtar R: Peter Griffin -L: linux-scsi@vger.kernel.org L: linux-samsung-soc@vger.kernel.org S: Maintained F: drivers/ufs/host/ufs-exynos*