2002-07-02 01:02:07

by Frank Davis

[permalink] [raw]
Subject: 2.5.24 : fs/intermezzo/psdev.c compile error

Hello all,
Does a patch exist for the following compile error? I thought that one
existed, but can't find one in the linux-kernel archives. If not, I can
work on one.
Regards,
Frank

psdev.c: In function `presto_psdev_write':
psdev.c:138: warning: unused variable `error'
psdev.c: In function `presto_psdev_ioctl':
psdev.c:279: warning: unused variable `error'
psdev.c:278: warning: unused variable `tmp'
psdev.c:277: warning: unused variable `user_readmount'
psdev.c:275: warning: unused variable `outlen'
psdev.c:275: warning: unused variable `len'
psdev.c:274: warning: unused variable `minor'
psdev.c:289: `len' undeclared (first use in this function)
psdev.c:289: (Each undeclared identifier is reported only once
psdev.c:289: for each function it appears in.)
psdev.c:289: `readmount' undeclared (first use in this function)
psdev.c:290: `minor' undeclared (first use in this function)
psdev.c:291: `tmp' undeclared (first use in this function)
psdev.c:297: `outlen' undeclared (first use in this function)
psdev.c:309: `error' undeclared (first use in this function)
psdev.c:311: `user_readmount' undeclared (first use in this function)
psdev.c:323: case label not within a switch statement
psdev.c:348: case label not within a switch statement
psdev.c:387: case label not within a switch statement
psdev.c:425: case label not within a switch statement
psdev.c:473: case label not within a switch statement
psdev.c:521: case label not within a switch statement
psdev.c:551: warning: statement with no effect
psdev.c:591: case label not within a switch statement
psdev.c:606: case label not within a switch statement
psdev.c:607: case label not within a switch statement
psdev.c:656: case label not within a switch statement
psdev.c:680: case label not within a switch statement
psdev.c:694: case label not within a switch statement
psdev.c:708: case label not within a switch statement
psdev.c:722: case label not within a switch statement
psdev.c:736: case label not within a switch statement
psdev.c:750: case label not within a switch statement
psdev.c:764: case label not within a switch statement
psdev.c:774: incompatible type for argument 3 of `lento_mknod'
psdev.c:779: case label not within a switch statement
psdev.c:882: case label not within a switch statement
psdev.c:884: warning: unused variable `error'
psdev.c:904: case label not within a switch statement
psdev.c:919: case label not within a switch statement
psdev.c:921: warning: unused variable `error'
psdev.c:960: case label not within a switch statement
psdev.c:962: warning: unused variable `error'
psdev.c:1002: case label not within a switch statement
psdev.c:1035: case label not within a switch statement
psdev.c:1037: warning: unused variable `error'
psdev.c:1070: case label not within a switch statement
psdev.c:1173: case label not within a switch statement
psdev.c:1215: default label not within a switch statement
psdev.c: At top level:
psdev.c:1223: parse error before `return'
make[2]: *** [psdev.o] Error 1
make[2]: Leaving directory `/usr/src/linux/fs/intermezzo'
make[1]: *** [intermezzo] Error 2
make[1]: Leaving directory `/usr/src/linux/fs'
make: *** [fs] Error 2


2002-07-02 02:08:20

by Skip Ford

[permalink] [raw]
Subject: Re: 2.5.24 : fs/intermezzo/psdev.c compile error

Frank Davis wrote:
> Does a patch exist for the following compile error? I thought that one
> existed, but can't find one in the linux-kernel archives. If not, I can
> work on one.

There have been various patches for Intermezzo posted but they have
fixed compile errors only and not made it work. IIRC, the locking scheme
has never caught up to the 2.5 changes. There are more problems than
just compile errors.

--
Skip