diff options
| author | 2008-03-20 11:09:16 +0900 | |
|---|---|---|
| committer | 2008-04-07 12:18:58 -0500 | |
| commit | 5cb2fc06107fe343a9488b32ddf3d9b4596b7090 (patch) | |
| tree | 21545a47e33634903b1294e50b8b54260e87846d /scripts/Makefile.thinlto | |
| parent | [SCSI] scsi_debug: remove temporary hack around sscanf for negative values (diff) | |
[SCSI] scsi_debug: create new scsi_debug devices at a single place
Two functions, sdebug_add_adapter and devInfoReg, creates new
scsi_debug devices. To simplify the code, this patch adds a new helper
function to create new scsi_debug devices (sdebug_device_create) and
converts both functions to use it.
I plan to add more to scsi_debug devices (e.g. using a thread for a
scsi_debug device for scalability testings). This patch enable me to
add such to just the new helper function instead of touching two
functions, sdebug_add_adapter and devInfoReg.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Douglas Gilbert <dougg@torque.net>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
