mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
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]>