summaryrefslogtreecommitdiff
path: root/drivers/target
diff options
context:
space:
mode:
authorMarkus Pargmann <mpa@pengutronix.de>2015-10-24 21:15:34 +0200
committerMarkus Pargmann <mpa@pengutronix.de>2016-02-03 11:02:56 +0100
commit27ea43fe2a32f63bb6f442dafc2133232b8af4a6 (patch)
tree145cf78515bd373bc9ccbd56772590890ef006cf /drivers/target
parent92e963f50fc74041b5e9e744c330dca48e04f08d (diff)
nbd: Fix debugfs error handling
Static checker complains about the implemented error handling. It is indeed wrong. We don't care about the return values of created debugfs files. We only have to check the return values of created dirs for NULL pointer. If we use a null pointer as parent directory for files, this may lead to debugfs files in wrong places. Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions