diff options
author | Suzuki K Poulose <[email protected]> | 2023-08-16 13:51:50 +0100 |
---|---|---|
committer | Suzuki K Poulose <[email protected]> | 2023-08-17 11:43:02 +0100 |
commit | 39744738a67de9153d73e11817937c0004feab2e (patch) | |
tree | 507939f4d43aa98fa5e192deef527867fa4ac9d1 /lib/test_fortify/write_overflow-strncpy.c | |
parent | 484281bd5b989a31c1045786e326084652ea49a0 (diff) |
coresight: trbe: Allocate platform data per device
Coresight TRBE driver shares a single platform data (which is empty btw).
However, with the commit 4e8fe7e5c3a5
("coresight: Store pointers to connections rather than an array of them")
the coresight core would free up the pdata, resulting in multiple attempts
to free the same pdata for TRBE instances. Fix this by allocating a pdata per
coresight_device.
Fixes: 4e8fe7e5c3a5 ("coresight: Store pointers to connections rather than an array of them")
Link: https://lore.kernel.org/r/[email protected]
Reported-by: Junhao He <[email protected]>
Cc: Anshuman Khandual <[email protected]>
Cc: James Clark <[email protected]>
Tested-by: Junhao He <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Suzuki K Poulose <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions