summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/tifm_sd.c
diff options
context:
space:
mode:
authorLudovic Barre <ludovic.barre@st.com>2018-10-02 14:09:03 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2018-10-08 11:40:43 +0200
commit19a25d57ad39c7facc878d68feeb79867e037922 (patch)
treebc1c01e902ffb41ff8aa382d4ac9b9c5ef082ae5 /drivers/mmc/host/tifm_sd.c
parentcdea194721929d025d40cfa6c2449d5c4cd366e6 (diff)
mmc: mmci: Change struct members from bool to u8
Recent versions of checkpatch have a new warning based on a documented preference of Linus to not use bool in structures due to wasted space and the size of bool is implementation dependent. For more information, see the email thread at https://lkml.org/lkml/2017/11/21/384 fix checkpatch --strict issues: -CHECK: Avoid using bool structure members because of possible alignment issues - see: https://lkml.org/lkml/2017/11/21/384 -WARNING: Avoid using bool as bitfield. Prefer bool bitfields as unsigned int or u<8|16|32> Signed-off-by: Ludovic Barre <ludovic.barre@st.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/tifm_sd.c')
0 files changed, 0 insertions, 0 deletions