aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy.c
diff options
context:
space:
mode:
authorJie Gan <[email protected]>2024-08-12 12:30:43 +0800
committerSuzuki K Poulose <[email protected]>2024-08-19 16:26:13 +0100
commit14f5fa9b5fcbe2b3d5098893aba6ad62254d2ef6 (patch)
treea3be100c9817b3aa623f01c41740d14bd1b6ec61 /lib/test_fortify/write_overflow-strncpy.c
parentdaca644d0c9e06752c80e10411d89e087fa9a24e (diff)
Coresight: Set correct cs_mode for TPDM to fix disable issue
The coresight_disable_source_sysfs function should verify the mode of the coresight device before disabling the source. However, the mode for the TPDM device is always set to CS_MODE_DISABLED, resulting in the check consistently failing. As a result, TPDM cannot be properly disabled. Configure CS_MODE_SYSFS/CS_MODE_PERF during the enablement. Configure CS_MODE_DISABLED during the disablement. Fixes: b3c71626a933 ("Coresight: Add coresight TPDM source driver") Signed-off-by: Jie Gan <[email protected]> Signed-off-by: Suzuki K Poulose <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions