summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2026-03-01 17:49:39 +0300
committerChen-Yu Tsai <wens@kernel.org>2026-05-25 01:37:11 +0300
commit61192938a5870ac36edae81e4775b680dcf02c61 (patch)
treec6abf95599a45d9aeb386584181d5420415f1377 /include/linux/debugobjects.h
parentb708294322745ce30035d960a1118b4b8d857120 (diff)
downloadlinux-61192938a5870ac36edae81e4775b680dcf02c61.tar.xz
bus: sunxi-rsb: Always check register address validity
The register address was already validated for read operations in regmap_sunxi_rsb_reg_read before being truncated to a u8. Write operations have the same set of possible addresses, and the address is being truncated from u32 to u8 here as well, so the same check is needed. Signed-off-by: Samuel Holland <samuel@sholland.org> Signed-off-by: Andrey Skvortsov <andrej.skvortzov@gmail.com> Fixes: d787dcdb9c8f ("bus: sunxi-rsb: Add driver for Allwinner Reduced Serial Bus") Reviewed-by: Chen-Yu Tsai <wens@kernel.org> Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com> Link: https://patch.msgid.link/20260301144939.1832806-1-andrej.skvortzov@gmail.com Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions