summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2010-09-20Linux 2.6.27.54v2.6.27.54Greg Kroah-Hartman
2010-08-26Linux 2.6.27.53v2.6.27.53Greg Kroah-Hartman
2010-08-26kbuild: fix make incompatibilitySam Ravnborg
commit 31110ebbec8688c6e9597b641101afc94e1c762a upstream. "Paul Smith" <psmith@gnu.org> reported that we would fail to build with a new check that may be enabled in an upcoming version of make. The error was: Makefile:442: *** mixed implicit and normal rules. Stop. The problem is that we did stuff like this: config %config: ... The solution was simple - the above was split into two with identical prerequisites and commands. With only three lines it was not worth to try to avoid the duplication. Cc: "Paul Smith" <psmith@gnu.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Thomas Backlund <tmb@mandriva.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-08-20Linux 2.6.27.52v2.6.27.52Greg Kroah-Hartman
2010-08-13Linux 2.6.27.51v2.6.27.51Greg Kroah-Hartman
2010-08-10Linux 2.6.27.50v2.6.27.50Greg Kroah-Hartman
2010-08-02Linux 2.6.27.49v2.6.27.49Greg Kroah-Hartman
2010-07-05Linux 2.6.27.48v2.6.27.48Greg Kroah-Hartman
2010-05-26Linux 2.6.27.47v2.6.27.47Greg Kroah-Hartman
2010-04-01Linux 2.6.27.46v2.6.27.46Greg Kroah-Hartman
2010-01-28Linux 2.6.27.45v2.6.27.45Greg Kroah-Hartman
2010-01-18Linux 2.6.27.44v2.6.27.44Greg Kroah-Hartman
2010-01-06Linux 2.6.27.43v2.6.27.43Greg Kroah-Hartman
2009-12-18Linux 2.6.27.42v2.6.27.42Greg Kroah-Hartman
2009-12-08Linux 2.6.27.41v2.6.27.41Greg Kroah-Hartman
2009-12-08Linux 2.6.27.40v2.6.27.40Greg Kroah-Hartman
2009-11-09Linux 2.6.27.39v2.6.27.39Greg Kroah-Hartman
2009-10-22Linux 2.6.27.38v2.6.27.38Greg Kroah-Hartman
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-10-12Linux 2.6.27.37v2.6.27.37Greg Kroah-Hartman
2009-10-05Linux 2.6.27.36v2.6.27.36Greg Kroah-Hartman
2009-09-24Linux 2.6.27.35v2.6.27.35Greg Kroah-Hartman
2009-09-15Linux 2.6.27.34v2.6.27.34Greg Kroah-Hartman
2009-09-09Linux 2.6.27.33v2.6.27.33Greg Kroah-Hartman
2009-09-08Linux 2.6.27.32v2.6.27.32Greg Kroah-Hartman
2009-08-17Linux 2.6.27.31v2.6.27.31Greg Kroah-Hartman
2009-08-16Linux 2.6.27.30v2.6.27.30Greg Kroah-Hartman
2009-07-30Linux 2.6.27.29v2.6.27.29Greg Kroah-Hartman
2009-07-24Linux 2.6.27.28v2.6.27.28Greg Kroah-Hartman
2009-07-19Linux 2.6.27.27v2.6.27.27Greg Kroah-Hartman
2009-07-19Don't use '-fwrapv' compiler option: it's buggy in gcc-4.1.xLinus Torvalds
commit a137802ee839ace40079bebde24cfb416f73208a upstream. This causes kernel images that don't run init to completion with certain broken gcc versions. This fixes kernel bugzilla entry: http://bugzilla.kernel.org/show_bug.cgi?id=13012 I suspect the gcc problem is this: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28230 Fix the problem by using the -fno-strict-overflow flag instead, which not only does not exist in the known-to-be-broken versions of gcc (it was introduced later than fwrapv), but seems to be much less disturbing to gcc too: the difference in the generated code by -fno-strict-overflow are smaller (compared to using neither flag) than when using -fwrapv. Reported-by: Barry K. Nathan <barryn@pobox.com> Pushed-by: Frans Pop <elendil@planet.nl> Cc: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-07-19Add '-fno-delete-null-pointer-checks' to gcc CFLAGSEugene Teo
commit a3ca86aea507904148870946d599e07a340b39bf upstream. Turning on this flag could prevent the compiler from optimising away some "useless" checks for null pointers. Such bugs can sometimes become exploitable at compile time because of the -O2 optimisation. See http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Optimize-Options.html An example that clearly shows this 'problem' is commit 6bf67672. static void __devexit agnx_pci_remove(struct pci_dev *pdev) { struct ieee80211_hw *dev = pci_get_drvdata(pdev); - struct agnx_priv *priv = dev->priv; + struct agnx_priv *priv; AGNX_TRACE; if (!dev) return; + priv = dev->priv; By reverting this patch, and compile it with and without -fno-delete-null-pointer-checks flag, we can see that the check for dev is compiled away. call printk # - testq %r12, %r12 # dev - je .L94 #, movq %r12, %rdi # dev, Clearly the 'fix' is to stop using dev before it is tested, but building with -fno-delete-null-pointer-checks flag at least makes it harder to abuse. Signed-off-by: Eugene Teo <eugeneteo@kernel.sg> Acked-by: Eric Paris <eparis@redhat.com> Acked-by: Wang Cong <amwang@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-07-02Linux 2.6.27.26v2.6.27.26Greg Kroah-Hartman
2009-06-11Linux 2.6.27.25v2.6.27.25Greg Kroah-Hartman
2009-05-19Linux 2.6.27.24v2.6.27.24Greg Kroah-Hartman
2009-05-08Linux 2.6.27.23v2.6.27.23Greg Kroah-Hartman
2009-05-02Linux 2.6.27.22v2.6.27.22Greg Kroah-Hartman
2009-03-23Linux 2.6.27.21v2.6.27.21Greg Kroah-Hartman
2009-03-23Move cc-option to below arch-specific setupLinus Torvalds
commit d0115552cdb0b4d4146975889fee2e9355515c4b upstream. Sam Ravnborg says: "We have several architectures that plays strange games with $(CC) and $(CROSS_COMPILE). So we need to postpone any use of $(call cc-option..) until we have included the arch specific Makefile so we try with the correct $(CC) version." Requested-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-03-23Add '-fwrapv' to gcc CFLAGSLinus Torvalds
commit 68df3755e383e6fecf2354a67b08f92f18536594 upstream. This makes sure that gcc doesn't try to optimize away wrapping arithmetic, which the kernel occasionally uses for overflow testing, ie things like if (ptr + offset < ptr) which technically is undefined for non-unsigned types. See http://bugzilla.kernel.org/show_bug.cgi?id=12597 for details. Not all versions of gcc support it, so we need to make it conditional (it looks like it was introduced in gcc-3.4). Reminded-by: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-03-16Linux 2.6.27.20v2.6.27.20Greg Kroah-Hartman
2009-02-20Linux 2.6.27.19v2.6.27.19Greg Kroah-Hartman
2009-02-17Linux 2.6.27.18v2.6.27.18Greg Kroah-Hartman
2009-02-12Linux 2.6.27.17v2.6.27.17Greg Kroah-Hartman
2009-02-12Linux 2.6.27.16v2.6.27.16Greg Kroah-Hartman
2009-02-06Linux 2.6.27.15v2.6.27.15Greg Kroah-Hartman
2009-02-02Linux 2.6.27.14v2.6.27.14Greg Kroah-Hartman
2009-01-24Linux 2.6.27.13v2.6.27.13Greg Kroah-Hartman
2009-01-18Linux 2.6.27.12v2.6.27.12Greg Kroah-Hartman
2009-01-14Linux 2.6.27.11v2.6.27.11Greg Kroah-Hartman
2008-12-18Linux 2.6.27.10v2.6.27.10Greg Kroah-Hartman