diff options
author | Pavel Machek <pavel@ucw.cz> | 2019-04-16 09:58:45 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2019-04-29 12:37:11 +0200 |
commit | 42c38d4a1bc41e78dedbf73b0fb35e44007789bb (patch) | |
tree | 340bfe840413ec655d0c4ccf509f7a587ab0531f /drivers/memstick | |
parent | 4c94cb651f478e0b53f10b77033b91a5c7702740 (diff) | |
download | linux-42c38d4a1bc41e78dedbf73b0fb35e44007789bb.tar.bz2 |
mmc: core: Fix warning and undefined behavior in mmc voltage handling
!voltage_ranges is tested for too late, allowing warning and undefined
behavior. Fix that.
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/memstick')
0 files changed, 0 insertions, 0 deletions