From: "Rich Baum" <baumr1@coral.indstate.edu>
To: linux-kernel@vger.kernel.org
Cc: torvalds@transmeta.com, andy_henroid@yahoo.com
Subject: [PATCH] fix for ACPI compile warnings in 2.4.0prerelease
Date: Sun, 31 Dec 2000 22:16:25 -0500 [thread overview]
Message-ID: <3A4FB039.13836.114540@localhost> (raw)
[-- Attachment #1: Mail message body --]
[-- Type: text/plain, Size: 1002 bytes --]
When I compile 2.4.0-prerelease with the 200012252 gcc
snapshot I get the following warnings:
make[3]: Entering directory `/usr/src/linux/drivers/acpi/hardware'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-
prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -
mpreferred-stack-boundary=2 -march=k6 -I../include -D_LINUX -c -
o hwcpu32.o hwcpu32.c
hwcpu32.c:711:1: warning: no newline at end of file
make[3]: Leaving directory `/usr/src/linux/drivers/acpi/hardware'
make[3]: Entering directory `/usr/src/linux/drivers/acpi/namespace'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-
prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -
mpreferred-stack-boundary=2 -march=k6 -I../include -D_LINUX -c -
o nsxfobj.o nsxfobj.c
nsxfobj.c:697:1: warning: no newline at end of file
make[3]: Leaving directory `/usr/src/linux/drivers/acpi/namespace'
Attached is a patch that removes these warnings. Please consider
this patch for the final release.
Rich
[-- Attachment #2: Text from file 'acpi.patch' --]
[-- Type: text/plain, Size: 624 bytes --]
diff -urN linux/drivers/acpi/hardware/hwcpu32.c rb/drivers/acpi/hardware/hwcpu32.c
--- linux/drivers/acpi/hardware/hwcpu32.c Sun Dec 31 19:19:05 2000
+++ rb/drivers/acpi/hardware/hwcpu32.c Sun Dec 31 20:44:11 2000
@@ -708,4 +708,4 @@
return;
}
-
\ No newline at end of file
+
diff -urN linux/drivers/acpi/namespace/nsxfobj.c rb/drivers/acpi/namespace/nsxfobj.c
--- linux/drivers/acpi/namespace/nsxfobj.c Sun Dec 31 19:19:05 2000
+++ rb/drivers/acpi/namespace/nsxfobj.c Sun Dec 31 20:44:51 2000
@@ -694,4 +694,5 @@
acpi_cm_release_mutex (ACPI_MTX_NAMESPACE);
return (status);
-}
\ No newline at end of file
+}
+
reply other threads:[~2001-01-01 3:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3A4FB039.13836.114540@localhost \
--to=baumr1@coral.indstate.edu \
--cc=andy_henroid@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=richbaum@acm.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).