Lakshmi Ramasubramanian <nra...@linux.microsoft.com> writes:

> do_get_kexec_buffer() calls another local function get_addr_size_cells()
> to get the address and size of the IMA measurement log buffer stored in
> the device tree. get_addr_size_cells() is small enough that it can be
> merged into do_get_kexec_buffer() and a function call can be avoided.
>
> Refactor do_get_kexec_buffer() to call of_ functions directly instead
> of calling get_addr_size_cells() and remove get_addr_size_cells().
>
> Co-developed-by: Prakhar Srivastava <prsr...@linux.microsoft.com>
> Signed-off-by: Prakhar Srivastava <prsr...@linux.microsoft.com>
> Signed-off-by: Lakshmi Ramasubramanian <nra...@linux.microsoft.com>

Reviewed-by: Thiago Jung Bauermann <bauer...@linux.ibm.com>

-- 
Thiago Jung Bauermann
IBM Linux Technology Center

Reply via email to