Home
last modified time | relevance | path

Searched hist:ce05a9f39607623362aea9147c3dfab7a9f94ccb (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ipa/
H A Dipa_cmd.cdiff ce05a9f39607623362aea9147c3dfab7a9f94ccb Thu Jun 10 14:23:02 CDT 2021 Alex Elder <elder@linaro.org> 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>