diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2015-10-24 21:15:34 +0200 |
---|---|---|
committer | Markus Pargmann <mpa@pengutronix.de> | 2016-02-03 11:02:56 +0100 |
commit | 27ea43fe2a32f63bb6f442dafc2133232b8af4a6 (patch) | |
tree | 145cf78515bd373bc9ccbd56772590890ef006cf /drivers/scsi/aha1740.h | |
parent | 92e963f50fc74041b5e9e744c330dca48e04f08d (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/scsi/aha1740.h')
0 files changed, 0 insertions, 0 deletions