Re: [PATCH] mmc: pwrseq_simple: fix error path in mmc_pwrseq_simple_alloc.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Neil,

On 02/21/2015 05:15 AM, NeilBrown wrote:
> 
> From: NeilBrown <neil@xxxxxxxxxx>
> 
> 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@xxxxxxxxxx>
> Fixes: 934f1f48330ed695927a51fa068dc5d673f2da19
> 
>

Right, sorry for the silly mistake.

Acked-by: Javier Martinez Canillas <javier.martinez@xxxxxxxxxxxxxxx>

Best regards,
Javier
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux