Re: [PATCH] ARM: configs: Drop duplicated CONFIG_EXT4_FS

Richard Cheng <[email protected]>
Newsgroups dev.linux.lists.soc,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel
Message-ID <ah_sf1lIBD8UcOHs@MWDK4CY14F>
On Wed, Jun 03, 2026 at 09:27:27AM +0800, Krzysztof Kozlowski wrote:
> Remove redundant, duplicated CONFIG_EXT4_FS to fix warnings like:
> 
>   axm55xx_defconfig:198:warning: override: reassigning to symbol EXT4_FS
> 
> Fixes: c065b6046b34 ("Use CONFIG_EXT4_FS instead of CONFIG_EXT3_FS in all of the defconfigs")
> Signed-off-by: Krzysztof Kozlowski <[email protected]>
> ---
>  arch/arm/configs/axm55xx_defconfig | 1 -
>  arch/arm/configs/dove_defconfig    | 1 -
>  arch/arm/configs/ep93xx_defconfig  | 1 -
>  arch/arm/configs/mmp2_defconfig    | 1 -
>  arch/arm/configs/mv78xx0_defconfig | 1 -
>  5 files changed, 5 deletions(-)
> 
> diff --git a/arch/arm/configs/axm55xx_defconfig b/arch/arm/configs/axm55xx_defconfig
> index 22b189090e15..0952e5e94c5e 100644
> --- a/arch/arm/configs/axm55xx_defconfig
> +++ b/arch/arm/configs/axm55xx_defconfig
> @@ -195,7 +195,6 @@ CONFIG_PL320_MBOX=y
>  # CONFIG_IOMMU_SUPPORT is not set
>  CONFIG_EXT2_FS=y
>  CONFIG_EXT4_FS=y
> -CONFIG_EXT4_FS=y
>  CONFIG_AUTOFS_FS=y
>  CONFIG_FUSE_FS=y
>  CONFIG_CUSE=y
> diff --git a/arch/arm/configs/dove_defconfig b/arch/arm/configs/dove_defconfig
> index e98c35df675e..3d978ce34b54 100644
> --- a/arch/arm/configs/dove_defconfig
> +++ b/arch/arm/configs/dove_defconfig
> @@ -97,7 +97,6 @@ CONFIG_MV_XOR=y
>  CONFIG_EXT2_FS=y
>  CONFIG_EXT4_FS=y
>  # CONFIG_EXT4_FS_XATTR is not set
> -CONFIG_EXT4_FS=y
>  CONFIG_ISO9660_FS=y
>  CONFIG_JOLIET=y
>  CONFIG_UDF_FS=m
> diff --git a/arch/arm/configs/ep93xx_defconfig b/arch/arm/configs/ep93xx_defconfig
> index 9f3c7324d1cf..ce41dc8c435c 100644
> --- a/arch/arm/configs/ep93xx_defconfig
> +++ b/arch/arm/configs/ep93xx_defconfig
> @@ -105,7 +105,6 @@ CONFIG_EP93XX_DMA=y
>  CONFIG_EXT2_FS=y
>  CONFIG_EXT4_FS=y
>  # CONFIG_EXT4_FS_XATTR is not set
> -CONFIG_EXT4_FS=y
>  CONFIG_VFAT_FS=y
>  CONFIG_TMPFS=y
>  CONFIG_JFFS2_FS=y
> diff --git a/arch/arm/configs/mmp2_defconfig b/arch/arm/configs/mmp2_defconfig
> index a9a212abfd69..0ea608c75f22 100644
> --- a/arch/arm/configs/mmp2_defconfig
> +++ b/arch/arm/configs/mmp2_defconfig
> @@ -54,7 +54,6 @@ CONFIG_RTC_DRV_MAX8925=y
>  # CONFIG_RESET_CONTROLLER is not set
>  CONFIG_EXT2_FS=y
>  CONFIG_EXT4_FS=y
> -CONFIG_EXT4_FS=y
>  # CONFIG_DNOTIFY is not set
>  CONFIG_MSDOS_FS=y
>  CONFIG_FAT_DEFAULT_CODEPAGE=437
> diff --git a/arch/arm/configs/mv78xx0_defconfig b/arch/arm/configs/mv78xx0_defconfig
> index d3a26efe766c..c6b46141cb69 100644
> --- a/arch/arm/configs/mv78xx0_defconfig
> +++ b/arch/arm/configs/mv78xx0_defconfig
> @@ -93,7 +93,6 @@ CONFIG_RTC_DRV_M41T80=y
>  CONFIG_EXT2_FS=y
>  CONFIG_EXT4_FS=y
>  # CONFIG_EXT4_FS_XATTR is not set
> -CONFIG_EXT4_FS=m
>  CONFIG_ISO9660_FS=m
>  CONFIG_JOLIET=y
>  CONFIG_UDF_FS=m
> -- 
> 2.53.0
> 
>

Hi Krzysztof,

LGTM.
Though I wonder which compiler did you use and how did you encounter
the warning? on what system if you may share with us?

Reviewed-by: Richard Cheng <[email protected]>

Best regards,
Richard Cheng.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.