pangzhen1xiaomi opened a new pull request, #18111: URL: https://github.com/apache/nuttx/pull/18111
According to MISRA C-2012 Rule 11.6, a cast shall not be performed between pointer to void and an arithmetic type ## Summary To comply with MISRA C-2012 Rule 11.6, the pointer cast has been modified from (FAR void *) to (FAR char *) when converting an integer value obtained via strtoul() to a pointer. This change ensures proper alignment of the converted pointer as required by the MISRA standard. ## Impact No functional changes: The pointer value remains identical No performance impact: Same runtime behavior No memory impact: Same memory usage API compatibility: All callers remain unaffected ## Testing This change has no effet to functional logic. 1.Compilation Test Pass Coverity Rescan Pass -- 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]
