Re: [PATCH] regmap: fix NULL pointer dereference in regmap_get_val_endian

From: Mark Brown
Date: Thu Sep 18 2014 - 13:56:08 EST


On Thu, Sep 18, 2014 at 03:12:20PM +0530, Pankaj Dubey wrote:
> Recents commits for getting reg endianness causing NULL pointer
> dereference if dev is passed NULL in regmap_init_mmio. This patch
> fixes this issue, and allows to parse reg endianness only if dev
> and dev->of_node exist.

Applied, thanks.

Attachment: signature.asc
Description: Digital signature