Merge "msm: sps: check the result of memory allocation"