aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2022-02-09 18:25:21 +0000
committerMauro Carvalho Chehab <[email protected]>2022-07-08 12:02:24 +0100
commit64e46b637bbafc774e58dfb57031f48f167e34d9 (patch)
treefde4ef0960a24ab60159bdadee1a9f2e7e1eed60 /tools/perf/scripts/python/bin
parentc0ab2901fc68a274b4e5e6436892806e6785babe (diff)
media: c8sectpfe: Clean up handling of *_buffer_aligned
There are a few cases where code is harder than needed to read. Improve those by: - dropping unnecessary castings (see note below) - use PTR_ALING() to be more explicit on what's going on there - use proper definitions instead of hard coded values Note, dropping castings will allow to perform an additional check that type is not changed from void * to something else, e.g. u64, which may very well break the bitmap APIs. Link: https://lore.kernel.org/linux-media/[email protected] Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Alain Volmat <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions