qca-ssdk-shell: fix compilation with GCC 13

fal_port_ctrl.c:216:1: error: conflicting types for 'fal_port_cdt' due to enum/integer mismatch
This commit is contained in:
bitthief 2023-05-08 17:45:20 +03:00
parent 07350c9f03
commit c99298bd45

View File

@ -0,0 +1,10 @@
--- a/src/fal_uk/fal_port_ctrl.c
+++ b/src/fal_uk/fal_port_ctrl.c
@@ -214,7 +214,7 @@ fal_port_hibernate_get(a_uint32_t dev_id
sw_error_t
fal_port_cdt(a_uint32_t dev_id, fal_port_t port_id, a_uint32_t mdi_pair,
- a_uint32_t *cable_status, a_uint32_t *cable_len)
+ fal_cable_status_t * cable_status, a_uint32_t *cable_len)
{
sw_error_t rv;