Zepp-Hanzj opened a new pull request, #18984:
URL: https://github.com/apache/nuttx/pull/18984
## Summary
Fix a spelling error in the static function name `lan9250_set_txavailabe()`
→ `lan9250_set_txavailable()` in `drivers/net/lan9250.c`. The letter 'l' was
missing from "available".
This is a static (file-scope) function used only within
`drivers/net/lan9250.c`, so there is no API or ABI impact.
## Impact
- [x] Impact on build: NO
- [x] Impact on hardware: NO (no functional change)
- [x] Impact on documentation: NO
- [x] Impact on security: NO
- [x] Impact on compatibility: NO — static function, no external callers
## Testing
- `checkpatch.sh -g HEAD`: All checks pass.
- `checkpatch.sh -f drivers/net/lan9250.c`: All checks pass.
- Verified all 6 occurrences of the misspelled function name were renamed:
- Line 283: forward declaration
- Line 1091: comment block (Name:)
- Line 1105: function definition
- Lines 1244, 1448, 1605: call sites
- Confirmed `lan9250_txavailable_isr` and `lan9250_txavail` were already
correctly spelled and untouched.
## Self-Check
- [x] PR title follows NuttX convention: `<subsystem>: <description>.`
- [x] Commit body explains what changed, how, and why
- [x] Signed-off-by present
- [x] checkpatch passes
- [x] Single file, no build impact
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]