You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe. CFE_ES_GenPoolInitialize handles when AlignSize isn't a power of 2, but may be more appropriate as an error:
Instead of "fixing" the alignment mask, return an error if the
passed-in value is not actually a power of two.
In ES this only gets passed from two possible sources: one is
hardcoded (4) and the other is sourced from the ALIGN_OF macro.
Is your feature request related to a problem? Please describe.
CFE_ES_GenPoolInitialize
handles whenAlignSize
isn't a power of 2, but may be more appropriate as an error:cFE/modules/es/fsw/src/cfe_es_generic_pool.c
Lines 253 to 269 in e80aae9
Describe the solution you'd like
Analyze, make it an error or document why it's ok as-is for future reference
Describe alternatives you've considered
None
Additional context
Code review
Requester Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered: