diff options
author | Lv Ruyi <lv.ruyi@zte.com.cn> | 2022-04-19 01:36:48 +0000 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2022-07-08 17:56:03 +0200 |
commit | afcdb8e55c91c6ff0700ab272fd0f74e899ab884 (patch) | |
tree | 37f07d437ab1727e87a2316fefc8fe221b00f0ff /drivers/mux | |
parent | a4740b148a04dc60e14fe6a1dfe216d3bae214fd (diff) | |
download | linux-afcdb8e55c91c6ff0700ab272fd0f74e899ab884.tar.gz linux-afcdb8e55c91c6ff0700ab272fd0f74e899ab884.tar.bz2 linux-afcdb8e55c91c6ff0700ab272fd0f74e899ab884.zip |
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/mux')
0 files changed, 0 insertions, 0 deletions