Whamcloud - gitweb
LU-8191 selftest: restore BUILD_BUGs 35/54635/3
authorTimothy Day <timday@amazon.com>
Fri, 29 Mar 2024 20:03:30 +0000 (20:03 +0000)
committerTimothy Day <timday@amazon.com>
Fri, 29 Mar 2024 20:15:05 +0000 (20:15 +0000)
commited2a2286d17a7d23b86a87094d1eb2abac8ea015
tree8c6d0b8b0e250b0732f05b56707e6a6c724da6ec
parent5cda4a3bdc8732ead043e05044fd6c998b61e512
LU-8191 selftest: restore BUILD_BUGs

It was wrong to remove lnet_selftest_structure_assertion()
since it contained BUILD_BUGs used to ensure different LNet
Selftest versions can interoperate.

Restore the BUILD_BUGs and add a dummy user in LNet Selftest
init. This should prevent analyzers from picking this up as
an unused function.

Fixes: 43cbc93 ("LU-8191 lnet: remove unused, fix non-static functions")
Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I5e498dc411048f0ae3ca69cc5d24a728a711d6f7
lnet/selftest/module.c