linux-sg2042/drivers/memory
Linus Torvalds b08fc5277a - Error path bug fix for overflow tests (Dan)
- Additional struct_size() conversions (Matthew, Kees)
 - Explicitly reported overflow fixes (Silvio, Kees)
 - Add missing kvcalloc() function (Kees)
 - Treewide conversions of allocators to use either 2-factor argument
   variant when available, or array_size() and array3_size() as needed (Kees)
 -----BEGIN PGP SIGNATURE-----
 Comment: Kees Cook <kees@outflux.net>
 
 iQJKBAABCgA0FiEEpcP2jyKd1g9yPm4TiXL039xtwCYFAlsgVtMWHGtlZXNjb29r
 QGNocm9taXVtLm9yZwAKCRCJcvTf3G3AJhsJEACLYe2EbwLFJz7emOT1KUGK5R1b
 oVxJog0893WyMqgk9XBlA2lvTBRBYzR3tzsadfYo87L3VOBzazUv0YZaweJb65sF
 bAvxW3nY06brhKKwTRed1PrMa1iG9R63WISnNAuZAq7+79mN6YgW4G6YSAEF9lW7
 oPJoPw93YxcI8JcG+dA8BC9w7pJFKooZH4gvLUSUNl5XKr8Ru5YnWcV8F+8M4vZI
 EJtXFmdlmxAledUPxTSCIojO8m/tNOjYTreBJt9K1DXKY6UcgAdhk75TRLEsp38P
 fPvMigYQpBDnYz2pi9ourTgvZLkffK1OBZ46PPt8BgUZVf70D6CBg10vK47KO6N2
 zreloxkMTrz5XohyjfNjYFRkyyuwV2sSVrRJqF4dpyJ4NJQRjvyywxIP4Myifwlb
 ONipCM1EjvQjaEUbdcqKgvlooMdhcyxfshqJWjHzXB6BL22uPzq5jHXXugz8/ol8
 tOSM2FuJ2sBLQso+szhisxtMd11PihzIZK9BfxEG3du+/hlI+2XgN7hnmlXuA2k3
 BUW6BSDhab41HNd6pp50bDJnL0uKPWyFC6hqSNZw+GOIb46jfFcQqnCB3VZGCwj3
 LH53Be1XlUrttc/NrtkvVhm4bdxtfsp4F7nsPFNDuHvYNkalAVoC3An0BzOibtkh
 AtfvEeaPHaOyD8/h2Q==
 =zUUp
 -----END PGP SIGNATURE-----

Merge tag 'overflow-v4.18-rc1-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux

