aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorShuah Khan <[email protected]>2019-06-12 20:56:20 -0400
committerMauro Carvalho Chehab <[email protected]>2019-06-21 16:45:38 -0400
commit5ca004d11bfa4f5705b2761b6de29f81914cf3fe (patch)
treead60063b22197e7d3c21c584ac513b5d06c8f602 /tools/perf/scripts/python
parenta60b42c9218b3fdd33974c94e4c023d99191a114 (diff)
media: media.h: Fix shifting signed 32-bit value by 31 bits problem
Fix MEDIA_ENT_ID_FLAG_NEXT to use "U" cast to avoid shifting signed 32-bit value by 31 bits problem. This isn't a problem for kernel builds with gcc. This could be problem since this header is part of public API which could be included for builds using compilers that don't handle this condition safely resulting in undefined behavior. Signed-off-by: Shuah Khan <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions