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>
show_rc, err_rc);
}
-static int handle_yaml_no_op()
+static int handle_yaml_no_op(struct cYAML *tree, struct cYAML **show_rc,
+ struct cYAML **err_rc)
{
return LUSTRE_CFG_RC_NO_ERR;
}