From: Mauro Carvalho Chehab Date: Fri, 27 Aug 2010 14:36:23 +0000 (-0300) Subject: i7300_edac: pre-allocate a buffer used to prepare err messages X-Git-Tag: v2.6.37-rc1~140^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85580ea4f72ce08e4d9140a3bb22806185a0bba9;p=pandora-kernel.git i7300_edac: pre-allocate a buffer used to prepare err messages Instead of dynamically allocating a buffer for it where needed, just allocate it once. As we'll use the same buffer also during fatal and non-fatal errors, is is very risky to dynamically allocate it during an error. Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed