diff options
author | Brent Pappas <bpappas@pappasbrent.com> | 2023-01-18 17:07:39 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-02-08 08:24:35 +0100 |
commit | 2e82f054b58546efd062595dcfa448ee3d048273 (patch) | |
tree | e14bd035920f78fd3b355da127d75f418313efe2 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b3118a942c820c8d94a11ffd3d950660b3566d35 (diff) |
media: atomisp: pci: Replace bytes macros with functions
Replace the function-like macros FPNTBL_BYTES(), SCTBL_BYTES(), and
MORPH_PLANE_BYTES() with functions to comply with Linux coding style
standards.
Replace multiplication with calls to array_size() and array3_size()
to prevent accidental arithmetic overflow.
Link: https://lore.kernel.org/r/20230118160739.26059-1-bpappas@pappasbrent.com
Signed-off-by: Brent Pappas <bpappas@pappasbrent.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions