fix for ACPI compile warnings in 2.4.0prerelease
PATCH 1/1 fix for ACPI compile warnings in 2.4.0prerelease
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
drivers/acpi/hardware/hwcpu32.c +1 -1
@@ -708,4 +708,4 @@return ; } - +
drivers/acpi/namespace/nsxfobj.c +2 -1
@@ -694,4 +694,5 @@acpi_cm_release_mutex (ACPI_MTX_NAMESPACE );return (status); -} +} +