]> git.itanic.dy.fi Git - linux-stable/commit
net: ipa: stop using sizeof(status)
authorAlex Elder <elder@linaro.org>
Wed, 25 Jan 2023 20:45:39 +0000 (14:45 -0600)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Jan 2023 11:16:29 +0000 (11:16 +0000)
commitb8dc7d0eea5a7709bb534f1b3ca70d2d7de0b42c
tree4d5375393e378ccb486df31ac0f13e299225bc86
parent63a560b5289a0f9d66d099fb093c20b0abe01027
net: ipa: stop using sizeof(status)

The IPA packet status structure changes in IPA v5.0 in ways that are
difficult to represent cleanly.  As a small step toward redefining
it as a parsed block of data, use a constant to define its size,
rather than the size of the IPA status structure type.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_endpoint.c