1
0
mirror of https://github.com/FreeRTOS/FreeRTOS-Plus-TCP synced 2025-10-21 15:10:39 +08:00

Fix Additional Clang warnings

Corrects several warnings from Clang flags
for Clang 13.
This commit is contained in:
Monika Singh
2023-04-17 18:39:49 +00:00
parent f15537303c
commit a492abb0a8
25 changed files with 318 additions and 315 deletions

View File

@@ -49,8 +49,8 @@
/**
* @brief Set multicast MAC address.
*
* @param[in] pxAddress: IPv6 address.
* @param[out] pxMACAddress: Pointer to MAC address.
* @param[in] pxAddress IPv6 address.
* @param[out] pxMACAddress Pointer to MAC address.
*/
void vSetMultiCastIPv6MacAddress( const IPv6_Address_t * pxAddress,
MACAddress_t * pxMACAddress )
@@ -65,9 +65,9 @@ void vSetMultiCastIPv6MacAddress( const IPv6_Address_t * pxAddress,
/*-----------------------------------------------------------*/
/** @brief Do the first IPv6 length checks at the IP-header level.
* @param[in] pucEthernetBuffer: The buffer containing the packet.
* @param[in] uxBufferLength: The number of bytes to be sent or received.
* @param[in] pxSet: A struct describing this packet.
* @param[in] pucEthernetBuffer The buffer containing the packet.
* @param[in] uxBufferLength The number of bytes to be sent or received.
* @param[in] pxSet A struct describing this packet.
*
* @return Non-zero in case of an error.
*/
@@ -115,7 +115,7 @@ BaseType_t prvChecksumIPv6Checks( uint8_t * pucEthernetBuffer,
/**
* @brief Check the buffer lengths of an ICMPv6 packet.
* @param[in] uxBufferLength: The total length of the packet.
* @param[in] uxBufferLength The total length of the packet.
* @param[in] pxSet A struct describing this packet.
* @return Non-zero in case of an error.
*/