diff options
author | Ludovic Desroches <ludovic.desroches@atmel.com> | 2015-05-06 15:16:46 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-05-18 09:04:42 +0200 |
commit | 60c8f783a18feb95ad967c87e9660caf09fb4700 (patch) | |
tree | 11da018d6c00c891e59a37cb6f83867fad098642 /drivers/hid/hid-pl.c | |
parent | 030bbdbf4c833bc69f502eae58498bc5572db736 (diff) | |
download | linux-60c8f783a18feb95ad967c87e9660caf09fb4700.tar.bz2 |
mmc: atmel-mci: fix bad variable type for clkdiv
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>
Diffstat (limited to 'drivers/hid/hid-pl.c')
0 files changed, 0 insertions, 0 deletions