aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSakari Ailus <[email protected]>2022-01-10 15:53:12 +0100
committerMauro Carvalho Chehab <[email protected]>2022-01-28 19:32:49 +0100
commit24bb30c8c894ec7213ad810b46e2a6a4c12136c1 (patch)
tree8de8ccdbe71c14d4667b7de77c089c026549563b /tools/perf/scripts/python/export-to-postgresql.py
parentc748f10c213cca53ad5c761034aa0e45d2572740 (diff)
media: v4l: Avoid unaligned access warnings when printing 4cc modifiers
Pointers V4L2 pixelformat and dataformat fields in a few packed structs are directly passed to printk family of functions. This could result in an unaligned access albeit no such possibility appears to exist at the moment i.e. this clang warning appears to be a false positive. Address the warning by copying the pixelformat or dataformat value to a local variable first. Reported-by: kernel test robot <[email protected]> Fixes: e927e1e0f0dd ("v4l: ioctl: Use %p4cc printk modifier to print FourCC codes") Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions