linux/drivers/mmc
Ludovic Desroches 68275f52fc mmc: atmel-mci: fix bad variable type for clkdiv
commit 60c8f783a1 upstream.

clkdiv is declared as an u32 but it can be set to a negative value
causing a huge divisor value. Change its type to int to avoid this case.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2015-06-06 08:19:35 -07:00
..
card mmc: card: Don't access RPMB partitions for normal read/write 2015-05-17 09:53:51 -07:00
core mmc: core: add missing pm event in mmc_pm_notify to fix hib restore 2015-05-17 09:53:51 -07:00
host mmc: atmel-mci: fix bad variable type for clkdiv 2015-06-06 08:19:35 -07:00
Kconfig mmc: explicitly mention SDIO support in Kconfig 2008-10-12 11:04:36 +02:00
Makefile mmc: sdhci-pci: add platform data 2012-01-11 23:58:47 -05:00