i fix a compiler warning from pdc202xx.c.
The "default:" value in the switch was empty. Gcc don`t like
this. We don`t need this one.
error:
gcc -D__KERNEL__ -I/usr/src/bk/work-2.4/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing
-fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2
-march=athlon-tbird -nostdinc -iwithprefix include
-DKBUILD_BASENAME=pdc202xx -c -o pdc202xx.o pdc202xx.c
pdc202xx.c: In function `pdc202xx_new_tune_chipset':
pdc202xx.c:636: warning: deprecated use of label at end of compound
statement
patch:
daniel@deepblue:/usr/src/bk/linux-2.4/drivers/ide$ diff -Pu
pdc202xx.c pdc202xx.c.fine
--- pdc202xx.c 2002-11-03 04:55:30.000000000 +0100
+++ pdc202xx.c.fine 2002-11-10 21:55:43.000000000 +0100
@@ -632,11 +632,10 @@
OUT_BYTE((0x13 + adj),
indexreg);
OUT_BYTE(0xac, datareg);
break;
- default:
}
}
}
return err;
}
greetings,
Daniel
-
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/