mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
usb: dwc3: debugfs: fix error check
debugfs APIs will return NULL if it fails to create the file/directory we ask it to create. Instead of checking for IS_ERR(ptr) we must check for !ptr. Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
45b3cd4ad7
commit
3d4c0d4ffb
1 changed files with 10 additions and 10 deletions
Loading…
Add table
Add a link
Reference in a new issue