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.
signature.asc
Description: Digital signature
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.
signature.asc
Description: Digital signature
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.
We also should make sure that the 'name' pointer shouldn't be NULL for
debugfs_create_dir(). So here using one default "dummy" debugfs name
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.
We also should make sure that the 'name' pointer shouldn't be NULL for
debugfs_create_dir(). So here using one default dummy debugfs name when
4 matches
Mail list logo