diff options
| author | Hannes Reinecke <[email protected]> | 2015-01-08 06:43:44 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2015-01-09 14:44:29 +0000 |
| commit | 9e5ed2a5b3662c6f398023042c02aaa527099a3d (patch) | |
| tree | 494155845e8fd696e96642bd08667e48038e31d8 /drivers/scsi/mpt2sas/mpi/mpi2_ioc.h | |
| parent | scsi: log request tag for scmd_printk() (diff) | |
| download | kernel-9e5ed2a5b3662c6f398023042c02aaa527099a3d.tar.gz kernel-9e5ed2a5b3662c6f398023042c02aaa527099a3d.zip | |
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 <[email protected]>
Reviewed-by: Robert Elliott <[email protected]>
Signed-off-by: Hannes Reinecke <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_ioc.h')
0 files changed, 0 insertions, 0 deletions
