cciss fix for 2.4.27

From: mike . miller
Date: Wed May 12 2004 - 14:07:30 EST


This patch fixes a problem observed on x86_64 platforms. The problem is a flags variable incorrectly declared as an unsigned int. It causes in an EBUSY when some installers try to read thru our /proc entry.
Please consider this for inclusion.

Thanks,
mikem
-------------------------------------------------------------------------------
cciss_scsi.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -burN lx2427-rc2.orig/drivers/block/cciss_scsi.c lx2427-rc2-flag/drivers/block/cciss_scsi.c
--- lx2427-rc2.orig/drivers/block/cciss_scsi.c 2004-04-14 08:05:29.000000000 -0500
+++ lx2427-rc2-flag/drivers/block/cciss_scsi.c 2004-05-10 12:53:21.000000000 -0500
@@ -1569,7 +1569,7 @@
cciss_proc_tape_report(int ctlr, unsigned char *buffer, off_t *pos, off_t *len)
{
int size;
- unsigned int flags;
+ unsigned long flags;

*pos = *pos -1; *len = *len - 1; // cut off the last trailing newline

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