[BUG,PATCH] 2.5.38 floppy

Philipp Matthias Hahn (pmhahn@titan.lahn.de)
Sun, 22 Sep 2002 12:53:23 +0200


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
-
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/