lkml.org 
[lkml]   [2003]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] 2.4.23-rc3 fix scsi disk targets over 1TB to not EIO
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



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

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.031 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site