aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2013-09-10 22:56:12 +0000
committerRob Clark <[email protected]>2013-09-11 21:31:33 +0000
commit1f70e079c773b2c5988b0f0b4d314fc0f6c7a1b8 (patch)
tree5fa117c3854eeeeb23d749402e125312e67cf7c3 /net/lapb/lapb_timer.c
parentdrm/msm: fix cmdstream size check (diff)
downloadkernel-1f70e079c773b2c5988b0f0b4d314fc0f6c7a1b8.tar.gz
kernel-1f70e079c773b2c5988b0f0b4d314fc0f6c7a1b8.zip
drm/msm: fix return value check in ERR_PTR()
In case of error, the function drm_prime_pages_to_sg() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions