<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-next.git/tools/lib/python, branch master</title>
<subtitle>Linux kernel latest source</subtitle>
<id>http://mirrors.hust.edu.cn/git/linux-next.git/atom?h=master</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/linux-next.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/linux-next.git/'/>
<updated>2026-08-11T16:36:28+00:00</updated>
<entry>
<title>docs: python: abi_regex: convert adjacent index placeholders</title>
<updated>2026-08-11T16:36:28+00:00</updated>
<author>
<name>Alison Schofield</name>
<email>alison.schofield@intel.com</email>
</author>
<published>2026-08-07T22:10:04+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/linux-next.git/commit/?id=47646ce123fbd07d7c4d8052831c35f58ffcd074'/>
<id>urn:sha1:47646ce123fbd07d7c4d8052831c35f58ffcd074</id>
<content type='text'>
While validating recent CXL ABI documentation updates with
get_abi.py, every decoderX.Y entry was reported as undocumented.

The placeholder conversion mishandles adjacent index placeholders,
producing patterns that cannot match the corresponding sysfs paths.
As a result, valid ABI entries are reported as undocumented.

Handle adjacent placeholders independently so generated patterns match
the documented paths. This fixes decoderX.Y entries in the CXL ABI and
other ABI documentation that uses the same naming convention.

Signed-off-by: Alison Schofield &lt;alison.schofield@intel.com&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Message-ID: &lt;cc893dca3aaa3ec833ba70d1f32c3e7342b7faf2.1786139549.git.alison.schofield@intel.com&gt;
</content>
</entry>
<entry>
<title>docs: python: abi_regex: catch the right exception for a bad regex</title>
<updated>2026-08-11T16:36:28+00:00</updated>
<author>
<name>Alison Schofield</name>
<email>alison.schofield@intel.com</email>
</author>
<published>2026-08-07T22:10:03+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/linux-next.git/commit/?id=02299dcd203c55d12238c95f1d028f06b90f1c1e'/>
<id>urn:sha1:02299dcd203c55d12238c95f1d028f06b90f1c1e</id>
<content type='text'>
While validating recent CXL ABI documentation updates with
get_abi.py, the 'undefined' mode was found to abort instead of
reporting undocumented ABI entries.

Older Python releases raise re.error, while newer releases expose
re.PatternError. Catching the compatible re.error exception handles
both cases.

Use re.error so the scan continues and reports the remaining
results.

Signed-off-by: Alison Schofield &lt;alison.schofield@intel.com&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Message-ID: &lt;9f6fa7a9aa6ba9a26b484b911976713356b3fd44.1786139549.git.alison.schofield@intel.com&gt;
</content>
</entry>
<entry>
<title>docs: xforms_lists: support DEFINE_IDTENTRY_IRQ()</title>
<updated>2026-08-03T18:57:56+00:00</updated>
<author>
<name>Randy Dunlap</name>
<email>rdunlap@infradead.org</email>
</author>
<published>2026-07-23T19:01:51+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/linux-next.git/commit/?id=7bcc15b25674b7443a69b887e2b223366a3ad26a'/>
<id>urn:sha1:7bcc15b25674b7443a69b887e2b223366a3ad26a</id>
<content type='text'>
Avoid kernel-doc warnings by supported DEFINE_IDTENTRY_IRQ() as a
function transform.

Warning: arch/x86/kernel/apic/apic.c:2157 function parameter
 'spurious_interrupt' not described in 'DEFINE_IDTENTRY_IRQ'
Warning: arch/x86/kernel/apic/apic.c:2157 expecting prototype for
 spurious_interrupt(). Prototype was for DEFINE_IDTENTRY_IRQ() instead

