aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorEkansh Gupta <[email protected]>2024-06-28 12:44:57 +0100
committerGreg Kroah-Hartman <[email protected]>2024-07-03 16:17:53 +0200
commite7f0be3f09c6e955dc8009129862b562d8b64513 (patch)
treef8e94e0fa4be516ca1caea022339e9602a182d52 /scripts/generate_rust_analyzer.py
parent4cb7915f0a35e2fcc4be60b912c4be35cd830957 (diff)
misc: fastrpc: Copy the complete capability structure to user
User is passing capability ioctl structure(argp) to get DSP capabilities. This argp is copied to a local structure to get domain and attribute_id information. After getting the capability, only capability value is getting copied to user argp which will not be useful if the use is trying to get the capability by checking the capability member of fastrpc_ioctl_capability structure. Copy the complete capability structure so that user can get the capability value from the expected member of the structure. Fixes: 6c16fd8bdd40 ("misc: fastrpc: Add support to get DSP capabilities") Cc: stable <[email protected]> Signed-off-by: Ekansh Gupta <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Caleb Connolly <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions