[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] docs/misra/rules.rst: allow string literals with memcmp
On Thu, 26 Jun 2025, Nicola Vetrini wrote: > On 2025-06-24 08:11, Jan Beulich wrote: > > On 24.06.2025 01:45, Stefano Stabellini wrote: > > > Rule 21.16 is about the types of arguments allowed for memcpy. > > > > Seeing the subject - is it memcmp(), memcpy(), or both? (Writing from > > home, where I don't have the Misra spec to hand, and hence can't check > > what coverage the rule has.) > > > > Jan > > In this case the rule covers just memcmp(): "The pointer arguments to the > Standard Library function memcmp shall point to either a pointer type, an > essentially signed type, an essentially unsigned type, an essentially Boolean > type or an essentially enum type" Jan, given the above, any chance you can ack it?
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |