Messages in this thread Patch in this message | | | Date | Mon, 4 Oct 1999 21:16:17 -0400 (EDT) | From | Dennis Hou <> | Subject | [PATCH] 2.3.19 compiler warnings |
| |
Attached is small patch to get rid of two unused variables complaints in drivers/scsi/sr.c by 2.3.19.
2.3.19 still has those "greater than maximum object file alignment" warnings, probably related to NR_CPUS/NR_IRQS (I'm running a UP box here.) Removing __cacheline_aligned gets rid of the errors, but as I'm not too familiar with SMP spinlocking and such, I didn't include that in the patch.
As a side note, is there any chance of getting Erez Zadok's loopback file system into 2.3.20? (http://www.cs.columbia.edu/~ezk/research/software/fist-2.3.18.diff) --- linux-old/drivers/scsi/sr.c Mon Oct 4 19:56:14 1999 +++ linux/drivers/scsi/sr.c Mon Oct 4 20:54:57 1999 @@ -861,7 +861,6 @@ unsigned char *buffer; int the_result, retries; Scsi_Cmnd *SCpnt; - unsigned long flags; buffer = (unsigned char *) scsi_malloc(512); SCpnt = scsi_allocate_device(NULL, scsi_CDs[i].device, 1); @@ -1031,7 +1030,6 @@ { Scsi_Cmnd *SCpnt; Scsi_Device *device = scsi_CDs[MINOR(cdi->dev)].device; - unsigned long flags; int stat; /* get the device */ | |