]> 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)
commitb5b84272425b2ca291f9add652ed476d3f522c6c
tree931361301775ddface07967f77db195d59bfeca7
parent359bf0f5b871a54f7e2985351b878b5e0798b362
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: b5839de2348d ("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