android_kernel_motorola_sm6375/drivers/soc
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jason A. Donenfeld b22d683c90 ARM: ux500: do not directly dereference __iomem
commit 65b0e307a1a9193571db12910f382f84195a3d29 upstream.

Sparse reports that calling add_device_randomness() on `uid` is a
violation of address spaces. And indeed the next usage uses readl()
properly, but that was left out when passing it toadd_device_
randomness(). So instead copy the whole thing to the stack first.

Fixes: 4040d10a3d ("ARM: ux500: add DB serial number to entropy pool")
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/all/202210230819.loF90KDh-lkp@intel.com/
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Link: https://lore.kernel.org/r/20221108123755.207438-1-Jason@zx2c4.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-18 11:41:46 +01:00
..
actions
amlogic meson-mx-socinfo: Fix refcount leak in meson_mx_socinfo_init 2022-08-25 11:17:33 +02:00
aspeed
atmel
bcm soc: brcmstb: pm-arm: Fix refcount leak and __iomem leak bugs 2022-09-15 12:04:55 +02:00
dove
fsl soc: fsl: select FSL_GUTS driver for DPIO 2022-09-20 12:28:00 +02:00
gemini
imx
ixp4xx soc: ixp4xx/npe: Fix unused match warning 2022-07-21 20:59:27 +02:00
lantiq
mediatek Revert "ASoC: mediatek: Check for error clk pointer" 2022-02-08 18:24:28 +01:00
qcom soc: qcom: Select REMAP_MMIO for LLCC driver 2023-01-18 11:41:45 +01:00
renesas
rockchip soc: rockchip: Fix refcount leak in rockchip_grf_init 2022-06-14 18:11:53 +02:00
samsung
sunxi soc: sunxi: sram: Fix debugfs info for A64 SRAM C 2022-10-05 10:37:44 +02:00
tegra
ti soc: ti: knav_qmss_queue: Fix PM disable depth imbalance in knav_queue_probe 2023-01-18 11:40:50 +01:00
ux500 ARM: ux500: do not directly dereference __iomem 2023-01-18 11:41:46 +01:00
versatile
xilinx
zte
Kconfig
Makefile