diff options
| author | 2026-03-27 14:24:14 +0800 | |
|---|---|---|
| committer | 2026-03-27 10:08:49 +0000 | |
| commit | 08643a8760e81fe0bf91c58f7ee9e19b4db3a24f (patch) | |
| tree | 7d775ba004429182a213d52be49b96cae6cf1e5c /include/linux/bcma/ssh:/git@git.zx2c4.com | |
| parent | MAINTAINERS: coresight: Add Leo Yan as Reviewer (diff) | |
coresight: cti: fix the check condition in inout_sel_store
Correct the upper bound from CTIINOUTEN_MAX to config->nr_trig_max,
since nr_trig_max varies across CTI devices. An out-of-bounds issue
occurs when a value greater than config->nr_trig_max is provided,
leading to unexpected errors.
Fixes: b5213376c240 ("coresight: cti: Add sysfs access to program function registers")
Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
Reviewed-by: Leo Yan <leo.yan@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20260327-fix-cti-issue-v1-1-2c8921e21fc8@oss.qualcomm.com
Diffstat (limited to 'include/linux/bcma/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
