From: Greg Kroah-Hartman Date: Fri, 20 Jul 2012 23:41:09 +0000 (-0700) Subject: staging: csr: remove CsrPmemAlloc X-Git-Tag: v3.6-rc1~100^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=786eeeb3756e7fb08174c3a136c16462ccd541d1;p=pandora-kernel.git staging: csr: remove CsrPmemAlloc It's just a wrapper around kmalloc(, GFP_KERNEL) + a call to panic() if we are out of memory, which is a very foolish thing to do (the panic that is.) So replace it with calls to kmalloc() and ignore the out-of-memory casese for now, odds are it will not be hit, and if it does, hey, we will end up panicing just the same as with the old code. Cc: Mikko Virkkilä Cc: Lauri Hintsala Cc: Riku Mettälä Cc: Veli-Pekka Peltola Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed