[PATCH]: small typo fix

From: John Levon (moz@compsoc.man.ac.uk)
Date: Wed Feb 16 2000 - 06:10:45 EST


First off, this fixes a typo, against 2.3.46pre1

--- drivers/scsi/Config.in Fri Feb 11 15:37:46 2000
+++ drivers/scsi/Config.in.new Tue Feb 15 18:22:27 2000
@@ -8,7 +8,7 @@
 
 dep_tristate ' SCSI tape support' CONFIG_CHR_DEV_ST $CONFIG_SCSI
 
-if [ "$CONFIG_BLK_DEV_ST" != "n" ]; then
+if [ "$CONFIG_CHR_DEV_ST" != "n" ]; then
    int 'Maximum number of SCSI tapes that can be loaded as modules' CONFIG_ST_EXTRA_DEVS 2
 fi

What's going on with these variables below ? They're currently unused ...
 
--- drivers/scsi/scsi.c Tue Feb 15 19:14:43 2000
+++ drivers/scsi/scsi.c.new Tue Feb 15 19:16:12 2000
@@ -2220,8 +2220,6 @@
 
 int init_module(void)
 {
- unsigned long size;
- int has_space = 0;
         struct proc_dir_entry *generic;
 
         if( scsi_init_minimal_dma_pool() != 0 )

 
Also in 2.3.46pre1 gcc-2.91-66 seems to get very confused with line 142 of arch/i386/mm/fault.c :

gcc -D__KERNEL__ -I/usr/src/linux-2.3/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -DCPU=586 -march=i586 -c -o fault.o fault.c
fault.c: In function `do_page_fault':
fault.c:142: warning: `sem' might be used uninitialized in this function

thanks,
john

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



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:14 EST