From: Borislav Petkov Date: Sat, 2 May 2009 08:26:12 +0000 (+0200) Subject: ide-atapi: add a buffer-arg to ide_queue_pc_tail X-Git-Tag: v2.6.31-rc1~103^2~19^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b13345f39dadbabdabaf8819cf6df26913da9e8d;p=pandora-kernel.git ide-atapi: add a buffer-arg to ide_queue_pc_tail This is in preparation of removing ide_atapi_pc. Expose the buffer as an argument to ide_queue_pc_tail with later replacing it with local buffer or even kmalloc'ed one if needed due to stack usage constraints. Also, add the possibility of passing a NULL-ptr buffer for cmds which don't transfer data besides the cdb. While at it, switch to local buffer in idetape_get_mode_sense_results(). There should be no functional change resulting from this patch. Signed-off-by: Borislav Petkov --- Reading git-diff-tree failed