diff options
| author | Brent Pappas <[email protected]> | 2023-01-18 17:07:39 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2023-02-08 08:24:35 +0100 |
| commit | 2e82f054b58546efd062595dcfa448ee3d048273 (patch) | |
| tree | e14bd035920f78fd3b355da127d75f418313efe2 /tools/perf/scripts/python/net_dropmonitor.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/[email protected]
Signed-off-by: Brent Pappas <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions