public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.4.23-rc3 fix scsi disk targets over 1TB to not EIO
@ 2003-11-19 23:30 Adam Radford
  2003-11-19 23:52 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Radford @ 2003-11-19 23:30 UTC (permalink / raw)
  To: marcelo.tosatti, ak, linux-kernel

diff -Naur linux-2.4.23-rc2/drivers/scsi/sd.c linux-2.4.23-rc3/drivers/scsi/sd.c
--- linux-2.4.23-rc2/drivers/scsi/sd.c	Mon Aug 25 04:44:42 2003
+++ linux-2.4.23-rc3/drivers/scsi/sd.c	Wed Nov 19 15:15:38 2003
@@ -294,7 +294,8 @@
 
 static int sd_init_command(Scsi_Cmnd * SCpnt)
 {
-	int dev, block, this_count;
+	int dev, this_count;
+	unsigned long block;
 	struct hd_struct *ppnt;
 	Scsi_Disk *dpnt;
 #if CONFIG_SCSI_LOGGING

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] 2.4.23-rc3 fix scsi disk targets over 1TB to not EIO
  2003-11-19 23:30 [PATCH] 2.4.23-rc3 fix scsi disk targets over 1TB to not EIO Adam Radford
@ 2003-11-19 23:52 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2003-11-19 23:52 UTC (permalink / raw)
  To: Adam Radford; +Cc: marcelo.tosatti, ak, linux-kernel

Adam Radford wrote:
> diff -Naur linux-2.4.23-rc2/drivers/scsi/sd.c linux-2.4.23-rc3/drivers/scsi/sd.c
> --- linux-2.4.23-rc2/drivers/scsi/sd.c	Mon Aug 25 04:44:42 2003
> +++ linux-2.4.23-rc3/drivers/scsi/sd.c	Wed Nov 19 15:15:38 2003
> @@ -294,7 +294,8 @@
>  
>  static int sd_init_command(Scsi_Cmnd * SCpnt)
>  {
> -	int dev, block, this_count;
> +	int dev, this_count;
> +	unsigned long block;
>  	struct hd_struct *ppnt;
>  	Scsi_Disk *dpnt;
>  #if CONFIG_SCSI_LOGGING


What about u64 instead of unsigned long?

	Jeff




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-11-19 23:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-19 23:30 [PATCH] 2.4.23-rc3 fix scsi disk targets over 1TB to not EIO Adam Radford
2003-11-19 23:52 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox