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

[BUG] double unlock in esp32_serial.c #14594

Open
1 task done
yamt opened this issue Nov 1, 2024 · 1 comment
Open
1 task done

[BUG] double unlock in esp32_serial.c #14594

yamt opened this issue Nov 1, 2024 · 1 comment
Labels
Arch: xtensa Issues related to the Xtensa architecture Area: Drivers Drivers issues OS: Mac Issues related to MacOS (building system, etc) Type: Bug Something isn't working

Comments

@yamt
Copy link
Contributor

yamt commented Nov 1, 2024

Description / Steps to reproduce the issue

see

spin_unlock_irqrestore(&priv->lock, flags);
uart_xmitchars(dev);
#endif
}
else
{
/* Disable the TX interrupt */
modifyreg32(UART_INT_ENA_REG(priv->config->id),
(UART_TX_DONE_INT_ENA | UART_TXFIFO_EMPTY_INT_ENA), 0);
}
spin_unlock_irqrestore(&priv->lock, flags);

and find the consecutive spin_unlock_irqrestore calls on the same lock.

On which OS does this issue occur?

[OS: Mac]

What is the version of your OS?

macOS 14.7

NuttX Version

master

Issue Architecture

[Arch: xtensa]

Issue Area

[Area: Drivers]

Verification

  • I have verified before submitting the report.
@yamt yamt added the Type: Bug Something isn't working label Nov 1, 2024
@github-actions github-actions bot added Arch: xtensa Issues related to the Xtensa architecture Area: Drivers Drivers issues OS: Mac Issues related to MacOS (building system, etc) labels Nov 1, 2024
@acassis
Copy link
Contributor

acassis commented Nov 1, 2024

@fdcavalcanti @eren-terzioglu @tmedicci please take a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arch: xtensa Issues related to the Xtensa architecture Area: Drivers Drivers issues OS: Mac Issues related to MacOS (building system, etc) Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants