On Mon, Jan 30, 2017 at 11:00:28AM +0100, Geert Uytterhoeven wrote:
> On Mon, Jan 30, 2017 at 5:55 AM, Shailendra Verma
> wrote:
> > of_match_device could return NULL, and so can cause a NULL
> > pointer dereference later.
> Can it? The driver uses DT exclusively.
> There is no legacy platform co
Hi Shailendra,
On Mon, Jan 30, 2017 at 5:55 AM, Shailendra Verma
wrote:
> of_match_device could return NULL, and so can cause a NULL
> pointer dereference later.
Can it? The driver uses DT exclusively.
There is no legacy platform code creating "mxs-spi" platform devices.
> Signed-off-by: Shaile
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/spi/spi-mxs.c |5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/spi/spi-mxs.c b/drivers/spi/spi-mxs.c
index 5b0e9a3..c3aea7e 100644
--- a/drivers/sp
3 matches
Mail list logo