CRIS: check for memory allocation
authorCyrill Gorcunov <[email protected]>
Sun, 6 May 2007 21:50:56 +0000 (14:50 -0700)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Acked-by: Mikael Starvik <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/cris/kernel/profile.c