diff options
author | Lad Prabhakar <[email protected]> | 2021-06-17 16:54:32 +0100 |
---|---|---|
committer | Geert Uytterhoeven <[email protected]> | 2021-07-19 10:53:52 +0200 |
commit | 1606e81543f80fc3b1912957cf6d8fa62e40b8e5 (patch) | |
tree | c6b406f6895ce97a3af8cae85ef9c63071188402 /drivers/usb/cdns3/cdns3-trace.c | |
parent | e37868f14416bc5f22235dce073c496381d349c3 (diff) |
clk: renesas: rzg2l: Fix off-by-one check in rzg2l_cpg_clk_src_twocell_get()
Fix clock index out of range check for module clocks in
rzg2l_cpg_clk_src_twocell_get().
Fixes: ef3c613ccd68 ("clk: renesas: Add CPG core wrapper for RZ/G2L SoC")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Lad Prabhakar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions