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)
commit8f5e24514cbd63c352b663636f955fb286f2c3bd
tree3a2285b9721a14a46468c31bdb9410297f32a34c
parentdaf3ddbe11a2ff74c95bc814df8e5fe3201b4cb5
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