summaryrefslogtreecommitdiff
path: root/drivers/virtio
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2015-11-06 12:22:08 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2015-11-09 13:16:44 +0100
commit62d494ca2773563e333e670cd18378705dad32d4 (patch)
tree0922a63981635d04b8db55b09e1c8570ba39541c /drivers/virtio
parentae3fbdd1becdfe4488e43bc023ea672bf2c90660 (diff)
mmc: mediatek: Preinitialize delay_phase in get_best_delay()
drivers/mmc/host/mtk-sd.c: In function ‘get_best_delay’: drivers/mmc/host/mtk-sd.c:1284: warning: ‘delay_phase.start’ is used uninitialized in this function drivers/mmc/host/mtk-sd.c:1284: warning: ‘delay_phase.maxlen’ is used uninitialized in this function If delay is zero, these fields are indeed not initialized. Let the compiler preinitialize the whole struct to fix this. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions