diff options
author | Alex Elder <[email protected]> | 2021-06-09 17:34:59 -0500 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-06-09 15:59:33 -0700 |
commit | 1eec767746e5fe4e4376ad511558de3c77f49d82 (patch) | |
tree | ce5032e0d824d4c8cf17c03f55f464566d1459f9 /tools/perf/scripts/python/netdev-times.py | |
parent | 2f9be1e90860e8acb43dc164e25c0d0be60f6a7b (diff) |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions