OSDN Git Service

net: ipa: pass mem ID to ipa_mem_zero_region_add()
authorAlex Elder <elder@linaro.org>
Thu, 10 Jun 2021 19:23:04 +0000 (14:23 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Jun 2021 21:50:08 +0000 (14:50 -0700)
commitce928bf8fec070b2239ede568687bd878032b325
tree4bd2c04179820bc33bf4b10ee15e6a108c6aee7e
parent07c525a62a4db207e298064b026b8f3f8da192a6
net: ipa: pass mem ID to ipa_mem_zero_region_add()

Pass a memory region ID rather than the address of a memory region
descriptor to ipa_mem_zero_region_add() to simplify callers.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_mem.c