Commit 0716c1a
committed
Suppress MISRA 14.3 finding in ARP buffer allocation
Move the buffer size ternary into a named macro
(arpOUTPUT_REQUEST_BUFFER_SIZE) with a coverity suppression comment.
The expression compares sizeof against a configuration constant and is
invariant for a given build but varies across user configurations.1 parent da707f2 commit 0716c1a
2 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
202 | 205 | | |
203 | 206 | | |
204 | 207 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1194 | 1194 | | |
1195 | 1195 | | |
1196 | 1196 | | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
1197 | 1200 | | |
1198 | 1201 | | |
1199 | 1202 | | |
| |||
0 commit comments