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