aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorRichard Fitzgerald <[email protected]>2021-06-16 15:59:01 +0100
committerVinod Koul <[email protected]>2021-06-20 16:46:14 +0530
commit031e668bc1ad7ccdbfb2b67b838bb6b7cc44ecf3 (patch)
treeeccf1efb750b9d906302484dc9adac8f01fc354c /tools/perf/scripts/python/bin
parent29a269c6f54825c643a5c35762a2829ba5be67f6 (diff)
soundwire: bus: Make sdw_nwrite() data pointer argument const
Idiomatically, write functions should take const pointers to the data buffer, as they don't change the data. They are also likely to be called from functions that receive a const data pointer. Internally the pointer is passed to function/structs shared with the read functions, requiring a cast, but this is an implementation detail that should be hidden by the public API. Signed-off-by: Richard Fitzgerald <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions