summaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm/tpm_atmel.h
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-09-11 00:56:35 +0200
committerInki Dae <inki.dae@samsung.com>2013-09-16 14:57:08 +0200
commit662bb6992a505ad41db3c8b52b1e70934507c2e2 (patch)
treeef2016ba2ab78c0f33b1d789ae712089ac17312a /drivers/char/tpm/tpm_atmel.h
parentdrm/exynos: Fix address space warnings in exynos_drm_fbdev.c (diff)
downloadlinux-662bb6992a505ad41db3c8b52b1e70934507c2e2.tar.xz
linux-662bb6992a505ad41db3c8b52b1e70934507c2e2.zip
drm/exynos: fix return value check in lowlevel_buffer_allocate()
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 <yongjun_wei@trendmicro.com.cn> Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/char/tpm/tpm_atmel.h')
0 files changed, 0 insertions, 0 deletions