Pull more overflow updates from Kees Cook:
 "The rest of the overflow changes for v4.18-rc1.

  This includes the explicit overflow fixes from Silvio, further
  struct_size() conversions from Matthew, and a bug fix from Dan.

  But the bulk of it is the treewide conversions to use either the
  2-factor argument allocators (e.g. kmalloc(a * b, ...) into
  kmalloc_array(a, b, ...) or the array_size() macros (e.g. vmalloc(a *
  b) into vmalloc(array_size(a, b)).

  Coccinelle was fighting me on several fronts, so I've done a bunch of
  manual whitespace updates in the patches as well.

  Summary:

   - Error path bug fix for overflow tests (Dan)

   - Additional struct_size() conversions (Matthew, Kees)

   - Explicitly reported overflow fixes (Silvio, Kees)

   - Add missing kvcalloc() function (Kees)

   - Treewide conversions of allocators to use either 2-factor argument
     variant when available, or array_size() and array3_size() as needed
     (Kees)"

* tag 'overflow-v4.18-rc1-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux: (26 commits)
  treewide: Use array_size in f2fs_kvzalloc()
  treewide: Use array_size() in f2fs_kzalloc()
  treewide: Use array_size() in f2fs_kmalloc()
  treewide: Use array_size() in sock_kmalloc()
  treewide: Use array_size() in kvzalloc_node()
  treewide: Use array_size() in vzalloc_node()
  treewide: Use array_size() in vzalloc()
  treewide: Use array_size() in vmalloc()
  treewide: devm_kzalloc() -> devm_kcalloc()
  treewide: devm_kmalloc() -> devm_kmalloc_array()
  treewide: kvzalloc() -> kvcalloc()
  treewide: kvmalloc() -> kvmalloc_array()
  treewide: kzalloc_node() -> kcalloc_node()
  treewide: kzalloc() -> kcalloc()
  treewide: kmalloc() -> kmalloc_array()
  mm: Introduce kvcalloc()
  video: uvesafb: Fix integer overflow in allocation
  UBIFS: Fix potential integer overflow in allocation
  leds: Use struct_size() in allocation
  Convert intel uncore to struct_size
  ...
2018-06-12 18:28:00 -07:00
..
samsung memory: samsung: Add SPDX license identifiers 2018-02-12 19:55:34 +01:00
tegra memory: tegra: Remove Tegra114 SATA and AFI reset definitions 2018-05-18 22:45:01 +02:00
Kconfig memory: tegra: Squash tegra20-mc into common tegra-mc driver 2018-04-30 10:10:00 +02:00
Makefile memory: tegra: Squash tegra20-mc into common tegra-mc driver 2018-04-30 10:10:00 +02:00
Makefile.asm-offsets memory: ti-emif-sram: introduce relocatable suspend/resume handlers 2017-12-02 19:27:17 -08:00
atmel-ebi.c ARM: SoC driver updates for v4.14 2017-09-10 20:40:00 -07:00
atmel-sdramc.c memory: atmel-sdramc: use builtin_platform_driver to simplify the code 2016-10-20 11:59:57 +02:00
brcmstb_dpfe.c memory: brcmstb: dpfe: Remove need for dpfe_dev 2018-05-09 12:15:26 -07:00
da8xx-ddrctl.c memory: da8xx-ddrctl: drop the call to of_flat_dt_get_machine_name() 2016-11-23 20:26:42 +05:30
emif-asm-offsets.c ARM: OMAP2+: Fix build when using split object directories 2018-04-18 10:07:13 -07:00
emif.c memory-EMIF: Use seq_putc() in emif_regdump_show() 2018-03-05 16:21:26 -08:00
emif.h memory: ti-emif-sram: introduce relocatable suspend/resume handlers 2017-12-02 19:27:17 -08:00
fsl-corenet-cf.c memory: fsl-corenet: Fix module autoload for OF platform driver 2015-10-05 04:44:11 +01:00
fsl_ifc.c memory: Update dependency of IFC for Layerscape 2016-07-13 17:31:10 -07:00
jz4780-nemc.c memory: Convert to using %pOF instead of full_name 2017-08-16 21:37:00 +02:00
mtk-smi.c memory: mtk-smi: Degrade SMI init to module_init 2017-08-22 16:38:00 +02:00
mvebu-devbus.c memory: Convert to using %pOF instead of full_name 2017-08-16 21:37:00 +02:00
of_memory.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
of_memory.h memory: fix build when CONFIG_OF && !CONFIG_DDR 2012-09-05 11:57:19 -07:00
omap-gpmc.c memory: omap-gpmc: Avoid redundant NULL check 2018-04-24 10:30:52 +03:00
pl172.c memory: pl172: add ARM PrimeCell PL176 MPMC support 2015-09-29 22:19:02 +02:00
ti-aemif.c memory: aemif: add support for board files 2018-04-20 10:14:27 -07:00
ti-emif-pm.c memory: ti-emif-sram: remove redundant dev_err call in ti_emif_probe() 2018-03-05 16:21:31 -08:00
ti-emif-sram-pm.S memory: ti-emif-sram: introduce relocatable suspend/resume handlers 2017-12-02 19:27:17 -08:00