]> git.baikalelectronics.ru Git - kernel.git/commit
regmap: debugfs: Improve warning message on debugfs_create_dir() failure
authorFabio Estevam <fabio.estevam@nxp.com>
Tue, 6 Mar 2018 02:13:04 +0000 (23:13 -0300)
committerMark Brown <broonie@kernel.org>
Tue, 6 Mar 2018 14:49:28 +0000 (14:49 +0000)
commit888b706beb8dd1e470359d1b305888eced1a6c4f
tree4c843a463a6eef9eeb1f6d797eaf65ed22540a57
parentb70ddc40d2d6c32334f02db0bb22fa324487e0ad
regmap: debugfs: Improve warning message on debugfs_create_dir() failure

Currently when debugfs_create_dir() fails we receive a warning message
that provides no indication as to what was the directory entry that
failed to be created.

Improve the warning message by printing the directory name that failed
in order to help debugging.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regmap-debugfs.c