Subject: Re: [PATCH net-next] net: stmmac: ptp: limit n_per_out

From: Jakub Kicinski <[email-masked]>
Date: Tue, 24 Feb 2026 18:18:11 -0800

On Mon, 23 Feb 2026 12:20:47 +0000 Russell King (Oracle) wrote:
> +	if (pps_out_num > STMMAC_PPS_MAX)
> +		pps_out_num = STMMAC_PPS_MAX;

How would you feel about tossing a dev_info() / dev_warn() in here?
If nothing else if will prevent script kiddies from sending a patch
converting this if to

	pps_out_num = min(pps_out_num, STMMAC_PPS_MAX);

which presumably you don't prefer.