Re: [PATCH] regmap: fix NULL pointer dereference in __regmap_init if bus is NULL

From: Sylvain Rochet
Date: Mon Aug 31 2015 - 13:29:43 EST


Hello,

On Mon, Aug 31, 2015 at 07:17:09PM +0200, Sylvain Rochet wrote:
> This fix adds a check for bus pointer before using bus struct members.

I just found out I'm a little too late, Sergey sent the exact same patch
a few hours ago, dammit :-)

Sylvain
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/