net: ipa: fix u32_replace_bits by u32p_xxx version
authorVadym Kochan <vadym.kochan@plvision.eu>
Thu, 10 Sep 2020 15:41:52 +0000 (18:41 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Sep 2020 16:05:27 +0000 (18:05 +0200)
commite77ae86a283091f080b60a362c05afc8743e0e97
tree80e74013eeb9b67ab6e864aab09aa8d645f8fcf1
parentf41a9b68b2e5fe6156eaf31a78c707ab1d5b89a3
net: ipa: fix u32_replace_bits by u32p_xxx version

[ Upstream commit c047dc1d260f2593035d63747d616c3512f9d6b6 ]

Looks like u32p_replace_bits() should be used instead of
u32_replace_bits() which does not modifies the value but returns the
modified version.

Fixes: 2b9feef2b6c2 ("soc: qcom: ipa: filter and routing tables")
Signed-off-by: Vadym Kochan <vadym.kochan@plvision.eu>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ipa/ipa_table.c