Re: [PATCH] regmap: debugfs: fix possbile NULL pointer dereference

From: Mark Brown
Date: Sun Sep 28 2014 - 06:46:34 EST


On Sun, Sep 28, 2014 at 11:35:25AM +0800, Xiubo Li wrote:
> If 'map->dev' is NULL and there will lead dev_name() to be NULL pointer
> dereference. So before dev_name(), we need to have check of the map->dev
> pionter.

Applied, thanks.

Attachment: signature.asc
Description: Digital signature