]> git.itanic.dy.fi Git - linux-stable/commit
net: ipa: IPA status preparatory cleanups
authorAlex Elder <elder@linaro.org>
Wed, 25 Jan 2023 20:45:43 +0000 (14:45 -0600)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Jan 2023 11:16:29 +0000 (11:16 +0000)
commit02c5077439fc7d4cd885add2d4e2d3e678b23e21
treeaccb3ce5f1957514b4266d76b9bff07cb41d3a41
parentec4c24f6a51104579bf54fa3a90df9fd5e8152d1
net: ipa: IPA status preparatory cleanups

The next patch reworks how the IPA packet status structure is
interpreted.  This patch does some preparatory work, to make it
easier to see the effect of that change:
  - Change a few functions that access fields in a IPA packet status
    structure to store field values in local variables with names
    related to the field.
  - Pass a void pointer rather than an (equivalent) status pointer
    to two functions called by ipa_endpoint_status_parse().
  - Use "rule" rather than "val" as the name of a variable that
    holds a routing rule ID.
  - Consistently use "IPA packet status" rather than "status
    element" when referring to this data structure.

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