summaryrefslogtreecommitdiff
path: root/kernel/res_counter.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2012-01-31 12:19:00 (GMT)
committerFelipe Balbi <balbi@ti.com>2012-02-01 09:02:46 (GMT)
commit6c2abcdd4f8e21ce686a26697de0ce198a16eaed (patch)
tree5bbe1b04be09d81bc2188dd69f605101c06c9008 /kernel/res_counter.c
parente9e8c85e69310141d78daaecd6a56138700ac317 (diff)
downloadlinux-fsl-qoriq-6c2abcdd4f8e21ce686a26697de0ce198a16eaed.tar.xz
usb: musb: debugfs: fix error check
debugfs will return NULL on failure, so we must check for !ptr instead of IS_ERR(ptr). Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'kernel/res_counter.c')
0 files changed, 0 insertions, 0 deletions