Skip to content

RDKCOM-5665: RDKBDEV-3520,RDKBACCL-2161 rbuscli fails to build with “too many arguments” on the session commands - #456

Closed
ap934 wants to merge 3 commits into
rdkcentral:developfrom
ap934:wrynose_build_fail
Closed

ap934 wants to merge 3 commits into
rdkcentral:developfrom
ap934:wrynose_build_fail

Conversation

@ap934

@ap934 ap934 commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Reason for change: validate_and_execute_create_session_cmd() and validate_and_execute_get_session_cmd() are called as (argc, argv) but declared (). Under C23 (GCC 15) that is an error, declare them to match
Test Procedure: bitbake rdk-generic-broadband-image and the dependent packages
Risk : None

Copilot AI lite review requested due to automatic review settings September 21, 2026 12:00
@ap934
ap934 requested a review from a team as a code owner September 21, 2026 12:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Unused parameters can still fail the build under -Werror.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 High severity

Open (1)
What changed in this PR

Updates rbuscli session handler signatures to accept (argc, argv) for C23/GCC 15 compatibility.

Changes:

  • Updated create-session and get-session handler signatures.
  • Added parameters must be marked unused to avoid -Wall -Wextra -Werror build failures.
File Summary
utils/​rbuscli/​rbuscli.c Aligns session handler definitions with their call sites; unused parameters still require suppression.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread utils/rbuscli/rbuscli.c
@ap934 ap934 changed the title RDKBACCL-2161:Upstream the Wrynose specific patch files to source repo RDKBDEV-3520,RDKBACCL-2161:Upstream the Wrynose specific patch files to source repo Sep 21, 2026
@ap934 ap934 changed the title RDKBDEV-3520,RDKBACCL-2161:Upstream the Wrynose specific patch files to source repo RDKBDEV-3520,RDKBACCL-2161:rbuscli fails to build with “too many arguments” on the session commands Sep 21, 2026
@pradeeptakdas pradeeptakdas changed the title RDKBDEV-3520,RDKBACCL-2161:rbuscli fails to build with “too many arguments” on the session commands RDKCOM-5665: RDKBDEV-3520,RDKBACCL-2161 rbuscli fails to build with “too many arguments” on the session commands Sep 21, 2026
@AkhilaReddyK7 AkhilaReddyK7 added the community-contribution Contribution from community label Sep 23, 2026
Reason for change: Fix pending request lifecycle and connection teardown safety
  - Move pending requests to heap allocation with centralized cleanup to prevent leaks and use-after-free issues.
  - Ensure proper reply ownership, semaphore cleanup, and error handling across success, timeout, and connection failure paths.
  - Replace teardown delay with coordinated request draining and reject new requests during destruction.
  - Clear recycled list-node data to prevent stale pointers.
  - Update thread pool task cleanup to remain compatible with list-node changes.
Test Procedure: Ensure no memory leak from rtMessage layer
Risks: Low
Priority: P3
Signed-off-by: Chris Buchter <Chris_Buchter@cable.comcast.com>
This reverts commit eff1a08. This commit did not follow a PR.
Copilot AI lite review requested due to automatic review settings October 15, 2026 05:11
@ap934
ap934 force-pushed the wrynose_build_fail branch from 52d70e3 to 3664648 Compare October 15, 2026 05:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Reason for change: validate_and_execute_create_session_cmd() and validate_and_execute_get_session_cmd() are called as (argc, argv) but declared (). Under C23 (GCC 15) that is an error, declare them to match
Test Procedure: bitbake rdk-generic-broadband-image and the dependent packages
Risk : None

Signed-off-by: ap934 <Akhil_P@comcast.com>
@ap934

ap934 commented Oct 21, 2026

Copy link
Copy Markdown
Contributor Author

Created a new PR as per CO request #461

@ap934 ap934 closed this Oct 21, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

community-contribution Contribution from community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants