]> git.baikalelectronics.ru Git - 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)
commitcc2983541fc25864f8f68edb448bb7e57c8bea84
tree931361301775ddface07967f77db195d59bfeca7
parent1a032fbfebad265f997bb135ccca704f3ec3adeb
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: 8b29b90afdb0 ("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