[LTP] pty03: Calculate test case count from test case array length

linuxtestproject.agent@gmail.com linuxtestproject.agent@gmail.com
Fri Apr 24 15:45:28 CEST 2026


Hi Martin,

On 2026-04-24, Martin Doucha wrote:
> pty03: Calculate test case count from test case array length

> -	.tcnt = 9,
> +	.tcnt = ARRAY_SIZE(ldiscs) - 1,

Reviewed-by: LTP AI Reviewer <ltp-ai@noreply.github.com>

---
Note:

Our agent completed the review of the patch. The full review can be
found at: https://patchwork.ozlabs.org/project/ltp/list/?series=501361

The agent can sometimes produce false positives although often its
findings are genuine. If you find issues with the review, please
comment this email or ignore the suggestions.

Regards,
LTP AI Reviewer


More information about the ltp mailing list