summaryrefslogtreecommitdiffstats
path: root/lib/test_objpool.c
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2023-11-16 16:05:44 +0100
committerPaolo Abeni <pabeni@redhat.com>2023-11-16 16:05:44 +0100
commit56eddc3cb1affe014d567f8460e5a76ca079f842 (patch)
tree7363e0f189ac7276fcb1bd2660f8478a45fd00d6 /lib/test_objpool.c
parent3185d57cfcd34fadbe28f4ed57a6cb5122277ece (diff)
parent7475e51b87969e01a6812eac713a1c8310372e8a (diff)
downloadlinux-56eddc3cb1affe014d567f8460e5a76ca079f842.tar.gz
linux-56eddc3cb1affe014d567f8460e5a76ca079f842.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Cross-merge networking fixes after downstream PR. No conflicts. Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'lib/test_objpool.c')
-rw-r--r--lib/test_objpool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/test_objpool.c b/lib/test_objpool.c
index a94078402138..bfdb81599832 100644
--- a/lib/test_objpool.c
+++ b/lib/test_objpool.c
@@ -311,7 +311,7 @@ static void ot_fini_sync(struct ot_context *sop)
ot_kfree(sop->test, sop, sizeof(*sop));
}
-struct {
+static struct {
struct ot_context * (*init)(struct ot_test *oc);
void (*fini)(struct ot_context *sop);
} g_ot_sync_ops[] = {
@@ -475,7 +475,7 @@ static struct ot_context *ot_init_async_m0(struct ot_test *test)
return sop;
}
-struct {
+static struct {
struct ot_context * (*init)(struct ot_test *oc);
void (*fini)(struct ot_context *sop);
} g_ot_async_ops[] = {
@@ -632,7 +632,7 @@ static int ot_start_async(struct ot_test *test)
#define NODE_COMPACT sizeof(struct ot_node)
#define NODE_VMALLOC (512)
-struct ot_test g_testcases[] = {
+static struct ot_test g_testcases[] = {
/* sync & normal */
{0, 0, NODE_COMPACT, 1000, 0, 1, 0, 0, "sync: percpu objpool"},