Commit graph

1,020 commits

Author SHA1 Message Date
Sasha Levin
b507613999 Linux 3.18.35
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2016-06-06 19:16:46 -04:00
Arnd Bergmann
0a11bd162e kbuild: move -Wunused-const-variable to W=1 warning level
[ Upstream commit c9c6837d39 ]

gcc-6 started warning by default about variables that are not
used anywhere and that are marked 'const', generating many
false positives in an allmodconfig build, e.g.:

arch/arm/mach-davinci/board-da830-evm.c:282:20: warning: 'da830_evm_emif25_pins' defined but not used [-Wunused-const-variable=]
arch/arm/plat-omap/dmtimer.c:958:34: warning: 'omap_timer_match' defined but not used [-Wunused-const-variable=]
drivers/bluetooth/hci_bcm.c:625:39: warning: 'acpi_bcm_default_gpios' defined but not used [-Wunused-const-variable=]
drivers/char/hw_random/omap-rng.c:92:18: warning: 'reg_map_omap4' defined but not used [-Wunused-const-variable=]
drivers/devfreq/exynos/exynos5_bus.c:381:32: warning: 'exynos5_busfreq_int_pm' defined but not used [-Wunused-const-variable=]
drivers/dma/mv_xor.c:1139:34: warning: 'mv_xor_dt_ids' defined but not used [-Wunused-const-variable=]

This is similar to the existing -Wunused-but-set-variable warning
that was added in an earlier release and that we disable by default
now and only enable when W=1 is set, so it makes sense to do
the same here. Once we have eliminated the majority of the
warnings for both, we can put them back into the default list.

We probably want this in backport kernels as well, to allow building
them with gcc-6 without introducing extra warnings.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Olof Johansson <olof@lixom.net>
Acked-by: Lee Jones <lee.jones@linaro.org>
Cc: stable@vger.kernel.org
Signed-off-by: Michal Marek <mmarek@suse.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2016-06-06 19:11:02 -04:00
Arnd Bergmann
d309146022 gcov: disable tree-loop-im to reduce stack usage
[ Upstream commit c87bf43144 ]

Enabling CONFIG_GCOV_PROFILE_ALL produces us a lot of warnings like

lib/lz4/lz4hc_compress.c: In function 'lz4_compresshcctx':
lib/lz4/lz4hc_compress.c:514:1: warning: the frame size of 1504 bytes is larger than 1024 bytes [-Wframe-larger-than=]

After some investigation, I found that this behavior started with gcc-4.9,
and opened https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69702.
A suggested workaround for it is to use the -fno-tree-loop-im
flag that turns off one of the optimization stages in gcc, so the
code runs a little slower but does not use excessive amounts
of stack.

We could make this conditional on the gcc version, but I could not
find an easy way to do this in Kbuild and the benefit would be
fairly small, given that most of the gcc version in production are
affected now.

