Subject: Re: [PATCH net-next v3 10/11] net: ethernet: ti: cpts: add support for HW_TS_PUSH events

From: Richard Cochran <[email-masked]>
Date: Thu, 26 Mar 2020 18:34:10 -0700

> +static int cpts_extts_enable(struct cpts *cpts, u32 index, int on)
> +{
> +	u32 v;
> +
> +	if (index >= cpts->info.n_ext_ts)
> +		return -ENXIO;

This check is already performed in ptp_chardev.c.

Thanks,
Richard