Skip to content

Commit 7210de3

Browse files
committed
Merge tag 'docs-6.5-2' of git://git.lwn.net/linux
Pull mode documentation updates from Jonathan Corbet: "A half-dozen late arriving docs patches. They are mostly fixes, but we also have a kernel-doc tweak for enums and the long-overdue removal of the outdated and redundant patch-submission comments at the top of the MAINTAINERS file" * tag 'docs-6.5-2' of git://git.lwn.net/linux: scripts: kernel-doc: support private / public marking for enums Documentation: KVM: SEV: add a missing backtick Documentation: ACPI: fix typo in ssdt-overlays.rst Fix documentation of panic_on_warn docs: remove the tips on how to submit patches from MAINTAINERS docs: fix typo in zh_TW and zh_CN translation
2 parents 1793eac + e27cb89 commit 7210de3

File tree

15 files changed

+24
-90
lines changed

15 files changed

+24
-90
lines changed

Diff for: Documentation/admin-guide/acpi/ssdt-overlays.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ allows a persistent, OS independent way of storing the user defined SSDTs. There
103103
is also work underway to implement EFI support for loading user defined SSDTs
104104
and using this method will make it easier to convert to the EFI loading
105105
mechanism when that will arrive. To enable it, the
106-
CONFIG_EFI_CUSTOM_SSDT_OVERLAYS shoyld be chosen to y.
106+
CONFIG_EFI_CUSTOM_SSDT_OVERLAYS should be chosen to y.
107107

108108
In order to load SSDTs from an EFI variable the ``"efivar_ssdt=..."`` kernel
109109
command line parameter can be used (the name has a limitation of 16 characters).

Diff for: Documentation/admin-guide/kernel-parameters.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4064,7 +4064,7 @@
40644064
extra details on the taint flags that users can pick
40654065
to compose the bitmask to assign to panic_on_taint.
40664066

4067-
panic_on_warn panic() instead of WARN(). Useful to cause kdump
4067+
panic_on_warn=1 panic() instead of WARN(). Useful to cause kdump
40684068
on a WARN().
40694069

40704070
parkbd.port= [HW] Parallel port number the keyboard adapter is

Diff for: Documentation/process/6.Followthrough.rst

+7
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,13 @@ mind:
5151
working toward the creation of the best kernel they can; they are not
5252
trying to create discomfort for their employers' competitors.
5353

54+
- Be prepared for seemingly silly requests for coding style changes
55+
and requests to factor out some of your code to shared parts of
56+
the kernel. One job the maintainers do is to keep things looking
57+
the same. Sometimes this means that the clever hack in your driver
58+
to get around a problem actually needs to become a generalized
59+
kernel feature ready for next time.
60+
5461
What all of this comes down to is that, when reviewers send you comments,
5562
you need to pay attention to the technical observations that they are
5663
making. Do not let their form of expression or your own pride keep that

Diff for: Documentation/translations/zh_CN/process/2.Process.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ Andrew Morton 为有抱负的内核开发人员提供了如下建议
358358
机器上始终完美运行”。通常的方法是和其他人一起解决问题(这可能需
359359
要坚持!),但就是如此——这是内核开发的一部分。
360360

