]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit59dd2a85040103e95b1c87b1b920d357ee91dada
tree4c843a463a6eef9eeb1f6d797eaf65ed22540a57
parent17cf46cfe975f1dd04db6bd38398923846512d49
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