diff options
author | Alex Elder <elder@linaro.org> | 2021-06-10 14:23:02 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-10 14:50:08 -0700 |
commit | ce05a9f39607623362aea9147c3dfab7a9f94ccb (patch) | |
tree | 7f13803bd0f6ce300d334532140b0b20e05c7946 /Documentation/arm64 | |
parent | 8cc7ebbf5f6e8ca825dba4d0180329857c997c40 (diff) |
net: ipa: clean up header memory validation
Do some general cleanup in ipa_cmd_header_valid():
- Delay assigning the mem variable until just before it's used.
- Assign the maximum offset and size values together.
- Improve comments explaining the single range of memory being
made up of a modem portion and an AP portion.
- Record the offset of the combined range in a local variable.
- Do the initial size assignment right after assigning the offset.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/arm64')
0 files changed, 0 insertions, 0 deletions