[PATCH v1 03/14] net/zxdh: add agent channel
Stephen Hemminger
stephen at networkplumber.org
Mon Feb 10 18:31:13 CET 2025
On Mon, 10 Feb 2025 09:47:02 +0800
Bingbin Chen <chen.bingbin at zte.com.cn> wrote:
> +
> + switch (type) {
> + case ZXDH_DEV_MUTEX_T_DTB:
> + {
> + *p_mutex_out = &p_dev_info->dtb_mutex;
> + }
> + break;
> +
> + default:
> + {
> + PMD_DRV_LOG(ERR, "mutex type is invalid!");
> + return ZXDH_ERR;
> + }
> + }
> +
Why all the extra { } here?
More information about the dev
mailing list