diff options
author | Lv Ruyi <[email protected]> | 2022-04-19 01:36:48 +0000 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2022-07-08 17:56:03 +0200 |
commit | afcdb8e55c91c6ff0700ab272fd0f74e899ab884 (patch) | |
tree | 37f07d437ab1727e87a2316fefc8fe221b00f0ff /drivers/usb/cdns3/cdns3-trace.c | |
parent | a4740b148a04dc60e14fe6a1dfe216d3bae214fd (diff) |
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 <[email protected]>
Signed-off-by: Lv Ruyi <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions