Re: [PATCH] mmc: host: fix potential null pointer dereference

2017-05-25 Thread Gustavo A. R. Silva
Hi Stefan, Quoting Stefan Wahren : Hi Gustavo, "Gustavo A. R. Silva" hat am 24. Mai 2017 um 01:42 geschrieben: Null check at line 1165: if (mrq->cmd), implies that mrq->cmd might be NULL. Add null checks before dereferencing pointer mrq->cmd in order to avoid any potential NULL pointer d

Re: [PATCH] mmc: host: fix potential null pointer dereference

2017-05-25 Thread Stefan Wahren
Hi Gustavo, > "Gustavo A. R. Silva" hat am 24. Mai 2017 um 01:42 > geschrieben: > > > Null check at line 1165: if (mrq->cmd), implies that mrq->cmd might > be NULL. > Add null checks before dereferencing pointer mrq->cmd in order to avoid > any potential NULL pointer dereference. > > Addresse

[PATCH] mmc: host: fix potential null pointer dereference

2017-05-23 Thread Gustavo A. R. Silva
Null check at line 1165: if (mrq->cmd), implies that mrq->cmd might be NULL. Add null checks before dereferencing pointer mrq->cmd in order to avoid any potential NULL pointer dereference. Addresses-Coverity-ID: 1408740 Signed-off-by: Gustavo A. R. Silva --- drivers/mmc/host/bcm2835.c | 12 +