From: Tejun Heo Date: Mon, 15 May 2006 11:57:35 +0000 (+0900) Subject: [PATCH] libata: use preallocated buffers X-Git-Tag: v2.6.18-rc1~1079^2~98^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe635c7e91036282e4fd0cc5b4eebc712e43270d;p=pandora-kernel.git [PATCH] libata: use preallocated buffers It's not a very good idea to allocate memory during EH. Use statically allocated buffer for dev->id[] and add 512byte buffer ap->sector_buf. This buffer is owned by EH (or probing) and to be used as temporary buffer for various purposes (IDENTIFY, NCQ log page 10h, PM GSCR block). Signed-off-by: Tejun Heo --- Reading git-diff-tree failed