diff options
| author | Felipe Balbi <balbi@ti.com> | 2012-01-31 13:33:32 +0200 |
|---|---|---|
| committer | Felipe Balbi <balbi@ti.com> | 2012-02-06 11:48:41 +0200 |
| commit | 3d4c0d4ffb418800b2d1af111f9e1d5b204ee55c (patch) | |
| tree | c4249599f33d1c402c0689272e9074a884846c6d /include/linux/mutex-debug.h | |
| parent | 45b3cd4ad79b31289aa7da7a6448ec5afb7780a4 (diff) | |
| download | olio-linux-3.10-3d4c0d4ffb418800b2d1af111f9e1d5b204ee55c.tar.xz olio-linux-3.10-3d4c0d4ffb418800b2d1af111f9e1d5b204ee55c.zip | |
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>
Diffstat (limited to 'include/linux/mutex-debug.h')
0 files changed, 0 insertions, 0 deletions