diff options
author | Jiri Slaby <[email protected]> | 2016-10-03 10:58:28 +0200 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2016-10-10 14:14:49 +0200 |
commit | 3f2d26643595973e835e8356ea90c7c15cb1b0f1 (patch) | |
tree | c4c6c995923fee952d7d075c46664cce63e4bcb4 /lib/mpi/mpiutil.c | |
parent | 8a3bee9b13824147dd15efb2993fb1b19c0e5555 (diff) |
mmc: core: Annotate cmd_hdr as __le32
Commit f68381a70bb2 (mmc: block: fix packed command header endianness)
correctly fixed endianness handling of packed_cmd_hdr in
mmc_blk_packed_hdr_wrq_prep.
But now, sparse complains about incorrect types:
drivers/mmc/card/block.c:1613:27: sparse: incorrect type in assignment (different base types)
drivers/mmc/card/block.c:1613:27: expected unsigned int [unsigned] [usertype] <noident>
drivers/mmc/card/block.c:1613:27: got restricted __le32 [usertype] <noident>
...
So annotate cmd_hdr properly using __le32 to make everyone happy.
Signed-off-by: Jiri Slaby <[email protected]>
Fixes: f68381a70bb2 (mmc: block: fix packed command header endianness)
Cc: [email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions