Re: [LTP] newipc: Factor out generic get_ipc_idx_from_id() helper
[email protected] Thu, 30 Jul 2026 21:13:44 +0000
| Newsgroups | it.linux.lists.ltp |
|---|---|
| Message-ID | <[email protected]> |
Hi Stephen, On Thu, 30 Jul 2026, Stephen Bertram wrote: > newipc: Factor out generic get_ipc_idx_from_id() helper Both patches in this series were reviewed: [1/2] newipc: Factor out generic get_ipc_idx_from_id() helper [2/2] semctl01: fix SEM_STAT failures under parallel LTP runs The extracted helper is a faithful move of shmctl01's SHM_STAT loop, the kernel-doc on get_ipc_idx_from_id() is well formed, and the shmctl01 conversion is behavior-preserving. For semctl01, the id-to-index lookup, the func_iinfo() and func_sstat() adjustments, and the added -lltpnewipc link entry are all consistent, and the per-index STAT calls correctly avoid the aborting SAFE_ wrappers. Verdict - Reviewed --- Note: 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 -- Mailing list info: https://lists.linux.it/listinfo/ltp