Replace Scsi_Cmnd
cover Replace Scsi_Cmnd
Hi,
Plenty of older drivers are still using the ugly Scsi_Cmd typedef. The following patchset removes it and change it for struct scsi_cmnd.
drivers/scsi/NCR5380.c | 72 +++++++++++++++++----------------- drivers/scsi/NCR5380.h | 14 +++--- drivers/scsi/NCR53c406a.c | 6 +- drivers/scsi/aha152x.c | 68 ++++++++++++++++---------------- drivers/scsi/aha1542.c | 28 ++++++------ drivers/scsi/aha1542.h | 10 ++-- drivers/scsi/aha1740.c | 8 ++-- drivers/scsi/aha1740.h | 4 +- drivers/scsi/atari_NCR5380.c | 90 +++++++++++++++++++++--------------------- drivers/scsi/atari_scsi.c | 10 ++-- drivers/scsi/atari_scsi.h | 2 +- drivers/scsi/dtc.h | 4 +- drivers/scsi/fd_mcs.c | 10 ++-- drivers/scsi/g_NCR5380.c | 10 ++-- drivers/scsi/g_NCR5380.h | 4 +- drivers/scsi/gdth.c | 64 +++++++++++++++--------------- drivers/scsi/gdth.h | 10 ++-- drivers/scsi/gdth_proc.c | 2 +- drivers/scsi/ibmmca.c | 26 ++++++------ drivers/scsi/in2000.c | 68 ++++++++++++++++---------------- drivers/scsi/in2000.h | 12 +++--- drivers/scsi/megaraid.c | 28 ++++++------ drivers/scsi/megaraid.h | 16 ++++---- drivers/scsi/nsp32_debug.c | 2 +- drivers/scsi/pas16.h | 4 +- drivers/scsi/scsi.h | 3 - drivers/scsi/scsi_typedefs.h | 2 - drivers/scsi/sym53c416.c | 6 +- drivers/scsi/sym53c416.h | 2 +- drivers/scsi/wd7000.c | 2 +- 30 files changed, 291 insertions(+), 296 deletions(-)
Hi James,
Can I get some input on this?
Thanks,
Davidlohr
Quoted 45 lines · Davidlohr Bueso
Hi,
Plenty of older drivers are still using the ugly
Scsi_Cmdtypedef. The following patchset removes it and change it for structscsi_cmnd.drivers/scsi/NCR5380.c | 72 +++++++++++++++++----------------- drivers/scsi/NCR5380.h | 14 +++--- drivers/scsi/NCR53c406a.c | 6 +- drivers/scsi/aha152x.c | 68 ++++++++++++++++---------------- drivers/scsi/aha1542.c | 28 ++++++------ drivers/scsi/aha1542.h | 10 ++-- drivers/scsi/aha1740.c | 8 ++-- drivers/scsi/aha1740.h | 4 +- drivers/scsi/atari_NCR5380.c | 90 +++++++++++++++++++++--------------------- drivers/scsi/atari_scsi.c | 10 ++-- drivers/scsi/atari_scsi.h | 2 +- drivers/scsi/dtc.h | 4 +- drivers/scsi/fd_mcs.c | 10 ++-- drivers/scsi/g_NCR5380.c | 10 ++-- drivers/scsi/g_NCR5380.h | 4 +- drivers/scsi/gdth.c | 64 +++++++++++++++--------------- drivers/scsi/gdth.h | 10 ++-- drivers/scsi/gdth_proc.c | 2 +- drivers/scsi/ibmmca.c | 26 ++++++------ drivers/scsi/in2000.c | 68 ++++++++++++++++---------------- drivers/scsi/in2000.h | 12 +++--- drivers/scsi/megaraid.c | 28 ++++++------ drivers/scsi/megaraid.h | 16 ++++---- drivers/scsi/nsp32_debug.c | 2 +- drivers/scsi/pas16.h | 4 +- drivers/scsi/scsi.h | 3 - drivers/scsi/scsi_typedefs.h | 2 - drivers/scsi/sym53c416.c | 6 +- drivers/scsi/sym53c416.h | 2 +- drivers/scsi/wd7000.c | 2 +- 30 files changed, 291 insertions(+), 296 deletions(-)--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/