hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/kernel/trace/tracing_map.c
....@@ -261,7 +261,7 @@
261261 * to use cmp_fn.
262262 *
263263 * A key can be a subset of a compound key; for that purpose, the
264
- * offset param is used to describe where within the the compound key
264
+ * offset param is used to describe where within the compound key
265265 * the key referenced by this key field resides.
266266 *
267267 * Return: The index identifying the field in the map and associated
....@@ -284,7 +284,7 @@
284284 return idx;
285285 }
286286
287
-void tracing_map_array_clear(struct tracing_map_array *a)
287
+static void tracing_map_array_clear(struct tracing_map_array *a)
288288 {
289289 unsigned int i;
290290
....@@ -295,7 +295,7 @@
295295 memset(a->pages[i], 0, PAGE_SIZE);
296296 }
297297
298
-void tracing_map_array_free(struct tracing_map_array *a)
298
+static void tracing_map_array_free(struct tracing_map_array *a)
299299 {
300300 unsigned int i;
301301
....@@ -318,7 +318,7 @@
318318 kfree(a);
319319 }
320320
321
-struct tracing_map_array *tracing_map_array_alloc(unsigned int n_elts,
321
+static struct tracing_map_array *tracing_map_array_alloc(unsigned int n_elts,
322322 unsigned int entry_size)
323323 {
324324 struct tracing_map_array *a;