Thread (21 messages) 21 messages, 6 authors, 2023-12-04

Re: [PATCH v8 net-next 2/5] cache: enforce cache groups

From: Jakub Kicinski <kuba@kernel.org>
Date: 2023-12-02 04:20:44

On Wed, 29 Nov 2023 07:27:53 +0000 Coco Li wrote:
quoted hunk ↗ jump to hunk
diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index 08a3e603db192..0a890fe4d22b1 100755
--- a/scripts/kernel-doc
+++ b/scripts/kernel-doc
@@ -1592,6 +1592,11 @@ sub push_parameter($$$$$) {
 		$parameterdescs{$param} = "anonymous\n";
 		$anon_struct_union = 1;
 	}
+	elsif ($param =~ "__cacheline_group" )
+	# handle cache group enforcing variables: they do not need be described in header files
+	{
+		return; # ignore __cacheline_group_begin and __cacheline_group_end
+	}
 
 	# warn if parameter has no description
 	# (but ignore ones starting with # as these are not parameters
Hi Jon, would you be okay with this chunk going into net-next?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help