• Linus Torvalds's avatar
    Merge tag 'overflow-v4.18-rc1-part2' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux · b08fc527
    Linus Torvalds authored
    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
      ...
    b08fc527
Name
Last commit
Last update
..
broadcom Loading commit data...
int340x_thermal Loading commit data...
qcom Loading commit data...
samsung Loading commit data...
st Loading commit data...
tegra Loading commit data...
ti-soc-thermal Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
armada_thermal.c Loading commit data...
clock_cooling.c Loading commit data...
cpu_cooling.c Loading commit data...
da9062-thermal.c Loading commit data...
db8500_thermal.c Loading commit data...
devfreq_cooling.c Loading commit data...
dove_thermal.c Loading commit data...
fair_share.c Loading commit data...
gov_bang_bang.c Loading commit data...
hisi_thermal.c Loading commit data...
imx_thermal.c Loading commit data...
intel_bxt_pmic_thermal.c Loading commit data...
intel_pch_thermal.c Loading commit data...
intel_powerclamp.c Loading commit data...
intel_quark_dts_thermal.c Loading commit data...
intel_soc_dts_iosf.c Loading commit data...
intel_soc_dts_iosf.h Loading commit data...
intel_soc_dts_thermal.c Loading commit data...
kirkwood_thermal.c Loading commit data...
max77620_thermal.c Loading commit data...
mtk_thermal.c Loading commit data...
of-thermal.c Loading commit data...
power_allocator.c Loading commit data...
qcom-spmi-temp-alarm.c Loading commit data...
qoriq_thermal.c Loading commit data...
rcar_gen3_thermal.c Loading commit data...
rcar_thermal.c Loading commit data...
rockchip_thermal.c Loading commit data...
spear_thermal.c Loading commit data...
step_wise.c Loading commit data...
tango_thermal.c Loading commit data...
thermal-generic-adc.c Loading commit data...
thermal_core.c Loading commit data...
thermal_core.h Loading commit data...
thermal_helpers.c Loading commit data...
thermal_hwmon.c Loading commit data...
thermal_hwmon.h Loading commit data...
thermal_sysfs.c Loading commit data...
uniphier_thermal.c Loading commit data...
user_space.c Loading commit data...
x86_pkg_temp_thermal.c Loading commit data...
zx2967_thermal.c Loading commit data...