Signed-off-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Message-ID: &lt;20260723190151.507295-1-rdunlap@infradead.org&gt;
</content>
</entry>
<entry>
<title>docs: kdoc_parser: drop extraneous blank line in warning message</title>
<updated>2026-08-03T18:07:17+00:00</updated>
<author>
<name>Randy Dunlap</name>
<email>rdunlap@infradead.org</email>
</author>
<published>2026-07-29T05:27:36+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/linux-next.git/commit/?id=3046f4bebd5f322d73afbd1b7fad8ae4ee672284'/>
<id>urn:sha1:3046f4bebd5f322d73afbd1b7fad8ae4ee672284</id>
<content type='text'>
Drop an extra newline (blank line) on warning messages for (2 places):
  expecting prototype for typedef. Prototype was for typedef {symbol}
    instead
and
  expecting prototype for {struct|union}. Prototype was for struct|union
    {symbol} instead

This makes these messages consistent with the similar enum warning,
which has no extra blank line.

Signed-off-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Message-ID: &lt;20260729052736.1423688-1-rdunlap@infradead.org&gt;
</content>
</entry>
<entry>
<title>scripts/kernel-doc: Fix kdoc for Python 3.9-3.11</title>
<updated>2026-08-03T17:12:49+00:00</updated>
<author>
<name>Ryszard Knop</name>
<email>ryszard.knop@intel.com</email>
</author>
<published>2026-07-31T14:45:08+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/linux-next.git/commit/?id=5ffcd42a9af340764f9bd0ce3f50b156840c196a'/>
<id>urn:sha1:5ffcd42a9af340764f9bd0ce3f50b156840c196a</id>
<content type='text'>
The syntax used by the excess description suggestion change works on
Python 3.12+, while we need to support 3.9+.

Signed-off-by: Ryszard Knop &lt;ryszard.knop@intel.com&gt;
Tested-by: Akira Yokosawa &lt;akiyks@gmail.com&gt;
Fixes: d7758384ccb4 ("scripts/kernel-doc: Suggest possible names for excess descriptions")
Reported-by: Akira Yokosawa &lt;akiyks@gmail.com&gt;
Closes: https://lore.kernel.org/22a9276d-c103-4306-a617-7f34abcd5c29@gmail.com/
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Message-ID: &lt;20260731144508.912049-1-ryszard.knop@intel.com&gt;
</content>
</entry>
<entry>
<title>scripts/kernel-doc: Suggest possible names for excess descriptions</title>
<updated>2026-07-22T16:10:44+00:00</updated>
<author>
<name>Ryszard Knop</name>
<email>ryszard.knop@intel.com</email>
</author>
<published>2026-07-17T12:57:53+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/linux-next.git/commit/?id=d7758384ccb470aed7c7a86f0825b1b16bd7a288'/>
<id>urn:sha1:d7758384ccb470aed7c7a86f0825b1b16bd7a288</id>
<content type='text'>
Recent check_sections() change added a warning if a documentation tag
member name does not match the detected struct/union member names. Since
the checker knows all possible names, we can suggest known names, so
that it's more obvious how to deal with the warning.

Signed-off-by: Ryszard Knop &lt;ryszard.knop@intel.com&gt;
Tested-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Acked-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Message-ID: &lt;20260717125753.634550-1-ryszard.knop@intel.com&gt;
</content>
</entry>
<entry>
<title>docs: kdoc: fix troff output description typo</title>
<updated>2026-07-15T16:51:27+00:00</updated>
<author>
<name>Yousef Alhouseen</name>
<email>alhouseenyousef@gmail.com</email>
</author>
<published>2026-06-24T12:24:48+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/linux-next.git/commit/?id=b68f29353e5b9b7a9da5fdc5a49e695450ff57c7'/>
<id>urn:sha1:b68f29353e5b9b7a9da5fdc5a49e695450ff57c7</id>
<content type='text'>
Fix a typo in the ManFormat documentation string that describes the
generated troff title header fields.

