aboutsummaryrefslogtreecommitdiff
path: root/drivers/cdx/controller/cdx_controller.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2023-09-04 22:04:06 +0200
committerMark Brown <broonie@kernel.org>2023-09-11 01:30:07 +0100
commitd3601857e14de6369f00ae19564f1d817d175d19 (patch)
tree636c38b052f467c4381bc32887794534ef77df19 /drivers/cdx/controller/cdx_controller.c
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff)
regmap: debugfs: Fix a erroneous check after snprintf()
This error handling looks really strange. Check if the string has been truncated instead. Fixes: f0c2319f9f19 ("regmap: Expose the driver name in debugfs") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/8595de2462c490561f70020a6d11f4d6b652b468.1693857825.git.christophe.jaillet@wanadoo.fr Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions