linux/drivers/reset
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
..
hisilicon reset: hi6220: Set module license so that it can be loaded 2017-05-24 10:53:41 +02:00
sti reset: sti: Use devm_kcalloc() in syscfg_reset_controller_register() 2017-05-15 08:59:08 +02:00
tegra reset: Add Tegra BPMP reset driver 2016-11-18 14:34:56 +01:00
Kconfig reset: stm32mp1: Enable stm32mp1 reset driver 2018-03-27 10:44:04 +02:00
Makefile reset: stm32mp1: Enable stm32mp1 reset driver 2018-03-27 10:44:04 +02:00
core.c treewide: Use struct_size() for kmalloc()-family 2018-06-06 11:15:43 -07:00
reset-a10sr.c reset: Add Altera Arria10 SR Reset Controller 2017-03-15 12:19:11 +01:00
reset-ath79.c reset: ath79: make it explicitly non-modular 2017-03-08 09:36:45 +01:00
reset-axs10x.c ARC: reset: introduce AXS10x reset driver 2017-09-18 18:41:27 +02:00
reset-berlin.c reset: berlin: make it explicitly non-modular 2016-10-24 10:43:40 +02:00
reset-hsdk.c ARC: reset: remove the misleading v1 suffix all over 2017-09-18 13:02:03 +02:00
reset-imx7.c reset: Add i.MX7 SRC reset driver 2017-03-15 12:18:49 +01:00
reset-lantiq.c reset: Add a reset controller driver for the Lantiq XWAY based SoCs 2017-09-04 21:19:02 +02:00
reset-lpc18xx.c reset: lpc18xx: make it explicitly non-modular 2016-10-24 10:45:38 +02:00
reset-meson.c reset: meson: enable level reset support on Meson8b 2018-02-16 15:32:09 +01:00
reset-oxnas.c reset: oxnas: make it explicitly non-modular 2017-03-08 09:36:45 +01:00
reset-pistachio.c reset: pistachio: make it explicitly non-modular 2017-03-08 09:36:45 +01:00
reset-simple.c reset: simple: Enable for ASPEED systems 2018-02-20 17:42:29 +01:00
reset-simple.h reset: socfpga: use the reset-simple driver 2017-10-18 15:51:02 +02:00
reset-stm32mp1.c reset: stm32mp1: Enable stm32mp1 reset driver 2018-03-27 10:44:04 +02:00
reset-sunxi.c reset: sunxi: use reset-simple driver 2017-10-17 15:35:24 +02:00
reset-ti-sci.c reset: Add the TI SCI reset driver 2017-06-06 09:44:17 +02:00
reset-ti-syscon.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
reset-uniphier.c reset: uniphier: add LD11/LD20 stream demux system reset control 2018-04-27 11:59:05 +02:00
reset-zynq.c reset: zynq: make it explicitly non-modular 2016-10-24 10:45:32 +02:00