]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-ipa-another-set-of-cleanups'
authorJakub Kicinski <kuba@kernel.org>
Sat, 24 Sep 2022 03:56:31 +0000 (20:56 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 24 Sep 2022 03:56:32 +0000 (20:56 -0700)
commit4235d8a6bda45a901136ac9e1610d34e60d2c49f
treeaeaee8e9f14ea362075b6b631aec8cfbdfd0cc22
parent493b385b909d1a76f3746ac2716ed73e3c2e6c24
parent919a5ff026c88f9c7a07af9c0601fc2ad6d9daa5
Merge branch 'net-ipa-another-set-of-cleanups'

Alex Elder says:

====================
net: ipa: another set of cleanups

This series contains another set of cleanups done in preparation for
an upcoming series that reworks how IPA registers and their fields
are defined.

The first replaces the use of u32_replace_bits() with a simple
logical AND operation in two places.

The second creates a new function to encapsulate some common code,
and renames another for consistency.  The third restructures two
other functions that do similar things to make their similarity more
obvious.

The fourth defines the flag bits in a register using an enumerated
type.  And the fifth updates "ipa_reg.h" so the values assigned to
enumerated type members are aligned consistently.

The last three encapsulate the code that assigns values to a few
registers into separate functions.
====================

Link: https://lore.kernel.org/r/20220922222100.2543621-1-elder@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>