mirror of
https://github.com/OpenAMP/open-amp.git
synced 2026-02-06 02:54:32 +08:00
Align coding rule with checkpatch recommendation concerning the comparison to null. Some comparisons in macro have not be fixed for readability. Examples of code not updated: VQ_PARAM_CHK(ring == NULL, status, ERROR_VQUEUE_INVLD_PARAM); VQASSERT(vq, cookie != NULL, "enqueuing with no cookie"); Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>