Re: [PATCH 2/3] mmc: usdhi6rol0: fix NULL pointer deref in debug print

2015-08-25 Thread Ulf Hansson
On 19 August 2015 at 15:41, Rabin Vincent wrote: > host->sg is only set when we're transferring multiple blocks. Check for > its availibility before dereferencing it in the timeout work debug > print. > > Signed-off-by: Rabin Vincent Thanks, applied for next! Kind regards Uffe > --- > drive

[PATCH 2/3] mmc: usdhi6rol0: fix NULL pointer deref in debug print

2015-08-19 Thread Rabin Vincent
host->sg is only set when we're transferring multiple blocks. Check for its availibility before dereferencing it in the timeout work debug print. Signed-off-by: Rabin Vincent --- drivers/mmc/host/usdhi6rol0.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/h