-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Use small lock to protect usbdev and endpoint in arch ARM. #15506
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
added
Arch: arm
Issues related to ARM (32-bit) architecture
Area: USB
Size: L
The size of the change in this PR is large
labels
Jan 13, 2025
[Experimental Bot, please feedback here] This PR appears to mostly meet the NuttX requirements, but is lacking some crucial information. Here's a breakdown: Strengths:
Weaknesses:
Recommendations for Improvement:
By addressing these weaknesses, the PR will be much stronger and easier for reviewers to evaluate. A good PR saves everyone time and leads to a higher quality codebase. |
wangzhi-art
force-pushed
the
lock_4
branch
3 times, most recently
from
January 13, 2025 09:14
f47a60b
to
9a6dac6
Compare
hujun260
suggested changes
Jan 14, 2025
hujun260
suggested changes
Jan 14, 2025
hujun260
suggested changes
Jan 14, 2025
github-actions
bot
added
Size: XL
The size of the change in this PR is very large. Consider breaking down the PR into smaller pieces.
and removed
Area: USB
Size: L
The size of the change in this PR is large
labels
Jan 14, 2025
wangzhi-art
force-pushed
the
lock_4
branch
3 times, most recently
from
January 15, 2025 01:32
39c411d
to
067d117
Compare
hujun260
suggested changes
Jan 15, 2025
github-actions
bot
added
Size: XS
The size of the change in this PR is very small
and removed
Size: XL
The size of the change in this PR is very large. Consider breaking down the PR into smaller pieces.
labels
Jan 15, 2025
github-actions
bot
added
Size: XL
The size of the change in this PR is very large. Consider breaking down the PR into smaller pieces.
and removed
Size: XS
The size of the change in this PR is very small
labels
Jan 15, 2025
hujun260
reviewed
Jan 15, 2025
hujun260
suggested changes
Jan 15, 2025
wangzhi-art
force-pushed
the
lock_4
branch
2 times, most recently
from
January 15, 2025 08:55
01000e6
to
e23d432
Compare
hujun260
suggested changes
Jan 15, 2025
wangzhi-art
force-pushed
the
lock_4
branch
2 times, most recently
from
January 15, 2025 10:09
ae510e5
to
497d301
Compare
hujun260
approved these changes
Jan 15, 2025
wangzhi-art
force-pushed
the
lock_4
branch
4 times, most recently
from
January 16, 2025 06:52
0864a12
to
ad991ae
Compare
Signed-off-by: wangzhi16 <[email protected]>
xiaoxiang781216
approved these changes
Jan 20, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Note: Please adhere to Contributing Guidelines.
Summary
Use small lock to protect usbdev and endpoint in arch ARM.
Impact
arch/arm/src/cxd56xx/cxd56_usbdev.c
arch/arm/src/dm320/dm320_usbdev.c
arch/arm/src/efm32/efm32_usbdev.c
arch/arm/src/imxrt/imxrt_usbdev.c
arch/arm/src/kinetis/kinetis_usbdev.c
arch/arm/src/lpc17xx_40xx/lpc17_40_usbdev.c
arch/arm/src/lpc214x/lpc214x_usbdev.c
arch/arm/src/lpc31xx/lpc31_usbdev.c
arch/arm/src/rp2040/rp2040_usbdev.c
arch/arm/src/rp23xx/rp23xx_usbdev.c
arch/arm/src/samv7/sam_usbdevhs.c
arch/arm/src/stm32/stm32_usbdev.c
arch/arm/src/stm32f0l0g0/stm32_usbdev.c
arch/arm/src/stm32l4/stm32l4_usbdev.c
include/nuttx/usb/usbdev.h
Testing
CI