Re: [PATCH] firmware: qcom_scm: Prefer initialisation during the descriptor declaration

2020-05-14 Thread Bjorn Andersson
On Wed 13 May 23:40 PDT 2020, Amit Kucheria wrote: > qcom_scm_iommu_secure_ptbl_init() initialises the args twice, once while > declaring the struct, and then again by assignment. Remove the duplicate > assignment. > Seems like a leftover from the refactoring, thanks for spotting this. >

[PATCH] firmware: qcom_scm: Prefer initialisation during the descriptor declaration

2020-05-14 Thread Amit Kucheria
qcom_scm_iommu_secure_ptbl_init() initialises the args twice, once while declaring the struct, and then again by assignment. Remove the duplicate assignment. Similarly, move arginfo initialisation to the declaration in __qcom_scm_is_call_available for consistency with other .arginfo