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

2014-09-18 Thread Mark Brown
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,

[PATCH] regmap: fix NULL pointer dereference in regmap_get_val_endian

2014-09-18 Thread Pankaj Dubey
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. Signed-off-by: Pankaj Dubey --- drivers/base/regmap/regmap.c | 23

[PATCH] regmap: fix NULL pointer dereference in regmap_get_val_endian

2014-09-18 Thread Pankaj Dubey
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. Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com ---

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

2014-09-18 Thread Mark Brown
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,