]> git.baikalelectronics.ru Git - kernel.git/commit
net: qrtr: use protocol endiannes variable
authorNicholas Mc Guire <hofrat@osadl.org>
Sat, 11 May 2019 00:56:33 +0000 (02:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 May 2019 16:59:48 +0000 (09:59 -0700)
commit9173c8b7d70879d07d87089f403730a95150f144
tree3a2285b9721a14a46468c31bdb9410297f32a34c
parent44bca5f3eedd5cd85b8d1115ed010d8461f6a610
net: qrtr: use protocol endiannes variable

sparse was unable to verify endiannes correctness due to reassignment
from le32_to_cpu to the same variable - fix this warning up by providing
a proper __le32 type and initializing it. This is not actually fixing
any bug - rather just addressing the sparse warning.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/qrtr/qrtr.c