[PATCH net v2 0/4] net: ipa: minor bug fixes

From: Alex Elder
Date: Wed Mar 15 2023 - 15:36:06 EST


The four patches in this series fix some errors, though none of them
cause any compile or runtime problems.

The first changes the files included by "drivers/net/ipa/reg.h" to
ensure everything it requires is included with the file. It also
stops unnecessarily including another file. The prerequisites are
apparently satisfied other ways, currently.

The second adds two struct declarations to "gsi_reg.h", to ensure
they're declared before they're used later in the file. Again, it
seems these declarations are currently resolved wherever this file
is included.

The third removes register definitions that were added for IPA v5.0
that are not needed. And the last updates some validity checks for
IPA v5.0 registers. No IPA v5.0 platforms are yet supported, so the
issues resolved here were never harmful.

Version 2 of this series changes the "Fixes" tags in the first two
patches so they supply legitimate commit hashes.

-Alex

Alex Elder (4):
net: ipa: reg: include <linux/bug.h>
net: ipa: add two missing declarations
net: ipa: kill FILT_ROUT_CACHE_CFG IPA register
net: ipa: fix some register validity checks

drivers/net/ipa/gsi_reg.c | 9 ++++++++-
drivers/net/ipa/gsi_reg.h | 4 ++++
drivers/net/ipa/ipa_reg.c | 28 ++++++++++++++++++----------
drivers/net/ipa/ipa_reg.h | 21 ++++++---------------
drivers/net/ipa/reg.h | 3 ++-
5 files changed, 38 insertions(+), 27 deletions(-)

--
2.34.1