git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
030bbdb
)
mmc: atmel-mci: fix bad variable type for clkdiv
author
Ludovic Desroches
<ludovic.desroches@atmel.com>
Wed, 6 May 2015 13:16:46 +0000
(15:16 +0200)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Mon, 18 May 2015 07:04:42 +0000
(09:04 +0200)
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>
Cc: <stable@vger.kernel.org> # 3.4 and later
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/atmel-mci.c
patch
|
blob
|
history
diff --cc
drivers/mmc/host/atmel-mci.c
Simple merge