Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib: Fix available error message in softirq #286

Merged
merged 1 commit into from
May 23, 2024

Conversation

glneo
Copy link
Contributor

@glneo glneo commented Mar 18, 2024

This message should state that there are no more available Soft IRQs.

This message should state that there are no more available Soft IRQs.

Signed-off-by: Andrew Davis <afd@ti.com>
@arnopo arnopo requested review from edmooring, arnopo and tnmysh April 2, 2024 08:25
@@ -72,8 +72,7 @@ int metal_softirq_allocate(int num)
int irq_base;

if ((metal_softirq_avail + num) >= metal_softirq_num) {
metal_log(METAL_LOG_ERROR, "No %d available soft irqs.\r\n",
num);
metal_log(METAL_LOG_ERROR, "No more available soft irqs\n");
Copy link
Collaborator

Choose a reason for hiding this comment

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

LGTM.

metal_error() can be used as well.

Copy link
Contributor

@edmooring edmooring left a comment

Choose a reason for hiding this comment

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

Looks good to go.

@arnopo arnopo added this to the Release V2024.05 milestone May 23, 2024
@arnopo
Copy link
Contributor

arnopo commented May 23, 2024

I missed this one for the release. Since it is a minor update for the trace I will add it

@arnopo arnopo merged commit e1a78ed into OpenAMP:main May 23, 2024
4 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.

4 participants