On Wed, 21 Dec 2022 01:32:50 +0530 Hanumanth Pothula <hpoth...@marvell.com> wrote:
> @@ -12851,6 +12908,7 @@ static cmdline_parse_ctx_t builtin_ctx[] = { > (cmdline_parse_inst_t *)&cmd_show_capability, > (cmdline_parse_inst_t *)&cmd_set_flex_is_pattern, > (cmdline_parse_inst_t *)&cmd_set_flex_spec_pattern, > + (cmdline_parse_inst_t *)&cmd_config_port_rx_metadata_parse, > NULL, > }; > Why are all these casts necessary? the function should match the prototype.