u-boot/drivers
Heinrich Schuchardt 947d4f132b regmap: fix range checks
On the 32bit ARM sandbox 'dm ut dm_test_devm_regmap' fails with an abort.
This is due to incorrect range checks.

On 32-bit systems the size of size_t and int is both 32 bit. The expression
(offset + val_len) is bound to overflow if offset == -1. Add an overflow
check.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-10-06 22:54:56 +02:00
..
adc
ata blk: Rename if_type to uclass_id 2022-09-25 08:30:05 -06:00
axi
bios_emulator video: Rename structs and functions to avoid VBE 2022-08-12 08:14:23 -04:00
block blk: Rename if_type to uclass_id 2022-09-25 08:30:05 -06:00
bootcount Convert CONFIG_SYS_BOOTCOUNT_LE et al to Kconfig 2022-07-07 14:01:09 -04:00
bus
button button: gpio: add DM_GPIO dependency 2022-08-23 12:39:06 +02:00
cache
clk Xilinx changes for v2023.01-rc1 (round 2) 2022-09-26 11:28:14 -04:00
core regmap: fix range checks 2022-10-06 22:54:56 +02:00
cpu dm: core: Drop ofnode_is_available() 2022-09-29 16:11:31 -04:00
crypto dm: core: Drop ofnode_is_available() 2022-09-29 16:11:31 -04:00
ddr ddr: fsl: Fix re-align of verbose DRAM information for non-SPL builds 2022-09-23 15:13:18 -04:00
demo
dfu blk: Switch over to using uclass IDs 2022-09-16 11:05:16 -04:00
dma arm: mach-k3: Rename SOC_K3_AM6 to SOC_K3_AM654 2022-07-25 13:02:04 -04:00
fastboot Audit <flash.h> inclusion 2022-08-04 16:18:47 -04:00
firmware dm: core: Drop ofnode_is_available() 2022-09-29 16:11:31 -04:00
fpga treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
fuzz
gpio Merge branch 'next' 2022-10-03 15:39:46 -04:00
hwspinlock
i2c i2c: add support for MediaTek I2C interface 2022-09-23 15:09:15 -04:00
input
iommu iommu: Add M2 support to Apple DART driver 2022-07-25 09:38:47 -04:00
led led: pwm: Use NOP uclass driver for top-level node 2022-07-08 10:56:45 -04:00
mailbox mailbox: zynqmp: Enable ipi mailbox driver for Versal NET 2022-09-26 14:23:29 +02:00
memory
misc misc: usb251xb: Support 8/16 bit device tree values 2022-09-14 15:23:03 -04:00
mmc blk: Rename if_type to uclass_id 2022-09-25 08:30:05 -06:00
mtd mtd: nand: pxa3xx: simplify ECC hardware parameters 2022-10-06 10:15:34 +02:00
mux
net dm: core: Drop ofnode_is_available() 2022-09-29 16:11:31 -04:00
nvme Merge branch 'master' into next 2022-09-19 16:07:12 -04:00
pch
pci dm: core: Drop ofnode_is_available() 2022-09-29 16:11:31 -04:00
pci_endpoint
phy Merge branch 'master' into next 2022-09-19 16:07:12 -04:00
pinctrl pinctrl: mediatek: add pinctrl driver for MT7986 SoC 2022-09-23 15:09:15 -04:00
power sandbox: power: Update PMIC driver to use log 2022-09-29 16:07:57 -04:00
pwm pwm: mtk: add support for MediaTek MT7981 SoC 2022-09-23 15:09:15 -04:00
qe powerpc: remove support for kmtergr1 and MPC8309 2022-08-20 22:45:00 -04:00
ram Merge branch 'master' into next 2022-09-19 16:07:12 -04:00
reboot-mode
remoteproc
reset reset: zynqmp: Enable reset driver for Versal NET 2022-09-26 14:23:29 +02:00
rng drivers: rng: optee_rng: register to CONFIG_OPTEE_SERVICE_DISCOVERY 2022-09-14 15:23:03 -04:00
rtc treewide: Fix Marek's name and change my e-mail address 2022-07-21 10:14:04 +02:00
scsi sandbox: Convert to use driver model for SCSI 2022-09-25 13:59:50 -06:00
serial Merge branch 'next' of https://gitlab.denx.de/u-boot/custodians/u-boot-riscv into next 2022-09-26 11:27:30 -04:00
smem
soc soc: soc_ti_k3: identify j7200 SR2.0 SoCs 2022-07-06 14:30:51 -04:00
sound sound: enable building DA7219 driver with ACPIGEN=n 2022-07-08 09:05:47 -04:00
spi Xilinx changes for v2023.01-rc1 (round 2) 2022-09-26 11:28:14 -04:00
spmi
sysinfo
sysreset RISC-V: enable CONFIG_SYSRESET_SBI by default 2022-09-06 13:00:58 +08:00
tee blk: Switch over to using uclass IDs 2022-09-16 11:05:16 -04:00
thermal
timer timer: orion-timer: Only init timer once 2022-10-06 10:15:35 +02:00
tpm tpm: Implement state command for Cr50 2022-09-03 16:59:05 +03:00
ufs
usb Merge branch 'next' 2022-10-03 15:39:46 -04:00
video cyclic: Use schedule() instead of WATCHDOG_RESET() 2022-09-18 10:26:33 +02:00
virtio blk: Rename if_type to uclass_id 2022-09-25 08:30:05 -06:00
w1
w1-eeprom
watchdog Merge branch 'next' 2022-10-03 15:39:46 -04:00
xen blk: Rename if_type to uclass_id 2022-09-25 08:30:05 -06:00
Kconfig
Makefile blk: Rename HAVE_BLOCK_DEVICE 2022-09-16 11:05:16 -04:00