CRIS: check for memory allocation
authorCyrill Gorcunov <gorcunov@gmail.com>
Sun, 6 May 2007 21:50:56 +0000 (14:50 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 7 May 2007 19:13:00 +0000 (12:13 -0700)
commit542401d97a3251ee20d7acb2f3736d0f34b49e64
tree21e102adaff6df0e24989adc80ba1359396643e3
parentc65808ef769a486dc0c7c0e79069c06459054631
CRIS: check for memory allocation

Add checking for allocated memory.  Indents and spaces are added to be
familiar with the kernel coding style.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Acked-by: Mikael Starvik <starvik@axis.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/cris/kernel/profile.c