Messages in this thread Patch in this message |  | | Subject | [PATCH] flag type cleanup | From | Robert Love <> | Date | 03 Sep 2002 10:52:26 -0400 |
| |
Linus,
Attached patch fixes various instances of the interrupt flag variable not being the proper `unsigned long'.
Most notably, kernel/softirq.c ...
Patch is against 2.5.33-BK, please apply.
Robert Love
diff -urN linux-2.5.33/drivers/cdrom/sbpcd.c linux/drivers/cdrom/sbpcd.c --- linux-2.5.33/drivers/cdrom/sbpcd.c Sat Aug 31 18:04:51 2002 +++ linux/drivers/cdrom/sbpcd.c Tue Sep 3 10:38:59 2002 @@ -1307,7 +1307,7 @@ static int cc_DriveReset(void); int i, j, l=0, m, ntries; - long flags; + unsigned long flags; D_S[d].error_state=0; D_S[d].b3=0; diff -urN linux-2.5.33/drivers/scsi/sym53c8xx.c linux/drivers/scsi/sym53c8xx.c --- linux-2.5.33/drivers/scsi/sym53c8xx.c Sat Aug 31 18:04:49 2002 +++ linux/drivers/scsi/sym53c8xx.c Tue Sep 3 10:33:06 2002 @@ -14115,7 +14115,7 @@ if (len) return -EINVAL; else { - long flags; + unsigned long flags; NCR_LOCK_NCB(np, flags); ncr_usercmd (np); diff -urN linux-2.5.33/drivers/scsi/sym53c8xx_2/sym_glue.c linux/drivers/scsi/sym53c8xx_2/sym_glue.c --- linux-2.5.33/drivers/scsi/sym53c8xx_2/sym_glue.c Sat Aug 31 18:05:23 2002 +++ linux/drivers/scsi/sym53c8xx_2/sym_glue.c Tue Sep 3 10:33:25 2002 @@ -1686,7 +1686,7 @@ if (len) return -EINVAL; else { - long flags; + unsigned long flags; SYM_LOCK_HCB(np, flags); sym_exec_user_command (np, uc); diff -urN linux-2.5.33/fs/intermezzo/kml_utils.c linux/fs/intermezzo/kml_utils.c --- linux-2.5.33/fs/intermezzo/kml_utils.c Sat Aug 31 18:05:27 2002 +++ linux/fs/intermezzo/kml_utils.c Tue Sep 3 10:39:54 2002 @@ -25,7 +25,7 @@ va_list args; int i; char *path; - long flags; + unsigned long flags; spin_lock_irqsave(&kml_lock, flags); va_start(args, format); diff -urN linux-2.5.33/kernel/softirq.c linux/kernel/softirq.c --- linux-2.5.33/kernel/softirq.c Sat Aug 31 18:04:52 2002 +++ linux/kernel/softirq.c Tue Sep 3 10:31:14 2002 @@ -59,7 +59,7 @@ asmlinkage void do_softirq() { __u32 pending; - long flags; + unsigned long flags; __u32 mask; int cpu; @@ -129,7 +129,7 @@ void raise_softirq(unsigned int nr) { - long flags; + unsigned long flags; local_irq_save(flags); cpu_raise_softirq(smp_processor_id(), nr);
- 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/
|  |