aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMark Brown <[email protected]>2023-07-12 18:19:59 +0100
committerLinus Walleij <[email protected]>2023-07-20 21:32:36 +0200
commitf14762422003863716064830e837d845c194946d (patch)
treece1e787ccf924dfe56ed43ac9152f737e26f68b8 /tools/perf/scripts/python
parent99084881de88ffcd156b03aaeb7d4eb740005e3e (diff)
pinctrl: sunxi: Add some defensiveness for regulators array
The sunxi pinctrl has a fixed size array it uses to store regulators used in the driver. There is currently nothing that ensures that the number of elements in the array is large enough to map the regulators defined by the individual SoCs. While this is currently the case having an explicit check in there will make life easier for anyone debugging memory issues that manifest in the driver so let's add one. Signed-off-by: Mark Brown <[email protected]> Reviewed-by: Chen-Yu Tsai <[email protected]> Reviewed-by: Jernej Skrabec <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions