rpms/kernel/F-7 kernel-2.6.spec, 1.3230, 1.3231 linux-2.6-debug-extra-warnings.patch, 1.4, 1.5 linux-2.6-warnings-emptymacros.patch, 1.1, NONE linux-2.6-warnings-inline.patch, 1.6, NONE linux-2.6-warnings-register.patch, 1.1, NONE

Dave Jones (davej) fedora-extras-commits at redhat.com
Thu Jun 14 18:05:33 UTC 2007


Author: davej

Update of /cvs/pkgs/rpms/kernel/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27346

Modified Files:
	kernel-2.6.spec linux-2.6-debug-extra-warnings.patch 
Removed Files:
	linux-2.6-warnings-emptymacros.patch 
	linux-2.6-warnings-inline.patch 
	linux-2.6-warnings-register.patch 
Log Message:
* Thu Jun 14 2007 Dave Jones <davej at redhat.com>
- Remove the warning cleanups.



Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-7/kernel-2.6.spec,v
retrieving revision 1.3230
retrieving revision 1.3231
diff -u -r1.3230 -r1.3231
--- kernel-2.6.spec	13 Jun 2007 18:34:38 -0000	1.3230
+++ kernel-2.6.spec	14 Jun 2007 18:04:58 -0000	1.3231
@@ -653,9 +653,6 @@
 #
 
 Patch10000: linux-2.6-compile-fixes.patch
-Patch10001: linux-2.6-warnings-inline.patch
-Patch10002: linux-2.6-warnings-emptymacros.patch
-Patch10003: linux-2.6-warnings-register.patch
 
 # Xen hypervisor patches (20000+)
 Patch20000: xen-printf-rate-limit.patch
@@ -1450,9 +1447,6 @@
 # misc small stuff to make things compile or otherwise improve performance
 #
 #%patch10000 -p1
-#%patch10001 -p1
-%patch10002 -p1
-%patch10003 -p1
 
 # END OF PATCH APPLICATIONS
 
@@ -2405,6 +2399,9 @@
 %endif
 
 %changelog
+* Thu Jun 14 2007 Dave Jones <davej at redhat.com>
+- Remove the warning cleanups.
+
 * Wed Jun 13 2007 Chuck Ebbert <cebbert at redhat.com>
 - new version of UDF block leakage patch
 

linux-2.6-debug-extra-warnings.patch:

Index: linux-2.6-debug-extra-warnings.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-7/linux-2.6-debug-extra-warnings.patch,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- linux-2.6-debug-extra-warnings.patch	9 Apr 2007 04:47:09 -0000	1.4
+++ linux-2.6-debug-extra-warnings.patch	14 Jun 2007 18:04:58 -0000	1.5
@@ -2,24 +2,20 @@
  This makes builds fail sooner if something is implicitly defined instead
  of having to wait half an hour for it to fail at the linking stage.
 
--Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-sign-compare
- Enable the kitchen-sink of 'mostly harmless' warnings, and exclude
- some of the really noisy ones.
+-Wpointer-arith
+ http://bugzilla.kernel.org/show_bug.cgi?id=7561
 
 Signed-off-by: Dave Jones <davej at redhat.com>
 
-diff --git a/Makefile b/Makefile
-index 6393738..c5d60f2 100644
---- a/Makefile
-+++ b/Makefile
-@@ -313,7 +313,9 @@ LINUXINCLUDE    := -Iinclude \
+--- linux-2.6.21.noarch/Makefile~	2007-06-04 16:46:24.000000000 -0400
++++ linux-2.6.21.noarch/Makefile	2007-06-04 16:46:53.000000000 -0400
+@@ -313,7 +313,8 @@ LINUXINCLUDE    := -Iinclude \
  CPPFLAGS        := -D__KERNEL__ $(LINUXINCLUDE)
  
  CFLAGS          := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
 -                   -fno-strict-aliasing -fno-common
-+                   -fno-strict-aliasing -fno-common \
-+		   -Werror-implicit-function-declaration \
-+		   -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-strict-aliasing -Wno-sign-compare
++		   -fno-strict-aliasing -fno-common \
++		   -Werror-implicit-function-declaration -Wpointer-arith
  AFLAGS          := -D__ASSEMBLY__
  
  # Read KERNELRELEASE from include/config/kernel.release (if it exists)


--- linux-2.6-warnings-emptymacros.patch DELETED ---


--- linux-2.6-warnings-inline.patch DELETED ---


--- linux-2.6-warnings-register.patch DELETED ---




More information about the fedora-extras-commits mailing list