I'm marking this for 'stable' backports because it addresses a bug
with code generation in gcc that exists in all kernel versions
with the affected gcc releases.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Cc: stable@vger.kernel.org
Signed-off-by: Michal Marek <mmarek@suse.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2016-06-06 19:11:02 -04:00
Sasha Levin
3b6aa07b93 Linux 3.18.34
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2016-05-20 21:48:04 -04:00
Sasha Levin
6b12ebc0ec Linux 3.18.33
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2016-05-11 00:09:19 -04:00
Sasha Levin
834125557e Linux 3.18.32
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2016-04-23 16:46:40 -04:00
Sasha Levin
f151e73cea Linux 3.18.31
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2016-04-19 07:57:18 -04:00
Sasha Levin
b36eba9b4d Linux 3.18.30
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2016-04-03 18:27:20 -04:00
Sasha Levin
d439e869d6 Linux 3.18.29
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2016-03-17 14:09:52 -04:00
Sasha Levin
0f67c5beb4 Linux 3.18.28
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2016-03-04 16:54:28 -05:00
Sasha Levin
2c07053b8e Linux 3.18.27
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2016-02-15 15:47:06 -05:00
Sasha Levin
707e840c5e Linux 3.18.26
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2016-01-25 07:00:19 -05:00
Sasha Levin
60917545df Linux 3.18.25
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2015-12-15 12:45:27 -05:00
Sasha Levin
b124030443 Linux 3.18.24
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2015-10-31 16:39:51 -04:00
Sasha Levin
8341455f7f Linux 3.18.23
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2015-10-28 22:49:46 -04:00
Sasha Levin
ac6d8ef917 Linux 3.18.22
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2015-10-01 10:39:05 -04:00
Sasha Levin
fcd9bfdb9d Linux 3.18.21
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2015-08-31 18:19:23 -04:00
Sasha Levin
e9fd6ddcab Linux 3.18.20
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2015-08-07 15:08:04 -04:00
Sasha Levin
22a6cbf9f3 Linux 3.18.19
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2015-07-20 21:13:10 -04:00
Sasha Levin
866cebe251 Linux 3.18.18
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2015-07-09 20:46:48 -04:00
Sasha Levin
ea5dd38e93 Linux 3.18.17
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2015-06-28 13:40:40 -04:00
Sasha Levin
d048c068d0 Linux 3.18.16
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2015-06-14 12:19:31 -04:00
Sasha Levin
324d8201ba Linux 3.18.15
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2015-06-13 15:17:18 -04:00
Sasha Levin
51af817611 Linux 3.18.14
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2015-05-20 11:04:50 -04:00
Sasha Levin
72d391fefc Linux 3.18.13
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2015-05-05 12:39:05 -04:00
Sasha Levin
43f497a203 Linux 3.18.12
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2015-04-20 15:48:02 -04:00
Sasha Levin
f154a14e3e Linux 3.18.11
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2015-04-03 22:46:37 -04:00
Sasha Levin
96e199f175 Linux 3.18.10
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
2015-03-23 21:05:12 -04:00
Greg Kroah-Hartman
d1034e8379 Linux 3.18.9 2015-03-06 14:53:42 -08:00
Greg Kroah-Hartman
e5c9f0bba1 Linux 3.18.8 2015-02-26 17:49:36 -08:00
Greg Kroah-Hartman
a17f9bf1f7 Linux 3.18.7 2015-02-11 15:01:12 +08:00
Greg Kroah-Hartman
9960914954 Linux 3.18.6 2015-02-06 06:53:48 -08:00
Greg Kroah-Hartman
c2d6598eef Linux 3.18.5 2015-01-29 17:41:03 -08:00
Greg Kroah-Hartman
71745ce1b8 Linux 3.18.4 2015-01-27 08:30:10 -08:00
Greg Kroah-Hartman
219b188d28 Linux 3.18.3 2015-01-16 07:04:08 -08:00
Greg Kroah-Hartman
e609d3fc31 Linux 3.18.2 2015-01-08 10:30:41 -08:00
Greg Kroah-Hartman
39ca4845f1 Linux 3.18.1 2014-12-16 09:39:45 -08:00
Linus Torvalds
b2776bf714 Linux 3.18 2014-12-07 14:21:05 -08:00
Linus Torvalds
009d0431c3 Linux 3.18-rc7 2014-11-30 16:42:27 -08:00
Linus Torvalds
5d01410fe4 Linux 3.18-rc6 2014-11-23 15:25:20 -08:00
Linus Torvalds
fc14f9c127 Linux 3.18-rc5 2014-11-16 16:36:20 -08:00
Kirill A. Shutemov
51b97e354b kernel: use the gnu89 standard explicitly
Sasha Levin reports:
 "gcc5 changes the default standard to c11, which makes kernel build
  unhappy

  Explicitly define the kernel standard to be gnu89 which should keep
  everything working exactly like it was before gcc5"

There are multiple small issues with the new default, but the biggest
issue seems to be that the old - and very useful - GNU extension to
allow a cast in front of an initializer has gone away.

Patch updated by Kirill:
 "I'm pretty sure all gcc versions you can build kernel with supports
  -std=gnu89.  cc-option is redunrant.

  We also need to adjust HOSTCFLAGS otherwise allmodconfig fails for me"

Note by Andrew Pinski:
 "Yes it was reported and both problems relating to this extension has
  been added to gnu99 and gnu11.  Though there are other issues with the
  kernel dealing with extern inline have different semantics between
  gnu89 and gnu99/11"

End result: we may be able to move up to a newer stdc model eventually,
but right now the newer models have some annoying deficiencies, so the
traditional "gnu89" model ends up being the preferred one.

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Singed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-11-15 14:29:55 -08:00
Linus Torvalds
206c5f60a3 Linux 3.18-rc4 2014-11-09 14:55:29 -08:00
Linus Torvalds
0df1f2487d Linux 3.18-rc3 2014-11-02 15:01:51 -08:00
Linus Torvalds
cac7f24298 Linux 3.18-rc2 2014-10-26 16:48:41 -07:00
Linus Torvalds
f114040e3e Linux 3.18-rc1 2014-10-19 18:08:38 -07:00
Linus Torvalds
f33a3faa25 Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
Pull kbuild changes from Michal Marek:
 - fix for handling dependencies of *-objs targets by Masahiro Yamada
 - lots of cleanups in the kbuild machinery, also by Masahiro
 - fixes for the kconfig build to use an UTF-8 capable ncurses library
   if possible and to build on not-so-standard installs
 - some more minor fixes

* 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
  kbuild: Do not reference *-n variables in the Makefile
  kbuild: simplify build, clean, modbuiltin shorthands
  kbuild: arm: Do not define "comma" twice
  kbuild: remove obj-n and lib-n handling
  kbuild: remove unnecessary variable initializaions
  kbuild: remove unnecessary "obj- := dummy.o" trick
  kbuild: handle C=... and M=... after entering into build directory
  kbuild: use $(Q) for sub-make target
  kbuild: fake the "Entering directory ..." message more simply
  kconfig/lxdialog: get ncurses CFLAGS with pkg-config
  kconfig: nconfig: fix multi-byte UTF handling
  kconfig: lxdialog: fix spelling
  kbuild: Make scripts executable
  kbuild: remove redundant clean-files from scripts/kconfig/Makefile
  kbuild: refactor script/kconfig/Makefile
  kbuild: handle the dependency of multi-objs hostprogs appropriately
  kbuild: handle multi-objs dependency appropriately
