diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2017-01-09 23:31:58 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-11 02:45:04 +0100 |
commit | 3512a1ad56174308a9fd3e10f4b1e3e152e9ec01 (patch) | |
tree | 42adcf8c1b4f10c625aa4b49958e187b4087744c /drivers/soc | |
parent | net: dsa: Ensure validity of dst->ds[0] (diff) | |
download | linux-3512a1ad56174308a9fd3e10f4b1e3e152e9ec01.tar.xz linux-3512a1ad56174308a9fd3e10f4b1e3e152e9ec01.zip |
net: qrtr: Mark 'buf' as little endian
Failure to mark this pointer as __le32 causes checkers like
sparse to complain:
net/qrtr/qrtr.c:274:16: warning: incorrect type in assignment (different base types)
net/qrtr/qrtr.c:274:16: expected unsigned int [unsigned] [usertype] <noident>
net/qrtr/qrtr.c:274:16: got restricted __le32 [usertype] <noident>
net/qrtr/qrtr.c:275:16: warning: incorrect type in assignment (different base types)
net/qrtr/qrtr.c:275:16: expected unsigned int [unsigned] [usertype] <noident>
net/qrtr/qrtr.c:275:16: got restricted __le32 [usertype] <noident>
net/qrtr/qrtr.c:276:16: warning: incorrect type in assignment (different base types)
net/qrtr/qrtr.c:276:16: expected unsigned int [unsigned] [usertype] <noident>
net/qrtr/qrtr.c:276:16: got restricted __le32 [usertype] <noident>
Silence it.
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/soc')
0 files changed, 0 insertions, 0 deletions