Skip to contentSkip to conversation

linux-next: build warning after merge of the mm tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Apr 15, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the mm tree, today's linux-next build (htmldocs) produced this warning:

Documentation/ABI/testing/sys-kernel-mm-transparent-hugepage:2: ERROR: Unexpected indentation.

Introduced by commit

a70dabb40c3d ("mm: add docs for per-order mTHP counters and transhuge_page ABI")

from the mm-unstable branch of the mm tree.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Thanks, I admit I know nothing about sphinx, after google the similar warning, adding an extra line can fix this (I also noticed I should had named the file as sysfs but not sys to align with other ABI docs):

From ae3350752540696753940166e8e9f2da4b872760 Mon Sep 17 00:00:00 2001
From: Barry Song <[email protected]>
Date: Mon, 15 Apr 2024 17:37:04 +1200
Subject: [PATCH] sysfs-kernel-mm-transparent-hugepage: fix the name and
unexpected indentation

---
 ...transparent-hugepage => sysfs-kernel-mm-transparent-hugepage} | 1 +
 1 file changed, 1 insertion(+)
 rename Documentation/ABI/testing/{sys-kernel-mm-transparent-hugepage => sysfs-kernel-mm-transparent-hugepage} (99%)
Documentation/ABI/testing/sysfs-kernel-mm-transparent-hugepage renamed from Documentation/ABI/testing/sys-kernel-mm-transparent-hugepage +1 -0
similarity index 99%
rename from Documentation/ABI/testing/sys-kernel-mm-transparent-hugepage
rename to Documentation/ABI/testing/sysfs-kernel-mm-transparent-hugepage
index 33163eba5342..7bfbb9cc2c11 100644
@@ -4,6 +4,7 @@ Contact:	Linux memory management mailing list <[email protected]>
 Description:
 		/sys/kernel/mm/transparent_hugepage/ contains a number of files and
 		subdirectories,
+
 			- defrag
 			- enabled
 			- hpage_pmd_size
Signature · 1 line
2.34.1
Quoted 10 lines

Introduced by commit

a70dabb40c3d ("mm: add docs for per-order mTHP counters and transhuge_page ABI")

from the mm-unstable branch of the mm tree.

Signature · 2 lines
Cheers,
Stephen Rothwell

Thanks
Barry