]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net: ipa: fix QMI structure definition bugs
authorAlex Elder <elder@linaro.org>
Mon, 6 Jul 2020 23:10:08 +0000 (18:10 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Jul 2020 19:43:18 +0000 (12:43 -0700)
commit74478ea4ded519db35cb1f059948b1e713bb4abf
tree931361301775ddface07967f77db195d59bfeca7
parent34fe5a1cf95c3f114068fc16d919c9cf4b00e428
net: ipa: fix QMI structure definition bugs

Building with "W=1" did exactly what it was supposed to do, namely
point out some suspicious-looking code to be verified not to contain
bugs.

Some QMI message structures defined in "ipa_qmi_msg.c" contained
some bad field names (duplicating the "elem_size" field instead of
defining the "offset" field), almost certainly due to copy/paste
errors that weren't obvious in a scan of the code.  Fix these bugs.

Fixes: 530f9216a953 ("soc: qcom: ipa: AP/modem communications")
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_qmi_msg.c