File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -227,11 +227,13 @@ score::cpp::expected_blank<score::os::Error> ChannelImpl::MsgSendPulse(const std
227227/* KW_SUPPRESS_END:MISRA.VAR.HIDDEN:Wrapper function is identifiable through namespace usage */
228228{
229229 // Suppressed here because usage of this OSAL method is on banned list
230- // NOLINTNEXTLINE (score-banned-function) see comment above
230+ // NOLINTBEGIN (score-banned-function) see comment above
231231 // Suppress AUTOSAR C++14 M5-0-3 rule findings: "A cvalue expression shall not be implicitly converted to a
232232 // different underlying type." Rationale: MsgSendPulse is a C system API that signals failure by returning -1 The
233- // comparison follows the API definition and is safe. coverity[autosar_cpp14_m5_0_3_violation]
233+ // comparison follows the API definition and is safe.
234+ // coverity[autosar_cpp14_m5_0_3_violation]
234235 if (::MsgSendPulse (coid, priority, code, value) == -1 )
236+ // NOLINTEND(score-banned-function) see comment above
235237 {
236238 return score::cpp::make_unexpected (score::os::Error::createFromErrno ());
237239 }
You can’t perform that action at this time.
0 commit comments