This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 8029d19dcfb fs/procfs: Remove the DISABLE_MOUNTPOINT terms that 
FS_PROCFS implies.
8029d19dcfb is described below

commit 8029d19dcfb7c3fc49d027b521222e5fc4fc9af0
Author: Marco Casaroli <[email protected]>
AuthorDate: Wed Nov 11 08:12:09 2026 +0100

    fs/procfs: Remove the DISABLE_MOUNTPOINT terms that FS_PROCFS implies.
    
    FS_PROCFS depends on !DISABLE_MOUNTPOINT since 62b0d344ec4.  Four options
    inside "if FS_PROCFS" (FS_PROCFS_EXCLUDE_BLOCKS, _MOUNT, _MOUNTS, _USAGE)
    and three arch options that depend on FS_PROCFS (STM32_CCM_PROCFS,
    GD32F4_TCM_PROCFS, S32K1XX_RESETCAUSE_PROCFS) still had their own
    "!DISABLE_MOUNTPOINT" term.  The term has no effect now.
    
    Remove the seven terms.  The resulting .config of a configuration does
    not change.
    
    Assisted-by: Claude Code:claude-opus-5-5
    Signed-off-by: Marco Casaroli <[email protected]>
---
 arch/arm/src/common/stm32/Kconfig.memory | 2 +-
 arch/arm/src/gd32f4/Kconfig              | 2 +-
 arch/arm/src/s32k1xx/Kconfig             | 2 +-
 fs/procfs/Kconfig                        | 4 ----
 4 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/arch/arm/src/common/stm32/Kconfig.memory 
b/arch/arm/src/common/stm32/Kconfig.memory
index 7ab6138be10..a3ed441470a 100644
--- a/arch/arm/src/common/stm32/Kconfig.memory
+++ b/arch/arm/src/common/stm32/Kconfig.memory
@@ -86,7 +86,7 @@ config STM32_CCMEXCLUDE
 config STM32_CCM_PROCFS
        bool "CCM PROCFS support"
        default n
-       depends on !DISABLE_MOUNTPOINT && FS_PROCFS && FS_PROCFS_REGISTER
+       depends on FS_PROCFS && FS_PROCFS_REGISTER
        ---help---
                Select to build in support for /proc/ccm.  Reading from 
/proc/ccm
                will provide statistics about CCM memory use similar to what you
diff --git a/arch/arm/src/gd32f4/Kconfig b/arch/arm/src/gd32f4/Kconfig
index c2d60e0c311..d3120f9335b 100644
--- a/arch/arm/src/gd32f4/Kconfig
+++ b/arch/arm/src/gd32f4/Kconfig
@@ -708,7 +708,7 @@ config GD32F4_TCMEXCLUDE
 config GD32F4_TCM_PROCFS
        bool "TCM PROCFS support"
        default n
-       depends on !DISABLE_MOUNTPOINT && FS_PROCFS && FS_PROCFS_REGISTER
+       depends on FS_PROCFS && FS_PROCFS_REGISTER
        ---help---
                Select to build in support for /proc/tcm.  Reading from 
/proc/tcm
                will provide statistics about TCM memory use similar to what you
diff --git a/arch/arm/src/s32k1xx/Kconfig b/arch/arm/src/s32k1xx/Kconfig
index 4cb4f317c39..31828a2443b 100644
--- a/arch/arm/src/s32k1xx/Kconfig
+++ b/arch/arm/src/s32k1xx/Kconfig
@@ -357,7 +357,7 @@ menu "S32K1xx Reset Control Module (RCM)"
 config S32K1XX_RESETCAUSE_PROCFS
        bool "S32K1XX MCU Reset Cause PROCFS entry"
        default n
-       depends on !DISABLE_MOUNTPOINT && FS_PROCFS && FS_PROCFS_REGISTER
+       depends on FS_PROCFS && FS_PROCFS_REGISTER
 
 endmenu # S32K1XX Reset Control Module (RCM)
 
diff --git a/fs/procfs/Kconfig b/fs/procfs/Kconfig
index c4994744a05..a0a9877f49a 100644
--- a/fs/procfs/Kconfig
+++ b/fs/procfs/Kconfig
@@ -26,7 +26,6 @@ menu "Exclude individual procfs entries"
 
 config FS_PROCFS_EXCLUDE_BLOCKS
        bool "Exclude fs/blocks information"
-       depends on !DISABLE_MOUNTPOINT
        default DEFAULT_SMALL
        ---help---
                Causes the fs block usage information to be excluded from the 
procfs
@@ -95,7 +94,6 @@ config FS_PROCFS_EXCLUDE_MODULE
 
 config FS_PROCFS_EXCLUDE_MOUNT
        bool "Exclude fs/mount information"
-       depends on !DISABLE_MOUNTPOINT
        default DEFAULT_SMALL
        ---help---
                Causes the mount point information to be excluded from the 
procfs
@@ -104,7 +102,6 @@ config FS_PROCFS_EXCLUDE_MOUNT
 
 config FS_PROCFS_EXCLUDE_MOUNTS
        bool "Exclude mounts"
-       depends on !DISABLE_MOUNTPOINT
        default DEFAULT_SMALL
 
 config FS_PROCFS_EXCLUDE_NET
@@ -138,7 +135,6 @@ config FS_PROCFS_EXCLUDE_UPTIME
 
 config FS_PROCFS_EXCLUDE_USAGE
        bool "Exclude fs/usage information"
-       depends on !DISABLE_MOUNTPOINT
        default DEFAULT_SMALL
        ---help---
                Causes the fs usage information to be excluded from the procfs

Reply via email to