sh: dma: check return value of create_proc_read_entry()
authorKulikov Vasiliy <segooon@gmail.com>
Wed, 28 Jul 2010 16:39:26 +0000 (16:39 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 4 Aug 2010 07:10:28 +0000 (16:10 +0900)
commit32dfab3ced3a3d2bb0ac2ed6fd7ac395edf02e88
tree61a3fd983b5870e797b5da14f80cd100ec27a34b
parent38409d726bc6413d39f082f60bc803f52d8b5849
sh: dma: check return value of create_proc_read_entry()

create_proc_read_entry() may fail, if so return -ENOMEM.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/dma/dma-api.c