Linux-kernel mailing list archive 1999-34,: Re: 2.3.15-pre3 filemap.c

# Re: 2.3.15-pre3 filemap.c

Chuck Lever (cel@monkey.org)
Tue, 24 Aug 1999 11:56:06 -0400 (EDT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Chuck Lever: "review of i_op->readpage error handling (fwd)"
- Previous message: Hubert Tonneau: "RAID is a matter of availability, not data security"

hi william-

i wrote the patch for filemap.c in 2.3.15-pre3...

i don't see how you could have gotten those compile-time errors. are you
sure the patch applied correctly?

On Mon, 23 Aug 1999, William Stearns wrote:

> Date: Mon, 23 Aug 1999 22:38:15 -0400 (EDT)
> From: William Stearns <wstearns@pobox.com>
> To: ML-linux-kernel <linux-kernel@vger.rutgers.edu>
> Cc: William Stearns <wstearns@pobox.com>
> Subject: 2.3.15-pre3 filemap.c
>
> Good day, all,
> My 2.3.15 pre3 wouldn't compile:
>
> gcc -D__KERNEL__ -I/usr/src/linux-2.3.15/include -Wall -Wstrict-prototypes
> -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fn
> o-strength-reduce -DCPU=586 -march=i586 -c -o filemap.o filemap.c
> filemap.c: In function `filemap_nopage':
> filemap.c:1408: `error' undeclared (first use in this function)
> filemap.c:1408: (Each undeclared identifier is reported only once
> filemap.c:1408: for each function it appears in.)
> filemap.c:1423: warning: label `no_page' defined but not used
> filemap.c:1419: warning: label `failure' defined but not used
>
> Defining "error" as an int seemed to allow it to compile and it's
> running now without any visible problems. It applies over 2.3.15-pre3.
> Warning: use at your own risk - this falls in the category of
> PIPFPWRSBPKA *. Cheers,
> - Bill
>
> * Probably Incorrect Patches From People Who Really Shouldn't Be Patching
> Kernels Anyways
>
> ---------------------------------------------------------------------------
> "After being a technician for 2 years, I've discovered if people
> took care of their health with the same reckless abandon as their
> computers, half would be at the kitchen table on the phone with the
> hospital, trying to remove their appendix with a butter knife."
> (Courtesy of Brian Jones <balif@nacs.net>)
> --------------------------------------------------------------------------
> William Stearns (wstearns@pobox.com). Mason, Buildkernel, named2hosts,
> and ipfwadm2ipchains are at: http://www.pobox.com/~wstearns/
> --------------------------------------------------------------------------
>
>

- Chuck Lever

    --
    corporate:	<chuckl@netscape.com>
    personal:	<chucklever@netscape.net> or <cel@monkey.org>

    The Linux Scalability project:
    	http://www.citi.umich.edu/projects/linux-scalability/

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

- Next message: Chuck Lever: "review of i_op->readpage error handling (fwd)"
- Previous message: Hubert Tonneau: "RAID is a matter of availability, not data security"