aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/device.py
diff options
context:
space:
mode:
authorAmadeusz Sławiński <[email protected]>2023-01-28 00:11:07 +0100
committerMark Brown <[email protected]>2023-01-30 16:56:08 +0000
commit9e2ee00039a8ff236ae4db2366f4d2325658bea6 (patch)
tree772a2e4ee6ffdaaf5e9b68e234f928d510f482f1 /scripts/gdb/linux/device.py
parent70a7cd09a6368e0c9d351185a8fbfb3bae5a74f3 (diff)
ASoC: topology: Pass correct pointer instead of casting
Instead of passing address of structure, the containing structure is cast to target structure. While it works - the expected structure is the first field of containing one - it is bad practice, fix this by passing pointer to structure field. Reviewed-by: Cezary Rojewski <[email protected]> Reviewed-by: Ranjani Sridharan <[email protected]> Signed-off-by: Amadeusz Sławiński <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions