mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 04:33:26 +02:00
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
This commit is contained in:
@@ -1319,6 +1319,9 @@ sub dump_enum($$) {
|
||||
my $file = shift;
|
||||
my $members;
|
||||
|
||||
# ignore members marked private:
|
||||
$x =~ s/\/\*\s*private:.*?\/\*\s*public:.*?\*\///gosi;
|
||||
$x =~ s/\/\*\s*private:.*}/}/gosi;
|
||||
|
||||
$x =~ s@/\*.*?\*/@@gos; # strip comments.
|
||||
# strip #define macros inside enums
|
||||
|
Reference in New Issue
Block a user