lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <450713C4.2050303@nachtwindheim.de>
Date:	Tue, 12 Sep 2006 22:08:36 +0200
From:	Henne <henne@...htwindheim.de>
To:	James.Bottomley@...elEye.com
Cc:	linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH 2/2] 53c7xx linked drivers: Scsi_Cmnd to struct scsi_cmnd
 convertion

From: Henrik Kretzschmar <henne@...htwindheim.de>

Chenges obsolete typedef'd Scsi_Cmnd into struct scsi_cmnd for drivers
which use 53c7xx.
Signed-off-by: Henrik Kretzschmar <henne@...htwindheim.de>

---

diff -ruN linux-2.6/drivers/scsi/amiga7xx.h devel/drivers/scsi/amiga7xx.h
--- linux-2.6/drivers/scsi/amiga7xx.h	2006-08-01 01:31:43.000000000 +0200
+++ devel/drivers/scsi/amiga7xx.h	2006-09-12 21:13:15.000000000 +0200
@@ -4,10 +4,11 @@
 
 int amiga7xx_detect(struct scsi_host_template *);
 const char *NCR53c7x0_info(void);
-int NCR53c7xx_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
-int NCR53c7xx_abort(Scsi_Cmnd *);
+int NCR53c7xx_queue_command(struct scsi_cmnd *,
+			    void (*done) (struct scsi_cmnd *));
+int NCR53c7xx_abort(struct scsi_cmnd *);
 int NCR53c7x0_release (struct Scsi_Host *);
-int NCR53c7xx_reset(Scsi_Cmnd *, unsigned int);
+int NCR53c7xx_reset(struct scsi_cmnd *, unsigned int);
 void NCR53c7x0_intr(int irq, void *dev_id, struct pt_regs * regs);
 
 #ifndef CMD_PER_LUN
diff -ruN linux-2.6/drivers/scsi/bvme6000.h devel/drivers/scsi/bvme6000.h
--- linux-2.6/drivers/scsi/bvme6000.h	2006-08-01 01:31:43.000000000 +0200
+++ devel/drivers/scsi/bvme6000.h	2006-09-12 21:18:50.000000000 +0200
@@ -5,10 +5,11 @@
 
 int bvme6000_scsi_detect(struct scsi_host_template *);
 const char *NCR53c7x0_info(void);
-int NCR53c7xx_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
-int NCR53c7xx_abort(Scsi_Cmnd *);
+int NCR53c7xx_queue_command(struct scsi_cmnd *,
+			    void (*done) (struct scsi_cmnd *));
+int NCR53c7xx_abort(struct scsi_cmnd *);
 int NCR53c7x0_release (struct Scsi_Host *);
-int NCR53c7xx_reset(Scsi_Cmnd *, unsigned int);
+int NCR53c7xx_reset(struct scsi_cmnd *, unsigned int);
 void NCR53c7x0_intr(int irq, void *dev_id, struct pt_regs * regs);
 
 #ifndef CMD_PER_LUN
diff -ruN linux-2.6/drivers/scsi/mvme16x.h devel/drivers/scsi/mvme16x.h
--- linux-2.6/drivers/scsi/mvme16x.h	2006-08-01 01:31:43.000000000 +0200
+++ devel/drivers/scsi/mvme16x.h	2006-09-12 21:16:20.000000000 +0200
@@ -5,10 +5,11 @@
 
 int mvme16x_scsi_detect(struct scsi_host_template *);
 const char *NCR53c7x0_info(void);
-int NCR53c7xx_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
-int NCR53c7xx_abort(Scsi_Cmnd *);
+int NCR53c7xx_queue_command(struct scsi_cmnd *,
+			    void (*done) (struct scsi_cmnd *));
+int NCR53c7xx_abort(struct scsi_cmnd *);
 int NCR53c7x0_release (struct Scsi_Host *);
-int NCR53c7xx_reset(Scsi_Cmnd *, unsigned int);
+int NCR53c7xx_reset(struct scsi_cmnd *, unsigned int);
 void NCR53c7x0_intr(int irq, void *dev_id, struct pt_regs * regs);
 
 #ifndef CMD_PER_LUN


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