Whamcloud - gitweb
LU-17000 utils: handle_yaml_no_op() has wrong signature 18/60018/2 master
authorJames Simmons <jsimmons@infradead.org>
Wed, 2 Jul 2025 13:14:20 +0000 (09:14 -0400)
committerOleg Drokin <green@whamcloud.com>
Tue, 8 Jul 2025 04:00:39 +0000 (04:00 +0000)
commit08eef833edc883dc59eea63b655245580f48bc87
tree83e0b5d1306f4bc41c0f48e5292e0fb76189e552
parentad6c5f9929b403b31bf6e926b7fa79529817f3f5
LU-17000 utils: handle_yaml_no_op() has wrong signature

The liblnetconfig library uses struct lookup_cmd_hdlr_tbl
as a function lookup table. Those callbacks have a specific
prototype but handle_yaml_no_op() is not define that way.
Newer compilers will fail due to this mismatch.

Test-Parameters: trivial
Change-Id: Ib62664538939fcbedca936afd2edb3e8c68a182f
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/60018
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/utils/lnetconfig/liblnetconfig.c