[Linaro-mm-sig] [PATCH v10 4/9] tee: refactor params_from_user()