OSDN Git Service

staging: drm/omap: Fix usage of IS_ERR_OR_NULL and PTR_ERR
authorAndy Gross <andy.gross@ti.com>
Fri, 16 Nov 2012 19:10:57 +0000 (13:10 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Nov 2012 23:03:10 +0000 (15:03 -0800)
commit295c799ae45b3678d9b8d3e845635ed07ce3b66a
tree36cf2c2aeb9cb35892cc230a679b4cf0dc38582d
parent9d36976fad3008fcc4209789566f7f3e7763f212
staging: drm/omap: Fix usage of IS_ERR_OR_NULL and PTR_ERR

Return -ENOMEM if dmm_txn_init cannot allocate a refill engine.

v2: Fix typing issue seen with newer compilers

Signed-off-by: Andy Gross <andy.gross@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/omapdrm/omap_dmm_tiler.c