linux/drivers/clk
Gabor Juhos a903cfd38d clk: qcom: mmcc-apq8084: fix terminating of frequency table arrays
The frequency table arrays are supposed to be terminated with an
empty element. Add such entry to the end of the arrays where it
is missing in order to avoid possible out-of-bound access when
the table is traversed by functions like qcom_find_freq() or
qcom_find_freq_floor().

Only compile tested.

Fixes: 2b46cd23a5 ("clk: qcom: Add APQ8084 Multimedia Clock Controller (MMCC) support")
Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20240229-freq-table-terminator-v1-6-074334f0905c@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2024-03-02 12:40:42 -06:00
..
actions
analogbits clk: analogbits: Allow building the library as a module 2023-10-23 20:26:49 -07:00
at91 clk: at91: remove unnecessary conditions 2023-10-18 17:56:13 -07:00
axis
axs10x
baikal-t1
bcm
berlin
davinci clk: Use device_get_match_data() 2023-10-23 20:16:21 -07:00
hisilicon clk: hi3620: Fix memory leak in hi3620_mmc_clk_init() 2023-12-16 17:12:29 -08:00
imgtec
imx clk: imx: pll14xx: change naming of fvco to fout 2023-12-21 15:00:00 +02:00
ingenic
keystone
mediatek clk: mediatek: add drivers for MT7988 SoC 2024-01-03 15:57:02 -08:00
meson clk: meson: g12a: add CSI & ISP gates clocks 2023-11-24 18:08:48 +01:00
microchip clk: microchip: mpfs-ccc: replace include of asm-generic/errno-base.h 2023-12-17 14:47:43 -08:00
mmp clk: mmp: pxa168: Fix memory leak in pxa168_clk_init() 2023-12-16 17:15:06 -08:00
mstar
mvebu
mxs
nuvoton
nxp
pistachio
pxa
qcom clk: qcom: mmcc-apq8084: fix terminating of frequency table arrays 2024-03-02 12:40:42 -06:00
ralink
renesas clk: renesas: r9a08g045: Add clock and reset support for ETH0 and ETH1 2023-12-13 20:05:55 +01:00
rockchip Only a couple new SoCs have support added this time, primarily for Qualcomm 2024-01-12 13:42:35 -08:00
samsung Only a couple new SoCs have support added this time, primarily for Qualcomm 2024-01-12 13:42:35 -08:00
sifive clk: sifive: Allow building the driver as a module 2023-10-23 20:27:46 -07:00
socfpga Merge branches 'clk-debugfs', 'clk-spreadtrum', 'clk-sifive', 'clk-counted' and 'clk-qcom' into clk-next 2023-10-30 14:10:51 -07:00
spear
sprd Merge branches 'clk-debugfs', 'clk-spreadtrum', 'clk-sifive', 'clk-counted' and 'clk-qcom' into clk-next 2023-10-30 14:10:51 -07:00
st
starfive clk: starfive: jh7100: Add CLK_SET_RATE_PARENT to gmac_tx 2024-01-03 15:51:58 -08:00
stm32 clk: stm32mp1: use stm32mp13 reset driver 2023-12-17 15:33:26 -08:00
sunxi
sunxi-ng clk: sunxi-ng: nkm: remove redundant initialization of tmp_parent 2023-11-18 23:20:34 +01:00
tegra
ti Herein lies a smallish collection of clk driver updates and some core 2023-10-31 18:42:56 -10:00
uniphier
ux500
versatile
visconti clk: visconti: Add bounds-checking coverage for struct visconti_pll_provider 2023-10-23 19:40:20 -07:00
x86
xilinx clocking-wizard: Add support for versal clocking wizard 2023-12-17 14:55:14 -08:00
zynq
zynqmp drivers: clk: zynqmp: update divider round rate logic 2023-12-16 17:20:14 -08:00
.kunitconfig
clk-apple-nco.c
clk-asm9260.c
clk-aspeed.c
clk-aspeed.h
clk-ast2600.c
clk-axi-clkgen.c
clk-axm5516.c
clk-bd718x7.c
clk-bm1880.c
clk-bulk.c
clk-cdce706.c
clk-cdce925.c Merge branch 'clk-cleanup' into clk-next 2023-10-30 14:12:53 -07:00
clk-clps711x.c
clk-composite.c
clk-conf.c
clk-cs2000-cp.c
clk-devres.c
clk-divider.c
clk-en7523.c
clk-fixed-factor.c
clk-fixed-mmio.c
clk-fixed-rate.c
clk-fractional-divider.c
clk-fractional-divider.h
clk-fractional-divider_test.c
clk-fsl-flexspi.c
clk-fsl-sai.c
clk-gate.c
clk-gate_test.c clk: Fix clk gate kunit test on big-endian CPUs 2023-10-27 19:12:09 -07:00
clk-gemini.c
clk-gpio.c
clk-hi655x.c
clk-highbank.c
clk-hsdk-pll.c
clk-k210.c
clk-lan966x.c
clk-lmk04832.c
clk-lochnagar.c clk: Use device_get_match_data() 2023-10-23 20:16:21 -07:00
clk-loongson1.c
clk-loongson2.c
clk-max9485.c
clk-max77686.c
clk-milbeaut.c
clk-moxart.c
clk-multiplier.c
clk-mux.c
clk-nomadik.c
clk-npcm7xx.c clk: npcm7xx: Fix incorrect kfree 2023-10-18 18:06:05 -07:00
clk-nspire.c
clk-palmas.c
clk-plldig.c
clk-pwm.c
clk-qoriq.c
clk-renesas-pcie.c clk: rs9: Add support for 9FGV0841 2023-12-17 15:26:24 -08:00
clk-rk808.c
clk-s2mps11.c
clk-scmi.c
clk-scpi.c
clk-si514.c
clk-si521xx.c Merge branch 'clk-cleanup' into clk-next 2023-10-30 14:12:53 -07:00
clk-si544.c Merge branch 'clk-cleanup' into clk-next 2023-10-30 14:12:53 -07:00
clk-si570.c Merge branch 'clk-cleanup' into clk-next 2023-10-30 14:12:53 -07:00
clk-si5341.c clk: si5341: fix an error code problem in si5341_output_clk_set_rate 2023-12-17 17:46:42 -08:00
clk-si5351.c clk: si5351: allow PLLs to be adjusted without reset 2023-12-17 22:31:36 -08:00
clk-si5351.h
clk-sp7021.c clk: sp7021: fix return value check in sp7021_clk_probe() 2023-12-16 17:10:17 -08:00
clk-sparx5.c
clk-stm32f4.c
clk-stm32h7.c
clk-tps68470.c
clk-twl.c clk: twl: add clock driver for TWL6032 2023-10-19 16:40:15 -07:00
clk-twl6040.c
clk-versaclock3.c clk: versaclock3: Drop ret variable 2023-12-17 15:56:14 -08:00
clk-versaclock5.c
clk-versaclock7.c
clk-vt8500.c
clk-wm831x.c
clk-xgene.c
clk.c Merge branches 'clk-debugfs', 'clk-spreadtrum', 'clk-sifive', 'clk-counted' and 'clk-qcom' into clk-next 2023-10-30 14:10:51 -07:00
clk.h
clk_test.c
clkdev.c
Kconfig clk: stm32mp1: move stm32mp1 clock driver into stm32 directory 2023-12-17 15:33:26 -08:00
Makefile clk: stm32mp1: move stm32mp1 clock driver into stm32 directory 2023-12-17 15:33:26 -08:00