temi54c1l8
|
1e9b6da4f3
|
CO_fifo: static analysis: ignoring return value of functions [MISRA 2012 Directive 4.7, required], [MISRA 2012 Rule 17.7, required]
|
2024-06-26 10:33:50 +02:00 |
|
temi54c1l8
|
5cf08656e1
|
Fix commit 29bb7992d2 won't respond with abort message, if segmented transfer is not supported
|
2024-06-26 08:50:45 +02:00 |
|
temi54c1l8
|
f7c7f9c104
|
Add more static analysis and MISRA.md
(cherry picked from commit ad337c3e9c4e879721ec432bc9a5d9a84a53c573)
# Conflicts:
# CANopen.c
|
2024-06-24 17:46:34 +02:00 |
|
temi54c1l8
|
8cccf6f379
|
minor fix after static analysis
|
2024-06-14 13:46:21 +02:00 |
|
temi54c1l8
|
f9d8bdeff3
|
static analysys: local variable 'data' could be pointer to const [MISRA 2012 Rule 8.13, advisory]
refactory CO_CANrxMsg_readData return const
|
2024-06-14 11:27:22 +02:00 |
|
temi54c1l8
|
d2770c4917
|
CO_SDOserver: static analysis: named parameter 'calculateCrc' of 'non-virtual' function 'readFromOd' not subsequently referenced [MISRA 2012 Rule 2.7, advisory]
|
2024-06-14 11:15:41 +02:00 |
|
temi54c1l8
|
c41aa14680
|
CO_PDO: static analysis: named parameter 'timerNext_us' of 'non-virtual' function 'CO_RPDO_process' not subsequently referenced [MISRA 2012 Rule 2.7, advisory]
|
2024-06-14 11:09:31 +02:00 |
|
temi54c1l8
|
8cc4dc1601
|
CO_HBconsumer: static analysis: local variable 'data' could be pointer to const [MISRA 2012 Rule 8.13, advisory]
|
2024-06-14 11:03:51 +02:00 |
|
temi54c1l8
|
41c9e742f8
|
CO_Emergency: static analysis: named parameter 'timeDifference_us' of 'non-virtual' function 'CO_EM_process' not subsequently referenced [MISRA 2012 Rule 2.7, advisory]
|
2024-06-14 10:59:43 +02:00 |
|
temi54c1l8
|
cac0f78b10
|
CO_LSSslave: static analysis: ANSI/ISO minimum translation limit of 31 'significant characters in an external identifier' exceeded, processing is unaffected
|
2024-06-14 10:42:39 +02:00 |
|
temi54c1l8
|
29bb7992d2
|
CO_SDOserver: static analysis: enum constants not used within default switch
|
2024-06-14 09:49:21 +02:00 |
|
temi54c1l8
|
cbf3df74e9
|
CO_SDOserver: static analysis: result of assignment operator used in right operand to '=' operator [MISRA 2012 Rule 13.4, advisory]
|
2024-06-14 09:47:16 +02:00 |
|
temi54c1l8
|
42cea36f3b
|
CO_LSSmaster and CO_LSSslave: static analysis: repeated include file 'string.h'
|
2024-06-14 09:12:52 +02:00 |
|
temi54c1l8
|
06834c1d14
|
O_SDOserver: static analysis: side effects on right hand of logical operator, '&&' [MISRA 2012 Rule 13.5, required]
because SDO->state is volatile
|
2024-06-14 09:02:17 +02:00 |
|
temi54c1l8
|
ab26145597
|
CO_Emergency: static analysis: side effects on right hand of logical operator, '&&' [MISRA 2012 Rule 13.5, required]
because em->CANtxBuff->bufferFull is volatile
|
2024-06-14 08:56:03 +02:00 |
|
temi54c1l8
|
35cefe09c3
|
CO_SDOserver: static analysis: cannot cast 'unsigned8' to wider essential type 'unsigned32' [MISRA 2012 Rule 10.8, required]
|
2024-06-14 08:52:07 +02:00 |
|
temi54c1l8
|
4cef8205c8
|
CO_ODinterface: static analysis: fix cast to correct address assignment and 'OD_IO_t::write' is potentially uninitialized [MISRA 2012 Rule 9.1, mandatory]
|
2024-06-14 08:43:01 +02:00 |
|
temi54c1l8
|
75909f4fa2
|
CO_ODinterface: static analysis: implicit conversion of enum 'ODR_t' to integral type 'int'
|
2024-06-14 08:29:04 +02:00 |
|
temi54c1l8
|
8af3ef3c6b
|
CO_SDOserver: static analysis: taking address of array
|
2024-06-14 08:26:34 +02:00 |
|
temi54c1l8
|
284ba1a41f
|
CO_LSSslave: static analysis: remove cast unnecessary
|
2024-06-14 08:20:26 +02:00 |
|
temi54c1l8
|
6990e11e7f
|
CO_LSSslave: static analysis: an unsigned value and a signed value cannot be used together as operands to - [MISRA 2012 Rule 10.4, required]
|
2024-06-14 08:13:08 +02:00 |
|
temi54c1l8
|
d4b4d29f0b
|
CO_LSSmaster and CO_LSSslave: static analysis: cannot assign 'enum' to different essential type [MISRA 2012 Rule 10.3, required]
refactoring convert enum to macro
|
2024-06-14 08:12:08 +02:00 |
|
temi54c1l8
|
47461cf08a
|
CO_LSSmaster: static analysis: cannot assign 'enum' to different essential type [MISRA 2012 Rule 10.3, required]
refactoring convert enum to macro
|
2024-06-13 16:30:10 +02:00 |
|
temi54c1l8
|
79aa366627
|
CO_LSSmaster: style changed , add space on if condition
|
2024-06-13 16:21:12 +02:00 |
|
temi54c1l8
|
22fe7b9bc6
|
CO_LSSmaster: static analysis: statement or comment should appear in default case [MISRA 2012 Rule 16.1, required], [MISRA 2012 Rule 16.4, required]
|
2024-06-13 16:12:13 +02:00 |
|
temi54c1l8
|
6ebd390160
|
CO_LSSmaster: departure from MISRA switch syntax: missing break or throw from switch-case [MISRA 2012 Rule 16.1, required]
refactoring change switch to if condition
|
2024-06-13 16:10:56 +02:00 |
|
temi54c1l8
|
bad7521985
|
CO_LSSmaster: static analysis: no 'else' at end of 'if ... else if' chain [MISRA 2012 Rule 15.7, required]
|
2024-06-13 16:07:28 +02:00 |
|
temi54c1l8
|
5a62e186b9
|
CO_LSSmaster: static analysis: missing unconditional break from final switch case [MISRA 2012 Rule 16.1, required], [MISRA 2012 Rule 16.3, required]
|
2024-06-13 16:04:10 +02:00 |
|
temi54c1l8
|
29673b0304
|
CO_LSSmaster: static analysis: an unsigned value and a signed value cannot be used together as operands [MISRA 2012 Rule 10.4, required]
|
2024-06-13 15:13:01 +02:00 |
|
temi54c1l8
|
f322d42c2c
|
CO_LSSmaster: static analysis: ignoring return value of function 'CO_LSSmaster_FsScanInitiate' [MISRA 2012 Directive 4.7, required], [MISRA 2012 Rule 17.7, required]
|
2024-06-13 15:09:30 +02:00 |
|
temi54c1l8
|
f54f919c1c
|
CO_LSSmaster: static analysis: use of modifier or type 'int' outside of a typedef [MISRA 2012 Directive 4.6, advisory]
|
2024-06-13 15:07:55 +02:00 |
|
temi54c1l8
|
5907aa27cf
|
CO_storageEeprom: static analysis: unsigned integer literal without a 'U' suffix [MISRA 2012 Rule 7.2, required]
|
2024-06-13 15:03:54 +02:00 |
|
temi54c1l8
|
2f8f4395cf
|
CO_storage: static analysis: refactoring OD_extension_init with ignore return value because verify arguments at function entry
|
2024-06-13 15:01:19 +02:00 |
|
temi54c1l8
|
d0718824f2
|
CO_storage: static analysis: body should be a compound statement [MISRA 2012 Rule 15.6, required]
|
2024-06-13 14:55:36 +02:00 |
|
temi54c1l8
|
d64f0dcc41
|
CO_LSSslave: static analysis: taking address of array
|
2024-06-13 14:50:32 +02:00 |
|
temi54c1l8
|
f1e68448c1
|
CO_LSSslave: static analysis: unsigned integer literal without a 'U' suffix [MISRA 2012 Rule 7.2, required]
|
2024-06-13 14:48:23 +02:00 |
|
temi54c1l8
|
cd1f389719
|
CO_LSSslave: static analysis: cannot assign 'enum' to different essential type [MISRA 2012 Rule 10.3, required]
|
2024-06-13 14:46:02 +02:00 |
|
temi54c1l8
|
08e7903332
|
CO_LSSslave: static analysis argument 1 is not compatible with argument 2 in call to function 'memcpy'
|
2024-06-13 14:41:34 +02:00 |
|
temi54c1l8
|
2d03662a23
|
CO_LSSslave: static analysis: statement or comment should appear in default case [MISRA 2012 Rule 16.1, required], [MISRA 2012 Rule 16.4, required]
|
2024-06-13 14:37:28 +02:00 |
|
temi54c1l8
|
5337877ac7
|
CO_SRDO: static analysis: cannot assign 'enum (OD_attributes_t)' to different essential type 'unsigned8' [MISRA 2012 Rule 10.3, required]
|
2024-06-13 14:29:24 +02:00 |
|
temi54c1l8
|
6f4df2bdeb
|
CO_SRDO: static analysis: 'subIndex' is typographically ambiguous with respect to 'subindex' when ignoring case [MISRA 2012 Directive 4.5, advisory]
|
2024-06-13 14:24:25 +02:00 |
|
temi54c1l8
|
f112105cde
|
CO_SRDO: static analysis: cannot cast 'unsigned16' to wider essential type 'unsigned32' [MISRA 2012 Rule 10.8, required]
|
2024-06-13 14:22:14 +02:00 |
|
temi54c1l8
|
6cf0200afb
|
CO_SRDO: static analysis: result of assignment operator used in right operand to '=' operator [MISRA 2012 Rule 13.4, advisory]
|
2024-06-13 14:19:33 +02:00 |
|
temi54c1l8
|
3b89378841
|
CO_SRDO: static analysis: right operand to == is a composite expression of type 'unsigned16' which is smaller than the left operand of type 'unsigned32' [MISRA 2012 Rule 10.7, required]
|
2024-06-13 14:18:01 +02:00 |
|
temi54c1l8
|
3c53895fde
|
CO_SRDO: static analysis: cannot cast to wider essential type [MISRA 2012 Rule 10.8, required]
|
2024-06-13 14:14:34 +02:00 |
|
temi54c1l8
|
8755f23d79
|
CO_SRDO: static analysis: argument of type 'const void *' is not compatible with argument of type in call to function memcmp and memcpy
|
2024-06-13 14:02:17 +02:00 |
|
temi54c1l8
|
c99b8ae07a
|
CO_LEDs: static analysis: statement or comment should appear in default case [MISRA 2012 Rule 16.1, required], [MISRA 2012 Rule 16.4, required]
|
2024-06-13 13:58:53 +02:00 |
|
temi54c1l8
|
3e6f9c79d1
|
CO_LEDs: static analysis: result of assignment operator used in right operand to '=' operator [MISRA 2012 Rule 13.4, advisory]
|
2024-06-13 13:57:48 +02:00 |
|
temi54c1l8
|
20d7220468
|
crc16-ccitt: static analysis: loss of precision (assignment)
|
2024-06-13 13:56:00 +02:00 |
|
temi54c1l8
|
bc920558ac
|
CO_TIME: static analysis: unexpected lack of indentation (convert tab to space)
|
2024-06-13 13:51:13 +02:00 |
|