diff options
author | Subash Patel <[email protected]> | 2012-06-25 11:22:57 -0700 |
---|---|---|
committer | Inki Dae <[email protected]> | 2012-07-27 11:13:55 +0900 |
commit | 0dd3b72cc66117e5c6dc638f55e4f2e5cc60ed70 (patch) | |
tree | fb7b0cc23b6f2403dcc6a665268c2d8226111e9e /lib/mpi/mpi-internal.h | |
parent | 56fb5380c76d75d30b0e7acdfd36de34b4ee4375 (diff) |
drm/exynos: check for null in return value of dma_buf_map_attachment()
dma_buf_map_attachment() can return NULL and valid sg as return
value. Hence the check for the returned scatter-gather must be using
the inline function IS_ERR_OR_NULL() in place of IS_ERR()
Signed-off-by: Subash Patel <[email protected]>
Signed-off-by: Inki Dae <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions