[PATCH v1 14/14] net/zxdh: clean stat values
Stephen Hemminger
stephen at networkplumber.org
Mon Feb 10 18:50:05 CET 2025
On Mon, 10 Feb 2025 09:50:17 +0800
Bingbin Chen <chen.bingbin at zte.com.cn> wrote:
> +
> + case ZXDH_ERAM128_OPR_64b:
> + {
> + if ((base_addr + (index >> 1)) > ZXDH_SE_SMMU0_ERAM_ADDR_NUM_TOTAL - 1) {
> + PMD_DRV_LOG(ERR, "%s : index out of range !", __func__);
> + rc = zxdh_np_comm_mutex_unlock(p_ind_mutex);
> + ZXDH_COMM_CHECK_DEV_RC(dev_id, rc, "zxdh_np_comm_mutex_unlock");
> + return ZXDH_ERR;
> + }
> +
> + row_index = (index << 6) & ZXDH_ERAM128_BADDR_MASK;
> + col_index = index & 0x1;
> + break;
> + }
More repeats of __func__ with PMD_DRV_LOG and extra { }
More information about the dev
mailing list