Files
erofs-linux/drivers/mmc/core
NeilBrown 6b7a783ebd mmc: pwrseq_simple: fix error path in mmc_pwrseq_simple_alloc
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 <[email protected]>
Fixes: 934f1f4833
Acked-by: Javier Martinez Canillas <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Reported-by: Srinivas Kandagatla <[email protected]>
2015-03-19 11:26:35 +01:00
..
…
…
…
…
…
2015-01-29 11:15:12 +01:00
…
…
…
…
…