diff options
| author | Alex Elder <elder@linaro.org> | 2021-06-10 01:34:59 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-06-10 01:59:33 +0300 |
| commit | 1eec767746e5fe4e4376ad511558de3c77f49d82 (patch) | |
| tree | ce5032e0d824d4c8cf17c03f55f464566d1459f9 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 2f9be1e90860e8acb43dc164e25c0d0be60f6a7b (diff) | |
| download | linux-1eec767746e5fe4e4376ad511558de3c77f49d82.tar.xz | |
net: ipa: pass memory configuration data to ipa_mem_valid()
Pass the memory configuration data array to ipa_mem_valid() for
validation, and use that rather than assuming it's already been
recorded in the IPA structure. Move the memory data array size
check into ipa_mem_valid().
Call ipa_mem_valid() early in ipa_mem_init(), and only proceed with
assigning the memory array pointer and size if it is found to be
valid.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