Signed-off-by: Yousef Alhouseen &lt;alhouseenyousef@gmail.com&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Message-ID: &lt;20260624122448.4853-1-alhouseenyousef@gmail.com&gt;
</content>
</entry>
<entry>
<title>kdoc: xforms: ignore special static/inline macros</title>
<updated>2026-06-23T20:41:52+00:00</updated>
<author>
<name>Randy Dunlap</name>
<email>rdunlap@infradead.org</email>
</author>
<published>2026-06-12T23:44:56+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/linux-next.git/commit/?id=d42197c73550ac6fa724516e22709b0fe2c11951'/>
<id>urn:sha1:d42197c73550ac6fa724516e22709b0fe2c11951</id>
<content type='text'>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c contains 7 (for
now) functions that use STATIC_IFN_KUNIT or INLINE_IFN_KUNIT macros for
function qualifiers (static or not, inline or not).

These cause parse warnings from kernel-doc:
Invalid C declaration: Expected identifier in nested name, got keyword:
  struct [error at 29]
STATIC_IFN_KUNIT const struct drm_color_lut * __extract_blob_lut (const
  struct drm_property_blob *blob, uint32_t *size)

Handle these in kernel-doc to prevent multiple warnings.

Fixes: 647d1fd04652 ("drm/amd/display: Add KUnit test for color helpers")
Signed-off-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Message-ID: &lt;20260612234458.1084156-1-rdunlap@infradead.org&gt;
</content>
</entry>
<entry>
<title>kdoc: xforms_lists: handle DECLARE_PER_CPU() in kernel-doc</title>
<updated>2026-06-23T20:37:25+00:00</updated>
<author>
<name>Randy Dunlap</name>
<email>rdunlap@infradead.org</email>
</author>
<published>2026-06-14T05:24:52+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/linux-next.git/commit/?id=da5e67d0e18a935a4d9a3d2732c9546fd29ad3b1'/>
<id>urn:sha1:da5e67d0e18a935a4d9a3d2732c9546fd29ad3b1</id>
<content type='text'>
Add support for DECLARE_PER_CPU() as a var (variable) as used in
&lt;linux/netfilter/x_tables.h&gt;.

Warning: include/linux/netfilter/x_tables.h:345 function parameter 'seqcount_t' not described in 'DECLARE_PER_CPU'
Warning: include/linux/netfilter/x_tables.h:345 function parameter 'xt_recseq' not described in 'DECLARE_PER_CPU'

Signed-off-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Message-ID: &lt;20260614052452.1557987-1-rdunlap@infradead.org&gt;
</content>
</entry>
<entry>
<title>kernel-doc: xforms: support __SYSFS_FUNCTION_ALTERNATIVE()</title>
<updated>2026-06-23T20:31:25+00:00</updated>
<author>
<name>Randy Dunlap</name>
<email>rdunlap@infradead.org</email>
</author>
<published>2026-06-23T19:00:04+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/linux-next.git/commit/?id=3b61bb3fe1e6582673f19cc83f8d81644f2a5092'/>
<id>urn:sha1:3b61bb3fe1e6582673f19cc83f8d81644f2a5092</id>
<content type='text'>
Add support for __SYSFS_FUNCTION_ALTERNATIVE() to create a union of its
members (as though CONFIG_CFI is unset).

Fixes these docs build warnings:

WARNING: include/linux/device.h:117 Invalid param: __SYSFS_FUNCTION_ALTERNATIVE( ssize_t (*show)(struct device *dev, struct device_attribute *attr, char *buf)
WARNING: include/linux/device.h:117 struct member '__SYSFS_FUNCTION_ALTERNATIVE( ssize_t (*show' not described in 'device_attribute'
WARNING: include/linux/device.h:117 Invalid param: __SYSFS_FUNCTION_ALTERNATIVE( ssize_t (*store)(struct device *dev, struct device_attribute *attr, const char *buf, size_t count)
WARNING: include/linux/device.h:117 struct member '__SYSFS_FUNCTION_ALTERNATIVE( ssize_t (*store' not described in 'device_attribute'

Signed-off-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Reviewed-by: Thomas Weißschuh &lt;linux@weissschuh.net&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
Message-ID: &lt;20260623190006.406571-1-rdunlap@infradead.org&gt;
</content>
</entry>
</feed>