361-
(http://lwn.net/articles/283982/)
361+
(http://lwn.net/Articles/283982/)
362362

363363
在没有明显问题需要解决的情况下,通常建议开发人员查看当前的回归和开放缺陷
364364
列表。从来都不缺少需要解决的问题;通过解决这些问题,开发人员将从该过程获得

Diff for: Documentation/translations/zh_CN/process/3.Early-stage.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
试图向这些人传达用户需求是浪费时间。他们太“聪明”了,根本听不到少数
4545
人的话。
4646

47-
(http://lwn.net/articles/131776/)
47+
(http://lwn.net/Articles/131776/)
4848

4949
实际情况却是不同的;与特定模块相比,内核开发人员更关心系统稳定性、长期维护
5050
以及找到问题的正确解决方案。这个故事的寓意是把重点放在问题上——而不是具体的

Diff for: Documentation/translations/zh_CN/process/4.Coding.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Linus对这个问题给出了最佳答案:
149149
所以我们不会通过引入新问题来修复错误。这种方式是靠不住的,没人知道
150150
是否真的有进展。是前进两步、后退一步,还是前进一步、后退两步?
151151

152-
(http://lwn.net/articles/243460/)
152+
(http://lwn.net/Articles/243460/)
153153

154154
特别不受欢迎的一种回归类型是用户空间ABI的任何变化。一旦接口被导出到用户空间,
155155
就必须无限期地支持它。这一事实使得用户空间接口的创建特别具有挑战性:因为它们

Diff for: Documentation/translations/zh_CN/process/7.AdvancedTopics.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Git提供了一些强大的工具,可以让您重写开发历史。一个不
9898
你可以给我发补丁,但当我从你那里拉取一个Git补丁时,我需要知道你清楚
9999
自己在做什么,我需要能够相信事情而 *无需* 手动检查每个单独的更改。
100100

101-
(http://lwn.net/articles/224135/)。
101+
(http://lwn.net/Articles/224135/)。
102102

103103
为了避免这种情况,请确保给定分支中的所有补丁都与相关主题紧密相关;“驱动程序
104104
修复”分支不应更改核心内存管理代码。而且,最重要的是,不要使用Git树来绕过

Diff for: Documentation/translations/zh_TW/process/2.Process.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ Andrew Morton 爲有抱負的內核開發人員提供了如下建議
361361
機器上始終完美運行」。通常的方法是和其他人一起解決問題(這可能需
362362
要堅持!),但就是如此——這是內核開發的一部分。
363363

364-
(http://lwn.net/articles/283982/)
364+
(http://lwn.net/Articles/283982/)
365365

366366
在沒有明顯問題需要解決的情況下,通常建議開發人員查看當前的回歸和開放缺陷
367367
列表。從來都不缺少需要解決的問題;通過解決這些問題,開發人員將從該過程獲得

Diff for: Documentation/translations/zh_TW/process/3.Early-stage.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
試圖向這些人傳達用戶需求是浪費時間。他們太「聰明」了,根本聽不到少數
4848
人的話。
4949

50-
(http://lwn.net/articles/131776/)
50+
(http://lwn.net/Articles/131776/)
5151

5252
實際情況卻是不同的;與特定模塊相比,內核開發人員更關心系統穩定性、長期維護
5353
以及找到問題的正確解決方案。這個故事的寓意是把重點放在問題上——而不是具體的

Diff for: Documentation/translations/zh_TW/process/4.Coding.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Linus對這個問題給出了最佳答案:
152152
所以我們不會通過引入新問題來修復錯誤。這種方式是靠不住的,沒人知道
153153
是否真的有進展。是前進兩步、後退一步,還是前進一步、後退兩步?
154154

155-
(http://lwn.net/articles/243460/)
155+
(http://lwn.net/Articles/243460/)
156156

157157
特別不受歡迎的一種回歸類型是用戶空間ABI的任何變化。一旦接口被導出到用戶空間,
158158
就必須無限期地支持它。這一事實使得用戶空間接口的創建特別具有挑戰性:因爲它們

Diff for: Documentation/translations/zh_TW/process/7.AdvancedTopics.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Git提供了一些強大的工具,可以讓您重寫開發歷史。一個不
101101
你可以給我發補丁,但當我從你那裡拉取一個Git補丁時,我需要知道你清楚
102102
自己在做什麼,我需要能夠相信事情而 *無需* 手動檢查每個單獨的更改。
103103

104-
(http://lwn.net/articles/224135/)。
104+
(http://lwn.net/Articles/224135/)。
105105

106106
爲了避免這種情況,請確保給定分支中的所有補丁都與相關主題緊密相關;「驅動程序
107107
修復」分支不應更改核心內存管理代碼。而且,最重要的是,不要使用Git樹來繞過

Diff for: Documentation/virt/kvm/x86/amd-memory-encryption.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ information, see the SEV Key Management spec [api-spec]_
5757

5858
The main ioctl to access SEV is KVM_MEMORY_ENCRYPT_OP. If the argument
5959
to KVM_MEMORY_ENCRYPT_OP is NULL, the ioctl returns 0 if SEV is enabled
60-
and ``ENOTTY` if it is disabled (on some older versions of Linux,
60+
and ``ENOTTY`` if it is disabled (on some older versions of Linux,
6161
the ioctl runs normally even with a NULL argument, and therefore will
6262
likely return ``EFAULT``). If non-NULL, the argument to KVM_MEMORY_ENCRYPT_OP
6363
must be a struct kvm_sev_cmd::

Diff for: MAINTAINERS

+2-78
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,5 @@
1-
List of maintainers and how to submit kernel changes
2-
====================================================
3-
4-
Please try to follow the guidelines below. This will make things
5-
easier on the maintainers. Not all of these guidelines matter for every
6-
trivial patch so apply some common sense.
7-
8-
Tips for patch submitters
9-
-------------------------
10-
11-
1. Always *test* your changes, however small, on at least 4 or
12-
5 people, preferably many more.
13-
14-
2. Try to release a few ALPHA test versions to the net. Announce
15-
them onto the kernel channel and await results. This is especially
16-
important for device drivers, because often that's the only way
17-
you will find things like the fact version 3 firmware needs
18-
a magic fix you didn't know about, or some clown changed the
19-
chips on a board and not its name. (Don't laugh! Look at the
20-
SMC etherpower for that.)
21-
22-
3. Make sure your changes compile correctly in multiple
23-
configurations. In particular check that changes work both as a
24-
module and built into the kernel.
25-
26-
4. When you are happy with a change make it generally available for
27-
testing and await feedback.
28-
29-
5. Make a patch available to the relevant maintainer in the list. Use
30-
``diff -u`` to make the patch easy to merge. Be prepared to get your
31-
changes sent back with seemingly silly requests about formatting
32-
and variable names. These aren't as silly as they seem. One
33-
job the maintainers (and especially Linus) do is to keep things
34-
looking the same. Sometimes this means that the clever hack in
35-
your driver to get around a problem actually needs to become a
36-
generalized kernel feature ready for next time.
37-
38-
PLEASE check your patch with the automated style checker
39-
(scripts/checkpatch.pl) to catch trivial style violations.
40-
See Documentation/process/coding-style.rst for guidance here.
41-
42-
PLEASE CC: the maintainers and mailing lists that are generated
43-
by ``scripts/get_maintainer.pl.`` The results returned by the
44-
script will be best if you have git installed and are making
45-
your changes in a branch derived from Linus' latest git tree.
46-
See Documentation/process/submitting-patches.rst for details.
47-
48-
PLEASE try to include any credit lines you want added with the
49-
patch. It avoids people being missed off by mistake and makes
50-
it easier to know who wants adding and who doesn't.
51-
52-
PLEASE document known bugs. If it doesn't work for everything
53-
or does something very odd once a month document it.
54-
55-
PLEASE remember that submissions must be made under the terms
56-
of the Linux Foundation certificate of contribution and should
57-
include a Signed-off-by: line. The current version of this
58-
"Developer's Certificate of Origin" (DCO) is listed in the file
59-
Documentation/process/submitting-patches.rst.
60-
61-
6. Make sure you have the right to send any changes you make. If you
62-
do changes at work you may find your employer owns the patch
63-
not you.
64-
65-
7. When sending security related changes or reports to a maintainer
66-
please Cc: [email protected], especially if the maintainer
67-
does not respond. Please keep in mind that the security team is
68-
a small set of people who can be efficient only when working on
69-
verified bugs. Please only Cc: this list when you have identified
70-
that the bug would present a short-term risk to other users if it
71-
were publicly disclosed. For example, reports of address leaks do
72-
not represent an immediate threat and are better handled publicly,
73-
and ideally, should come with a patch proposal. Please do not send
74-
automated reports to this list either. Such bugs will be handled
75-
better and faster in the usual public places. See
76-
Documentation/process/security-bugs.rst for details.
77-
78-
8. Happy hacking.
1+
List of maintainers
2+
===================
793

804
Descriptions of section entries and preferred order
815
---------------------------------------------------

Diff for: scripts/kernel-doc

+3
Original file line numberDiff line numberDiff line change
@@ -1319,6 +1319,9 @@ sub dump_enum($$) {
13191319
my $file = shift;
13201320
my $members;
13211321

1322+
# ignore members marked private:
1323+
$x =~ s/\/\*\s*private:.*?\/\*\s*public:.*?\*\///gosi;
1324+
$x =~ s/\/\*\s*private:.*}/}/gosi;
13221325

13231326
$x =~ s@/\*.*?\*/@@gos; # strip comments.
13241327
# strip #define macros inside enums

Diff for: tools/testing/selftests/rcutorture/bin/kvm.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -655,4 +655,4 @@ fi
655655
# Control buffer size: --bootargs trace_buf_size=3k
656656
# Get trace-buffer dumps on all oopses: --bootargs ftrace_dump_on_oops
657657
# Ditto, but dump only the oopsing CPU: --bootargs ftrace_dump_on_oops=orig_cpu
658-
# Heavy-handed way to also dump on warnings: --bootargs panic_on_warn
658+
# Heavy-handed way to also dump on warnings: --bootargs panic_on_warn=1

0 commit comments

Comments
 (0)