[BUG,PATCH] 2.5.38 floppy

Philipp Matthias Hahn
2002-09-22T10:50:44Z

Moin LKML!

On Sat, Sep 21, 2002 at 09:34:18PM -0700, Linus Torvalds wrote:
> Alexander Viro <viro@math.psu.edu>:
> o gendisk for pcd, cdu31a, cm206, mcd, mcdx, sbpcd, jsflash, mtdblock_ro,
> pf, swim3, loop, aztcd, gscd, optcd, sjcd, sonycd, stram, rd, nbd, xpram,
> acorn floppy, swim_iop

make[2]: Entering directory `/usr/src/linux-2.5.38/drivers/block'
gcc ... -DKBUILD_BASENAME=floppy -c -o floppy.o floppy.c
floppy.c: In function `cleanup_module':
floppy.c:4565: `drive' undeclared (first use in this function)
floppy.c:4573: warning: statement with no effect

--- drivers/block/floppy.c~ 2002-09-22 11:16:52.000000000 +0200
+++ drivers/block/floppy.c 2002-09-22 12:51:22.000000000 +0200
@@ -4556,7 +4556,7 @@

void cleanup_module(void)
{
- int i;
+ int drive;

unregister_sys_device(&device_floppy);
devfs_unregister (devfs_handle);

BYtE
Philipp
--
/ / (_)__ __ ____ __ Philipp Hahn
/ /__/ / _ \/ // /\ \/ /
/____/_/_//_/\_,_/ /_/\_\ pmhahn@titan.lahn.de