aboutsummaryrefslogtreecommitdiff
path: root/tools/testing
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org> 2023-05-14 12:32:34 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org> 2023-05-14 12:32:34 -0700
commit533c54547153d46c0bf99ac0e396bed71f760c03 (patch)
tree4eb93cf6b02e7b85d88c8d7b8d78512a9f603564 /tools/testing
parentMerge tag 'parisc-for-6.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff)
parentcxl: Add missing return to cdat read error path (diff)
downloadlinux-533c54547153d46c0bf99ac0e396bed71f760c03.tar.gz
linux-533c54547153d46c0bf99ac0e396bed71f760c03.tar.bz2
linux-533c54547153d46c0bf99ac0e396bed71f760c03.zip
Merge tag 'cxl-fixes-6.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl
Pull compute express link fixes from Dan Williams: - Fix a compilation issue with DEFINE_STATIC_SRCU() in the unit tests - Fix leaking kernel memory to a root-only sysfs attribute * tag 'cxl-fixes-6.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxl: cxl: Add missing return to cdat read error path tools/testing/cxl: Use DEFINE_STATIC_SRCU()
Diffstat (limited to 'tools/testing')
-rw-r--r--tools/testing/cxl/test/mock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/cxl/test/mock.c b/tools/testing/cxl/test/mock.c
index c4e53f22e421..de3933a776fd 100644
--- a/tools/testing/cxl/test/mock.c
+++ b/tools/testing/cxl/test/mock.c
@@ -19,7 +19,7 @@ void register_cxl_mock_ops(struct cxl_mock_ops *ops)
}
EXPORT_SYMBOL_GPL(register_cxl_mock_ops);
-static DEFINE_SRCU(cxl_mock_srcu);
+DEFINE_STATIC_SRCU(cxl_mock_srcu);
void unregister_cxl_mock_ops(struct cxl_mock_ops *ops)
{