2014-10-14 09:22:26 +02:00
Linus Torvalds
b6420ebd4a Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/doc
Pull documentation updates from Jiri Kosina:
 "Updates to kernel documentation.

  I took this over (hopefully temporarily) from Randy who was not
  willing to maintain it any longer.  This pile mostly is a relay of
  queue that Randy already had in his tree"

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/doc:
  Documentation: fix broken v4l-utils URL
  Documentation: update include path for mpssd
  Documentation: correct parameter error for dma_mapping_error
  MAINTAINERS: update location of linux-doc tree
  Documentation: remove networking/.gitignore
  tools: add more endian.h macros
  Make Documenation depend on headers_install
  Docs: this_cpu_ops: remove redundant add forms
  Documentation: disable vdso_test to avoid breakage with old glibc
  Documentation: update vDSO makefile to build portable examples
  Documentation: update .gitignore files
  Documentation: support glibc versions without htole macros
  v4l2-pci-skeleton: Only build if PCI is available
  Documentation: fix misc. warnings
  Documentation: make functions static to avoid prototype warnings
  Documentation: add makefiles for more targets
  Documentation: use subdir-y to avoid unnecessary built-in.o files
2014-10-07 21:14:57 -04:00
Linus Torvalds
bdf428feb2 Nothing major: support for compressing modules, and auto-tainting params.
Cheers,
 Rusty.
 PS.  My virtio-next tree is empty: DaveM took the patches I had.  There might
      be a virtio-rng starvation fix, but so far it's a bit voodoo so I will
      get to that in the next two days or it will wait.
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJUGFrvAAoJENkgDmzRrbjxOJYQALaZbTumrtX3Mo/FAtzn8d5N
 8gxcqk1Mhz4lR1vPWy/YN/H2f23qb/saqLxPar8Wgou3h7N8EqSdwDqJSuvEqhG0
 iEXUsNLC7BOsDkLYhdjTfZoW/lsVU/EH4bkZMSxAZI9V64phXhDYfPb5SQgJTECr
 Ue6IK4ijW6zdWLstGfg/ixrIeGDUSnyiThF9O2mYVaB1D0QkLDIAZxbjZJgfFfut
 PwO33/sEV4pceTpkmxFKl/OiS+obi/VbDixjSCcO+jaBd1pVxH9fhhKREStOhN4z
 88z5ADR71RH6so9TQTwIIcgb2Hon5d+3RVMB6CxuvKs9NmHSXDiQyZvG9J/jiSdm
 KrPKSiVwGGwJSwxXTm8CDaz6Oj0ibDXBIzv/vYI22sR7u8PmRQFvL3O1VrW+KDnE
 yoG75S9DHzSQ1183xFFFTt4FBRm/4XKyVs+F6YqYkchLigrUfQMCGb1cmZyE5y7K
 bgNyonu0m/ItoQmekoDgYqvSjwdguaJ35XCW55GrKJ84JDHBaw3SpPdEfjAS8FsH
 aT5o2oernvwRG6gsX9858RvB/uo1UKwHv1waDfV4cqNjMm5Ko+Yr6OIdQvBQiq07
 cFkVmkrMtEyX19QyIGW3QSbFL1lr3X5cC5glzEeKY941yZbTluSsNuMlMPT1+IMx
 NOUbh0aG8B8ZaMZPFNLi
 =QzCn
 -----END PGP SIGNATURE-----

Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux

Pull module update from Rusty Russell:
 "Nothing major: support for compressing modules, and auto-tainting
  params.

  PS. My virtio-next tree is empty: DaveM took the patches I had.  There
      might be a virtio-rng starvation fix, but so far it's a bit voodoo
      so I will get to that in the next two days or it will wait"

* tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux:
  moduleparam: Resolve missing-field-initializer warning
  kbuild: handle module compression while running 'make modules_install'.
  modinst: wrap long lines in order to enhance cmd_modules_install
  modsign: lookup lines ending in .ko in .mod files
  modpost: simplify file name generation of *.mod.c files
  modpost: reduce visibility of symbols and constify r/o arrays
  param: check for tainting before calling set op.
  drm/i915: taint the kernel if unsafe module parameters are set
  module: add module_param_unsafe and module_param_named_unsafe
  module: make it possible to have unsafe, tainting module params
  module: rename KERNEL_PARAM_FL_NOARG to avoid confusion
2014-10-07 20:17:38 -04:00
Linus Torvalds
bfe01a5ba2 Linux 3.17 2014-10-05 12:23:04 -07:00