royfengsss opened a new pull request, #10394:
URL: https://github.com/apache/nuttx/pull/10394
## Summary
1. Fix below build warning:
```
CC: chip/esp32_spi.c chip/esp32_spi.c: In function 'esp32_spi_dma_exchange':
chip/esp32_spi.c:861:17: warning: implicit declaration of function
'kmm_malloc'; did you mean 'iob_alloc'? [-Wimplicit-function-declaration]
alloctp = kmm_malloc(total);
^~~~~~~~~~
iob_alloc
chip/esp32_spi.c:861:15: warning: assignment to 'uint8_t *' {aka 'unsigned
char *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
alloctp = kmm_malloc(total);
^
chip/esp32_spi.c:880:15: warning: assignment to 'uint8_t *' {aka 'unsigned
char *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
allocrp = kmm_malloc(total);
^
chip/esp32_spi.c:957:7: warning: implicit declaration of function
'kmm_free'; did you mean 'iob_free'? [-Wimplicit-function-declaration]
kmm_free(allocrp);
^~~~~~~~
iob_free
```
2. Fixed an incorrect log output.
## Impact
No
## Testing
Pass the build
--
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]