2.3.15-pre3 filemap.c

William Stearns (wstearns@pobox.com)
Mon, 23 Aug 1999 22:38:15 -0400 (EDT)


This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.

---1463747317-1209344701-935462295=:974
Content-Type: TEXT/PLAIN; charset=US-ASCII

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

---1463747317-1209344701-935462295=:974
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="2.3.15-pre3-filemap-error.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.10.9908232238141.974@sparrow.websense.net>
Content-Description: 2.3.15-pre3-filemap-error.patch
Content-Disposition: attachment; filename="2.3.15-pre3-filemap-error.patch"

LS0tIGxpbnV4L21tL2ZpbGVtYXAuYy5vcmlnCU1vbiBBdWcgMjMgMTY6Mjg6
MTcgMTk5OQ0KKysrIGxpbnV4L21tL2ZpbGVtYXAuYwlNb24gQXVnIDIzIDE4
OjI0OjEzIDE5OTkNCkBAIC0xMzE0LDYgKzEzMTQsOCBAQA0KIA0KIAl1bnNp
Z25lZCBsb25nIG9mZnNldCA9IGFkZHJlc3MgLSBhcmVhLT52bV9zdGFydCAr
IGFyZWEtPnZtX29mZnNldDsNCiANCisJaW50IGVycm9yID0gMDsNCisNCiAJ
LyoNCiAJICogU2VtYW50aWNzIGZvciBzaGFyZWQgYW5kIHByaXZhdGUgbWVt
b3J5IGFyZWFzIGFyZSBkaWZmZXJlbnQNCiAJICogcGFzdCB0aGUgZW5kIG9m
IHRoZSBmaWxlLiBBIHNoYXJlZCBtYXBwaW5nIHBhc3QgdGhlIGxhc3QgcGFn
ZQ0K
---1463747317-1209344701-935462295=:974--

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