Re-write all cma error cases to simplify code. Splitting it as multiple patches (one per routine) in case some are found not required (in which case, later ones may apply with a fuzz). Signed-off-by: Krishna Kumar <krkumar2 at in.ibm.com> --------