aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorBiju Das <[email protected]>2025-02-22 14:20:07 +0000
committerGeert Uytterhoeven <[email protected]>2025-03-06 15:38:19 +0000
commit69ac2acd209a15bd7a61a15c9532a5b505252e1c (patch)
treee2bc1a7136d6599ef440b49b87961dd11d126b07 /security/selinux/hooks.c
parentclk: renesas: r7s9210: Distinguish clocks by clock type (diff)
downloadkernel-69ac2acd209a15bd7a61a15c9532a5b505252e1c.tar.gz
kernel-69ac2acd209a15bd7a61a15c9532a5b505252e1c.zip
clk: renesas: rzv2h: Adjust for CPG_BUS_m_MSTOP starting from m = 1
Avoid using the "- 1" for finding mstop_index in all functions accessing priv->mstop_count, by adjusting its pointer in rzv2h_cpg_probe(). While at it, drop the intermediate local variable index. Reported-by: Geert Uytterhoeven <[email protected]> Closes: https://lore.kernel.org/all/CAMuHMdX1gPNCFddg_DyK7Bv0BeFLOLi=5eteT_HhMH=Ph2wVvA@mail.gmail.com/ Signed-off-by: Biju Das <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions