]> git.ipfire.org Git - people/ms/u-boot.git/commit
mmc: Change 'part_config' to be a u8 not char.
authorTom Rini <trini@konsulko.com>
Wed, 10 May 2017 19:20:16 +0000 (15:20 -0400)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 29 May 2017 08:28:51 +0000 (17:28 +0900)
commit7ca0d3dde177fa4245f4a6174c577a58c8a3051d
tree7f3693a44daaf4aa2b583394ec1af089dd185f15
parent380e86f361e4e2aef83295972863654fde157560
mmc: Change 'part_config' to be a u8 not char.

In some places we check if part_config is set to MMCPART_NOAVAILABLE
(0xff).  With part_config being a char this is always false.  We should
be using a u8 to store this value instead, after a quick consultation
with the Linux Kernel.  Reported by clang-3.8.

Cc: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
include/mmc.h