summaryrefslogtreecommitdiff
path: root/drivers/scsi/sd.c
diff options
context:
space:
mode:
authorLv Ruyi <lv.ruyi@zte.com.cn>2022-04-19 04:36:48 +0300
committerThierry Reding <treding@nvidia.com>2022-07-08 18:56:03 +0300
commitafcdb8e55c91c6ff0700ab272fd0f74e899ab884 (patch)
tree37f07d437ab1727e87a2316fefc8fe221b00f0ff /drivers/scsi/sd.c
parenta4740b148a04dc60e14fe6a1dfe216d3bae214fd (diff)
downloadlinux-afcdb8e55c91c6ff0700ab272fd0f74e899ab884.tar.xz
firmware: tegra: Fix error check return value of debugfs_create_file()
If an error occurs, debugfs_create_file() will return ERR_PTR(-ERROR), so use IS_ERR() to check it. Reported-by: Zeal Robot <zealci@zte.com.cn> Signed-off-by: Lv Ruyi <lv.ruyi@zte.com.cn> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/scsi/sd.c')
0 files changed, 0 insertions, 0 deletions