]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc5ac71a06799202da27208867d966b2191db9e78
tree36cf2c2aeb9cb35892cc230a679b4cf0dc38582d
parent2889e3e0bd870d694e83fa515201f4eeeb739c3b
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