Skip to content

shellcheck: remove dead trailing completion logs in kernel run scripts#358

Merged
vnarapar merged 1 commit intoqualcomm-linux:mainfrom
smuppand:Kernel
Mar 24, 2026
Merged

shellcheck: remove dead trailing completion logs in kernel run scripts#358
vnarapar merged 1 commit intoqualcomm-linux:mainfrom
smuppand:Kernel

Conversation

@smuppand
Copy link
Copy Markdown
Contributor

This PR fixes the shellcheck reported issues by removing unreachable trailing completion log lines from kernel run.sh scripts where the final PASS/FAIL branches already exit unconditionally.

This is a lint-only cleanup for SC2317 and does not change runtime behavior.

@smuppand smuppand requested review from abbajaj806 and vnarapar March 22, 2026 08:14
@smuppand smuppand force-pushed the Kernel branch 3 times, most recently from bd16408 to 2967158 Compare March 22, 2026 13:18
Remove unreachable trailing completion log lines from kernel run.sh
scripts where the final PASS/FAIL branches already exit unconditionally.

This is a lint-only cleanup for SC2317 and does not change runtime
behavior.

Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
Comment thread Runner/suites/Kernel/Baseport/GIC/run.sh
@vnarapar
Copy link
Copy Markdown
Contributor

i think there are few changes added for other fixes aswell. please add a different commit for those or update the existing commit.

Also i see fixes for SC2002 which is not mandatory and is just a optional rule.
https://www.shellcheck.net/wiki/SC2002

@smuppand
Copy link
Copy Markdown
Contributor Author

i think there are few changes added for other fixes aswell. please add a different commit for those or update the existing commit.

Ack. The additional fixes are still lint-only and adjacent to the same files being touched for SC2317, so I’d prefer to keep them together in this PR instead of splitting into more commits. There is no intended functional change.

Also i see fixes for SC2002 which is not mandatory and is just a optional rule. https://www.shellcheck.net/wiki/SC2002

Thanks for pointing this out. You’re right that SC2002 is an optional rule. Since I’ve already fixed those instances as part of the cleanup, I’d prefer to keep them for consistency and to avoid carrying forward known lint warnings.

@vnarapar vnarapar merged commit f069417 into qualcomm-linux:main Mar 24, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants