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

From: Richard Cochran
Date: Thu Mar 26 2020 - 21:34:16 EST


> +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