net/qede: correct function declaration syntax
PATCH 1/1 net/qede: correct function declaration syntax
clang reports this error message:
error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
Signed-off-by Emmanuel Roullit <[email protected]>
--- drivers/net/qede/qede_eth_if.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/qede/qede_eth_if.h +1 -1
@@ -171,7 +171,7 @@ struct qed_eth_ops {extern const struct qed_common_ops qed_common_ops_pass; -const struct qed_eth_ops *qed_get_eth_ops (); +const struct qed_eth_ops *qed_get_eth_ops (void );int qed_configure_filter_rx_mode (struct ecore_dev *edev,enum qed_filter_rx_mode_type type);
Signature · 1 line
1.9.1
Hi Emmanuel,
Quoted 3 lines · Emmanuel Roullit
clang reports this error message:
error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
What is the clang version?
Thanks,
ferruh
Quoted 5 lines · Emmanuel Roullit
clang reports this error message:
error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]Signed-off-by Emmanuel Roullit <[email protected]>
Acked-by Ferruh Yigit <[email protected]>
Ferruh Yigit
AppliedQuoted 8 lines · Ferruh Yigit
Quoted 5 lines · Emmanuel Roullit
clang reports this error message:
error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]Signed-off-by Emmanuel Roullit <[email protected]>Acked-by Ferruh Yigit <[email protected]>
Fixes 5cdd769a26ec ("qede: add L2 support")
Applied to dpdk-next-net/master, thanks.