From: Hannes Reinecke Date: Thu, 8 Jan 2015 06:43:44 +0000 (+0100) Subject: scsi: use external buffer for command logging X-Git-Tag: fixes-v4.0-rc1~143^2~89 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e5ed2a5b3662c6f398023042c02aaa527099a3d;p=pandora-kernel.git scsi: use external buffer for command logging Use an external buffer for __scsi_print_command() and move command logging over to use the per-cpu logging buffer. With that we can guarantee the command always will always be formatted in one line. So we can even print out a variable length command correctly across several lines. Finally rename __scsi_print_command() to __scsi_format_comment() to better reflect the functionality. Tested-by: Robert Elliott Reviewed-by: Robert Elliott Signed-off-by: Hannes Reinecke Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed