https://github.com/torvalds/linux
Revision 6b7a783ebd2181aa2e0e6f9f5509da8466e321e3 authored by NeilBrown on 21 February 2015, 04:15:16 UTC, committed by Ulf Hansson on 19 March 2015, 10:26:35 UTC
The current error-path code (when gpiod_get_index() reports
an error) can never free pwrseq->reset_gpios[0], but might
try to tree pwrseq->reset_gpios[-1], which has unfortunate
consequences.

Signed-off-by: NeilBrown <neil@brown.name>
Fixes: 934f1f48330ed695927a51fa068dc5d673f2da19
Acked-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reported-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
1 parent 06e5801
History
Tip revision: 6b7a783ebd2181aa2e0e6f9f5509da8466e321e3 authored by NeilBrown on 21 February 2015, 04:15:16 UTC
mmc: pwrseq_simple: fix error path in mmc_pwrseq_simple_alloc
Tip revision: 6b7a783
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 4.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.0 KB
Kbuild -rw-r--r-- 2.1 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 298.6 KB
Makefile -rw-r--r-- 53.3 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top