Re: [PATCH net-next v2 04/17] soc: fsl: qe: add cpm_muram_free_addr() helper

2021-01-19 Thread Li Yang
On Tue, Jan 19, 2021 at 9:21 AM Rasmus Villemoes wrote: > > Add a helper that takes a virtual address rather than the muram > offset. This will be used in a couple of places to avoid having to > store both the offset and the virtual address, as well as removing > NULL checks from the callers. > >

[PATCH net-next v2 04/17] soc: fsl: qe: add cpm_muram_free_addr() helper

2021-01-19 Thread Rasmus Villemoes
Add a helper that takes a virtual address rather than the muram offset. This will be used in a couple of places to avoid having to store both the offset and the virtual address, as well as removing NULL checks from the callers. Signed-off-by: Rasmus Villemoes --- drivers/soc/fsl/qe/qe_common.c |