[PATCH] docs: filesystems: ensure proc pid substitutable is complete

Thomas Böhler posted 1 patch 1 week, 1 day ago
There is a newer version of this series
Documentation/filesystems/proc.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] docs: filesystems: ensure proc pid substitutable is complete
Posted by Thomas Böhler 1 week, 1 day ago
The entry in proc.rst for 3.14 is missing the closing ">" of the "pid"
field for the ksm_stat file. Add this for both the table of contents and
the actual header for the "ksm_stat" file.

Signed-off-by: Thomas Böhler <witcher@wiredspace.de>
---
 Documentation/filesystems/proc.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst
index 8256e857e2d7..346816b02bac 100644
--- a/Documentation/filesystems/proc.rst
+++ b/Documentation/filesystems/proc.rst
@@ -48,7 +48,7 @@ fixes/update part 1.1  Stefani Seibold <stefani@seibold.net>    June 9 2009
   3.11	/proc/<pid>/patch_state - Livepatch patch operation state
   3.12	/proc/<pid>/arch_status - Task architecture specific information
   3.13  /proc/<pid>/fd - List of symlinks to open files
-  3.14  /proc/<pid/ksm_stat - Information about the process's ksm status.
+  3.14  /proc/<pid>/ksm_stat - Information about the process's ksm status.
 
   4	Configuring procfs
   4.1	Mount options
@@ -2289,7 +2289,7 @@ The number of open files for the process is stored in 'size' member
 of stat() output for /proc/<pid>/fd for fast access.
 -------------------------------------------------------
 
-3.14 /proc/<pid/ksm_stat - Information about the process's ksm status
+3.14 /proc/<pid>/ksm_stat - Information about the process's ksm status
 ---------------------------------------------------------------------
 When CONFIG_KSM is enabled, each process has this file which displays
 the information of ksm merging status.

---
base-commit: 6b8edfcd661b569f077cc1ea1f7463ec38547779
change-id: 20260130-ksm_stat-4d14366630ea

Best regards,
-- 
Thomas Böhler <witcher@wiredspace.de>

Re: [PATCH] docs: filesystems: ensure proc pid substitutable is complete
Posted by kernel test robot 1 week, 1 day ago
Hi Thomas,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 6b8edfcd661b569f077cc1ea1f7463ec38547779]

url:    https://github.com/intel-lab-lkp/linux/commits/Thomas-B-hler/docs-filesystems-ensure-proc-pid-substitutable-is-complete/20260130-232903
base:   6b8edfcd661b569f077cc1ea1f7463ec38547779
patch link:    https://lore.kernel.org/r/20260130-ksm_stat-v1-1-a6aa0da78de6%40wiredspace.de
patch subject: [PATCH] docs: filesystems: ensure proc pid substitutable is complete
reproduce: (https://download.01.org/0day-ci/archive/20260131/202601310140.l1CiA2nu-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202601310140.l1CiA2nu-lkp@intel.com/

All warnings (new ones prefixed by >>):

   ERROR: Cannot find file ./include/linux/jbd2.h
   ERROR: Cannot find file ./include/linux/jbd2.h
   WARNING: No kernel-doc for file ./include/linux/jbd2.h
   ERROR: Cannot find file ./include/linux/netfs.h
   WARNING: No kernel-doc for file ./include/linux/netfs.h
>> Documentation/filesystems/proc.rst:2293: WARNING: Title underline too short.
--
   3.14 /proc/<pid>/ksm_stat - Information about the process's ksm status
   --------------------------------------------------------------------- [docutils]
>> Documentation/filesystems/proc.rst:2293: WARNING: Title underline too short.


vim +2293 Documentation/filesystems/proc.rst

f1f1f2569901ec Ivan Babrou   2022-09-22  2291  
d5424c31b9e465 Thomas Böhler 2026-01-30  2292  3.14 /proc/<pid>/ksm_stat - Information about the process's ksm status
91fe0e4d044044 Andrew Morton 2025-01-10 @2293  ---------------------------------------------------------------------
3ab76c767bc783 xu xin        2025-01-10  2294  When CONFIG_KSM is enabled, each process has this file which displays
3ab76c767bc783 xu xin        2025-01-10  2295  the information of ksm merging status.
3ab76c767bc783 xu xin        2025-01-10  2296  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Re: [PATCH] docs: filesystems: ensure proc pid substitutable is complete
Posted by Randy Dunlap 1 week, 1 day ago

On 1/30/26 7:25 AM, Thomas Böhler wrote:
> The entry in proc.rst for 3.14 is missing the closing ">" of the "pid"
> field for the ksm_stat file. Add this for both the table of contents and
> the actual header for the "ksm_stat" file.
> 
> Signed-off-by: Thomas Böhler <witcher@wiredspace.de>

Acked-by: Randy Dunlap <rdunlap@infradead.org>

Thanks.

> ---
>  Documentation/filesystems/proc.rst | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst
> index 8256e857e2d7..346816b02bac 100644
> --- a/Documentation/filesystems/proc.rst
> +++ b/Documentation/filesystems/proc.rst
> @@ -48,7 +48,7 @@ fixes/update part 1.1  Stefani Seibold <stefani@seibold.net>    June 9 2009
>    3.11	/proc/<pid>/patch_state - Livepatch patch operation state
>    3.12	/proc/<pid>/arch_status - Task architecture specific information
>    3.13  /proc/<pid>/fd - List of symlinks to open files
> -  3.14  /proc/<pid/ksm_stat - Information about the process's ksm status.
> +  3.14  /proc/<pid>/ksm_stat - Information about the process's ksm status.
>  
>    4	Configuring procfs
>    4.1	Mount options
> @@ -2289,7 +2289,7 @@ The number of open files for the process is stored in 'size' member
>  of stat() output for /proc/<pid>/fd for fast access.
>  -------------------------------------------------------
>  
> -3.14 /proc/<pid/ksm_stat - Information about the process's ksm status
> +3.14 /proc/<pid>/ksm_stat - Information about the process's ksm status
>  ---------------------------------------------------------------------
>  When CONFIG_KSM is enabled, each process has this file which displays
>  the information of ksm merging status.
> 
> ---
> base-commit: 6b8edfcd661b569f077cc1ea1f7463ec38547779
> change-id: 20260130-ksm_stat-4d14366630ea
> 
> Best regards,

-- 
~Randy