summaryrefslogtreecommitdiff
path: root/lib/audit.c
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2021-06-09 17:34:59 -0500
committerDavid S. Miller <davem@davemloft.net>2021-06-09 15:59:33 -0700
commit1eec767746e5fe4e4376ad511558de3c77f49d82 (patch)
treece5032e0d824d4c8cf17c03f55f464566d1459f9 /lib/audit.c
parent2f9be1e90860e8acb43dc164e25c0d0be60f6a7b (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 <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/audit.c')
0 files changed, 0 insertions, 0 deletions