Print this page
9724 qede needs updates for newer GCC

*** 31,40 **** --- 31,44 ---- * See the License for the specific language governing permissions and * limitations under the License. */ + /* + * Copyright 2018 Joyent, Inc. + */ + #include "bcm_osal.h" #include "ecore.h" #include "reg_addr.h" #include "ecore_hw.h" #include "ecore_hsi_common.h"
*** 624,634 **** /* get mac status */ static int ecore_ah_e5_phy_mac_stat(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, u32 port, char *p_phy_result_buf) { ! u32 length, reg_id, addr, data_hi, data_lo; length = OSAL_SPRINTF(p_phy_result_buf, "MAC stats for port %d (only non-zero)\n", port); for (reg_id = 0; reg_id < OSAL_ARRAY_SIZE(ah_stat_regs); reg_id++) { --- 628,638 ---- /* get mac status */ static int ecore_ah_e5_phy_mac_stat(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, u32 port, char *p_phy_result_buf) { ! u32 length, reg_id, addr, data_hi __unused, data_lo; length = OSAL_SPRINTF(p_phy_result_buf, "MAC stats for port %d (only non-zero)\n", port); for (reg_id = 0; reg_id < OSAL_ARRAY_SIZE(ah_stat_regs); reg_id++) {