Solved
ethernetif.c File and misra-c:2012 2.3 Issue(?)
In the ethernetif.c file,
| typedef enum { RX_ALLOC_OK = 0x00, RX_ALLOC_ERROR = 0x01 } RxAllocStatusTypeDef; // Here, RxAllocStatusTypeDef type is not used. |
It says that RxAllocStatusTypeDef is not used, which violates misra-c:2012 2.3.
Inferentially, this would require changing the type in the following code:
[before]
| static uint8_t RxAllocStatus; |
[after]
| static RxAllocStatusTypeDef RxAllocStatus; |
It looks like the code should be changed, what do you think?
